!53 修改几处错误的函数声明

Merge pull request !53 from 白喵/master
This commit is contained in:
Sunny 2021-11-30 09:44:37 +00:00 committed by Gitee
commit 7ff0d272d6

View File

@ -1209,20 +1209,20 @@ namespace Sunny.UI.Win32
[DllImport("kernel32")] public static extern int WriteProfileSection(string lpAppName, string lpString);
[DllImport("kernel32")] public static extern int WriteProfileString(string lpszSection, string lpszKeyName, string lpszString);
[DllImport("kernel32")] public static extern int WriteTapemark(HANDLE hDevice, int dwTapemarkType, int dwTapemarkCount, int bimmediate);
[DllImport("kernel32")] public static extern int hread(HANDLE hFile, IntPtr lpBuffer, int lBytes);
[DllImport("kernel32")] public static extern int hwrite(HANDLE hFile, string lpBuffer, int lBytes);
[DllImport("kernel32")] public static extern int lclose(HANDLE hFile);
[DllImport("kernel32")] public static extern int lcreat(string lpPathName, int iAttribute);
[DllImport("kernel32")] public static extern int llseek(HANDLE hFile, int lOffset, int iOrigin);
[DllImport("kernel32")] public static extern int lopen(string lpPathName, int iReadWrite);
[DllImport("kernel32")] public static extern int lread(HANDLE hFile, IntPtr lpBuffer, int wBytes);
[DllImport("kernel32")] public static extern int _hread(HANDLE hFile, IntPtr lpBuffer, int lBytes);
[DllImport("kernel32")] public static extern int _hwrite(HANDLE hFile, string lpBuffer, int lBytes);
[DllImport("kernel32")] public static extern int _lclose(HANDLE hFile);
[DllImport("kernel32")] public static extern int _lcreat(string lpPathName, int iAttribute);
[DllImport("kernel32")] public static extern int _llseek(HANDLE hFile, int lOffset, int iOrigin);
[DllImport("kernel32")] public static extern int _lopen(string lpPathName, int iReadWrite);
[DllImport("kernel32")] public static extern int _lread(HANDLE hFile, IntPtr lpBuffer, int wBytes);
[DllImport("kernel32")] public static extern int lstrcat(string lpString1, string lpString2);
[DllImport("kernel32")] public static extern int lstrcmp(string lpString1, string lpString2);
[DllImport("kernel32")] public static extern int lstrcmpi(string lpString1, string lpString2);
[DllImport("kernel32")] public static extern int lstrcpy(string lpString1, string lpString2);
[DllImport("kernel32")] public static extern int lstrcpyn(string lpString1, string lpString2, int iMaxLength);
[DllImport("kernel32")] public static extern int lstrlen(string lpString);
[DllImport("kernel32")] public static extern int lwrite(HANDLE hFile, string lpBuffer, int wBytes);
[DllImport("kernel32")] public static extern int _lwrite(HANDLE hFile, string lpBuffer, int wBytes);
[DllImport("kernel32")] public static extern short GetSystemDefaultLangID();
[DllImport("kernel32")] public static extern short GetUserDefaultLangID();
[DllImport("kernel32")] public static extern short GlobalAddAtom(string lpString);