lib-src/ChangeLog addition:
2006-11-24 Benson Margulies <benson(a)dchbk.us>
* make-mswin-unicode.pl: allow for lower case header file names in the current platform
SDK.
src/ChangeLog addition:
2006-11-24 Benson Margulies <benson(a)dchbk.us>
* fileio.c: Change check_writable to use the full Win32 mechanism to check access.
* intl-auto-encap-win32.c: Add GetNamedSecurityInfo
* intl-auto-encap-win32.h: Add GetNamedSecurityInfo
* intl-auto-encap-win32.h Add qxeGetNamedSecurityInfo.
* intl-encap-win32.c: Add aclapi.h : GetNamedSecurityInfo
* syswindows.h: Add aclapi.h
XEmacs21-5 source patch:
Diff command: cvs -q diff -u
Files affected: src/syswindows.h
===================================================================
RCS src/intl-encap-win32.c
===================================================================
RCS src/intl-auto-encap-win32.h
===================================================================
RCS src/intl-auto-encap-win32.c
===================================================================
RCS src/fileio.c
===================================================================
RCS lib-src/make-mswin-unicode.pl
===================================================================
RCS
Index: lib-src/make-mswin-unicode.pl
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lib-src/make-mswin-unicode.pl,v
retrieving revision 1.5
diff -u -r1.5 make-mswin-unicode.pl
--- lib-src/make-mswin-unicode.pl 2004/11/04 23:05:48 1.5
+++ lib-src/make-mswin-unicode.pl 2006/11/24 23:47:58
@@ -107,7 +107,7 @@
$dir=$ENV{"MSVCDIR"} or die "Environment variable MSVCDIR undefined -
run vcvars32.bat from your MSVC installation";
$dir.='/include';
}
-die "Can't find MSVC include files in \"$dir\"" unless (-f
$dir.'/WINDOWS.H');
+die "Can't find MSVC include files in \"$dir\"" unless ((-f
$dir.'/WINDOWS.H') || (-f $dir.'/windows.h'));
open (COUT, ">$cout") or die "Can't open C output file $cout:
$!";
open (HOUT, ">$hout") or die "Can't open C output file $hout:
$!";
Index: src/fileio.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/fileio.c,v
retrieving revision 1.107
diff -u -r1.107 fileio.c
--- src/fileio.c 2006/11/01 20:25:50 1.107
+++ src/fileio.c 2006/11/24 23:48:10
@@ -2291,6 +2291,75 @@
static int
check_writable (const Ibyte *filename)
{
+#if defined(WIN32_NATIVE) || defined(CYGWIN)
+#ifdef CYGWIN
+ char filename_buffer[PATH_MAX];
+#endif
+ // Since this has to work for a directory, we can't just call 'CreateFile'
+ PSECURITY_DESCRIPTOR pDesc; /* Must be freed with LocalFree */
+ /* these need not be freed, they point into pDesc */
+ PSID psidOwner;
+ PSID psidGroup;
+ PACL pDacl;
+ PACL pSacl;
+ /* end of insides of descriptor */
+ DWORD error;
+ DWORD attributes;
+ HANDLE tokenHandle;
+ GENERIC_MAPPING genericMapping;
+ DWORD accessMask;
+ PRIVILEGE_SET PrivilegeSet;
+ DWORD dwPrivSetSize = sizeof( PRIVILEGE_SET );
+ BOOL fAccessGranted = FALSE;
+ DWORD dwAccessAllowed;
+ Extbyte *fnameext;
+
+#ifdef CYGWIN
+ cygwin_conv_to_full_win32_path(filename, filename_buffer);
+ filename = (Ibyte*)filename_buffer;
+#endif
+
+ C_STRING_TO_TSTR(filename, fnameext);
+ /* Win32 prototype lacks const. */
+ error = qxeGetNamedSecurityInfo(fnameext, SE_FILE_OBJECT,
+ DACL_SECURITY_INFORMATION|GROUP_SECURITY_INFORMATION|OWNER_SECURITY_INFORMATION,
+ &psidOwner, &psidGroup, &pDacl, &pSacl, &pDesc);
+ if(error != ERROR_SUCCESS) { // FAT?
+ attributes = qxeGetFileAttributes(filename);
+ return (attributes & FILE_ATTRIBUTE_DIRECTORY) || (0 == (attributes &
FILE_ATTRIBUTE_READONLY));
+ }
+
+ genericMapping.GenericRead = FILE_GENERIC_READ;
+ genericMapping.GenericWrite = FILE_GENERIC_WRITE;
+ genericMapping.GenericExecute = FILE_GENERIC_EXECUTE;
+ genericMapping.GenericAll = FILE_ALL_ACCESS;
+
+ if(!ImpersonateSelf(SecurityDelegation)) {
+ return 0;
+ }
+ if(!OpenThreadToken(GetCurrentThread(), TOKEN_ALL_ACCESS, TRUE, &tokenHandle)) {
+ return 0;
+ }
+
+ accessMask = GENERIC_WRITE;
+ MapGenericMask(&accessMask, &genericMapping);
+
+ if(!AccessCheck(pDesc, tokenHandle, accessMask, &genericMapping,
+ &PrivilegeSet, // receives privileges used in check
+ &dwPrivSetSize, // size of PrivilegeSet buffer
+ &dwAccessAllowed, // receives mask of allowed access rights
+ &fAccessGranted))
+ {
+ CloseHandle(tokenHandle);
+ RevertToSelf();
+ LocalFree(pDesc);
+ return 0;
+ }
+ CloseHandle(tokenHandle);
+ RevertToSelf();
+ LocalFree(pDesc);
+ return fAccessGranted == TRUE;
+#else
#ifdef HAVE_EACCESS
return (qxe_eaccess (filename, W_OK) >= 0);
#else
@@ -2300,6 +2369,7 @@
Opening with O_WRONLY could work for an ordinary file,
but would lose for directories. */
return (qxe_access (filename, W_OK) >= 0);
+#endif
#endif
}
Index: src/intl-auto-encap-win32.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/intl-auto-encap-win32.c,v
retrieving revision 1.10
diff -u -r1.10 intl-auto-encap-win32.c
--- src/intl-auto-encap-win32.c 2005/01/24 23:34:00 1.10
+++ src/intl-auto-encap-win32.c 2006/11/24 23:48:14
@@ -1,7 +1,7 @@
/* Automatically-generated Unicode-encapsulation file,
using the command
- ../lib-src/make-mswin-unicode.pl --c-output intl-auto-encap-win32.c --h-output
intl-auto-encap-win32.h intl-encap-win32.c
+ ../lib-src/make-mswin-unicode.pl --includedir
/cygdrive/c/vs2003/VC7/PlatformSDK/Include --c-output intl-auto-encap-win32.c --h-output
intl-auto-encap-win32.h intl-encap-win32.c
Do not edit. See `make-mswin-unicode.pl'.
*/
@@ -13,125 +13,10 @@
/*----------------------------------------------------------------------*/
-/* Processing file WINCON.H */
-/*----------------------------------------------------------------------*/
-
-BOOL
-qxePeekConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD
lpNumberOfEventsRead)
-{
- if (XEUNICODE_P)
- return PeekConsoleInputW (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead);
- else
- return PeekConsoleInputA (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead);
-}
-
-BOOL
-qxeReadConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD
lpNumberOfEventsRead)
-{
- if (XEUNICODE_P)
- return ReadConsoleInputW (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead);
- else
- return ReadConsoleInputA (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead);
-}
-
-BOOL
-qxeWriteConsoleInput (HANDLE hConsoleInput, CONST INPUT_RECORD * lpBuffer, DWORD nLength,
LPDWORD lpNumberOfEventsWritten)
-{
- if (XEUNICODE_P)
- return WriteConsoleInputW (hConsoleInput, lpBuffer, nLength,
lpNumberOfEventsWritten);
- else
- return WriteConsoleInputA (hConsoleInput, lpBuffer, nLength,
lpNumberOfEventsWritten);
-}
-
-BOOL
-qxeReadConsoleOutput (HANDLE hConsoleOutput, PCHAR_INFO lpBuffer, COORD dwBufferSize,
COORD dwBufferCoord, PSMALL_RECT lpReadRegion)
-{
- if (XEUNICODE_P)
- return ReadConsoleOutputW (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord,
lpReadRegion);
- else
- return ReadConsoleOutputA (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord,
lpReadRegion);
-}
-
-BOOL
-qxeWriteConsoleOutput (HANDLE hConsoleOutput, CONST CHAR_INFO * lpBuffer, COORD
dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpWriteRegion)
-{
- if (XEUNICODE_P)
- return WriteConsoleOutputW (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord,
lpWriteRegion);
- else
- return WriteConsoleOutputA (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord,
lpWriteRegion);
-}
-
-BOOL
-qxeReadConsoleOutputCharacter (HANDLE hConsoleOutput, Extbyte * lpCharacter, DWORD
nLength, COORD dwReadCoord, LPDWORD lpNumberOfCharsRead)
-{
- if (XEUNICODE_P)
- return ReadConsoleOutputCharacterW (hConsoleOutput, (LPWSTR) lpCharacter, nLength,
dwReadCoord, lpNumberOfCharsRead);
- else
- return ReadConsoleOutputCharacterA (hConsoleOutput, (LPSTR) lpCharacter, nLength,
dwReadCoord, lpNumberOfCharsRead);
-}
-
-BOOL
-qxeWriteConsoleOutputCharacter (HANDLE hConsoleOutput, const Extbyte * lpCharacter, DWORD
nLength, COORD dwWriteCoord, LPDWORD lpNumberOfCharsWritten)
-{
- if (XEUNICODE_P)
- return WriteConsoleOutputCharacterW (hConsoleOutput, (LPCWSTR) lpCharacter, nLength,
dwWriteCoord, lpNumberOfCharsWritten);
- else
- return WriteConsoleOutputCharacterA (hConsoleOutput, (LPCSTR) lpCharacter, nLength,
dwWriteCoord, lpNumberOfCharsWritten);
-}
-
-/* Error if FillConsoleOutputCharacter used: split CHAR */
-
-BOOL
-qxeScrollConsoleScreenBuffer (HANDLE hConsoleOutput, CONST SMALL_RECT *
lpScrollRectangle, CONST SMALL_RECT * lpClipRectangle, COORD dwDestinationOrigin, CONST
CHAR_INFO * lpFill)
-{
- if (XEUNICODE_P)
- return ScrollConsoleScreenBufferW (hConsoleOutput, lpScrollRectangle,
lpClipRectangle, dwDestinationOrigin, lpFill);
- else
- return ScrollConsoleScreenBufferA (hConsoleOutput, lpScrollRectangle,
lpClipRectangle, dwDestinationOrigin, lpFill);
-}
-
-DWORD
-qxeGetConsoleTitle (Extbyte * lpConsoleTitle, DWORD nSize)
-{
- if (XEUNICODE_P)
- return GetConsoleTitleW ((LPWSTR) lpConsoleTitle, nSize);
- else
- return GetConsoleTitleA ((LPSTR) lpConsoleTitle, nSize);
-}
-
-BOOL
-qxeSetConsoleTitle (const Extbyte * lpConsoleTitle)
-{
- if (XEUNICODE_P)
- return SetConsoleTitleW ((LPCWSTR) lpConsoleTitle);
- else
- return SetConsoleTitleA ((LPCSTR) lpConsoleTitle);
-}
-
-BOOL
-qxeReadConsole (HANDLE hConsoleInput, LPVOID lpBuffer, DWORD nNumberOfCharsToRead,
LPDWORD lpNumberOfCharsRead, LPVOID lpReserved)
-{
- if (XEUNICODE_P)
- return ReadConsoleW (hConsoleInput, lpBuffer, nNumberOfCharsToRead,
lpNumberOfCharsRead, lpReserved);
- else
- return ReadConsoleA (hConsoleInput, lpBuffer, nNumberOfCharsToRead,
lpNumberOfCharsRead, lpReserved);
-}
-
-BOOL
-qxeWriteConsole (HANDLE hConsoleOutput, CONST VOID * lpBuffer, DWORD
nNumberOfCharsToWrite, LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved)
-{
- if (XEUNICODE_P)
- return WriteConsoleW (hConsoleOutput, lpBuffer, nNumberOfCharsToWrite,
lpNumberOfCharsWritten, lpReserved);
- else
- return WriteConsoleA (hConsoleOutput, lpBuffer, nNumberOfCharsToWrite,
lpNumberOfCharsWritten, lpReserved);
-}
-
-
-/*----------------------------------------------------------------------*/
/* Processing file SHELLAPI.H */
/*----------------------------------------------------------------------*/
-UINT
+UINT
qxeDragQueryFile (HDROP arg1, UINT arg2, Extbyte * arg3, UINT arg4)
{
if (XEUNICODE_P)
@@ -140,7 +25,7 @@
return DragQueryFileA (arg1, arg2, (LPSTR) arg3, arg4);
}
-HINSTANCE
+HINSTANCE
qxeShellExecute (HWND hwnd, const Extbyte * lpOperation, const Extbyte * lpFile, const
Extbyte * lpParameters, const Extbyte * lpDirectory, INT nShowCmd)
{
if (XEUNICODE_P)
@@ -149,7 +34,7 @@
return ShellExecuteA (hwnd, (LPCSTR) lpOperation, (LPCSTR) lpFile, (LPCSTR)
lpParameters, (LPCSTR) lpDirectory, nShowCmd);
}
-HINSTANCE
+HINSTANCE
qxeFindExecutable (const Extbyte * lpFile, const Extbyte * lpDirectory, Extbyte *
lpResult)
{
if (XEUNICODE_P)
@@ -158,9 +43,7 @@
return FindExecutableA ((LPCSTR) lpFile, (LPCSTR) lpDirectory, (LPSTR) lpResult);
}
-/* Error if CommandLineToArgv used: Unicode-only */
-
-INT
+INT
qxeShellAbout (HWND hWnd, const Extbyte * szApp, const Extbyte * szOtherStuff, HICON
hIcon)
{
if (XEUNICODE_P)
@@ -169,7 +52,7 @@
return ShellAboutA (hWnd, (LPCSTR) szApp, (LPCSTR) szOtherStuff, hIcon);
}
-HICON
+HICON
qxeExtractAssociatedIcon (HINSTANCE hInst, Extbyte * lpIconPath, LPWORD lpiIcon)
{
if (XEUNICODE_P)
@@ -178,7 +61,7 @@
return ExtractAssociatedIconA (hInst, (LPSTR) lpIconPath, lpiIcon);
}
-HICON
+HICON
qxeExtractIcon (HINSTANCE hInst, const Extbyte * lpszExeFileName, UINT nIconIndex)
{
if (XEUNICODE_P)
@@ -190,19 +73,17 @@
#if !defined (CYGWIN_HEADERS)
/* NOTE: NT 4.0+ only */
-DWORD
-qxeDoEnvironmentSubst (Extbyte * szString, UINT cbString)
+DWORD
+qxeDoEnvironmentSubst (Extbyte * szString, UINT cchString)
{
if (XEUNICODE_P)
- return DoEnvironmentSubstW ((LPWSTR) szString, cbString);
+ return DoEnvironmentSubstW ((LPWSTR) szString, cchString);
else
- return DoEnvironmentSubstA ((LPSTR) szString, cbString);
+ return DoEnvironmentSubstA ((LPSTR) szString, cchString);
}
#endif /* !defined (CYGWIN_HEADERS) */
-/* Error if FindEnvironmentString used: causes link error; NT 4.0+ only */
-
/* Skipping ExtractIconEx because NT 4.0+ only, error in Cygwin prototype */
/* NOTE: NT 4.0+ only */
@@ -259,8 +140,6 @@
/* Skipping SHGetFileInfo because split-sized SHFILEINFO, NT 4.0+ only */
-/* Error if SHGetDiskFreeSpace used: causes link error; NT 4.0+ only */
-
#if !defined (CYGWIN_HEADERS)
/* NOTE: NT 4.0+ only */
@@ -298,12 +177,12 @@
/* NOTE: #### problems with DEVMODE pointer in PRINTER_INFO_2 */
BOOL
-qxeEnumPrinters (DWORD Flags, Extbyte * Name, DWORD Level, LPBYTE pPrinterEnum, DWORD
cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
+qxeEnumPrinters (IN DWORD Flags, IN Extbyte * Name, IN DWORD Level, OUT LPBYTE
pPrinterEnum, IN DWORD cbBuf, OUT LPDWORD pcbNeeded, OUT LPDWORD pcReturned)
{
if (XEUNICODE_P)
- return EnumPrintersW (Flags, (LPWSTR) Name, Level, pPrinterEnum, cbBuf, pcbNeeded,
pcReturned);
+ return EnumPrintersW (Flags, (IN LPWSTR) Name, Level, pPrinterEnum, cbBuf, pcbNeeded,
pcReturned);
else
- return EnumPrintersA (Flags, (LPSTR) Name, Level, pPrinterEnum, cbBuf, pcbNeeded,
pcReturned);
+ return EnumPrintersA (Flags, (IN LPSTR) Name, Level, pPrinterEnum, cbBuf, pcbNeeded,
pcReturned);
}
#endif /* defined (HAVE_MS_WINDOWS) */
@@ -400,24 +279,6 @@
#if defined (HAVE_MS_WINDOWS)
-/* Error if AddPerMachineConnection used: not used, complicated interface with split
structures */
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-
-/* Error if DeletePerMachineConnection used: not used, complicated interface with split
structures */
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-
-/* Error if EnumPerMachineConnections used: not used, complicated interface with split
structures */
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-
/* Error if AddPrintProcessor used: not used, complicated interface with split structures
*/
#endif /* defined (HAVE_MS_WINDOWS) */
@@ -644,415 +505,176 @@
#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
-
-/* Error if SetPrinterHTMLView used: not used, complicated interface with split
structures */
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-
-/* Error if GetPrinterHTMLView used: not used, complicated interface with split
structures */
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
/*----------------------------------------------------------------------*/
-/* Processing file WINNETWK.H */
+/* Processing file WINUSER.H */
/*----------------------------------------------------------------------*/
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetAddConnection (const Extbyte * lpRemoteName, const Extbyte * lpPassword, const
Extbyte * lpLocalName)
+int
+qxewvsprintf (OUT Extbyte * arg1, IN const Extbyte * arg2, IN va_list arglist)
{
if (XEUNICODE_P)
- return WNetAddConnectionW ((LPCWSTR) lpRemoteName, (LPCWSTR) lpPassword, (LPCWSTR)
lpLocalName);
+ return wvsprintfW ((OUT LPWSTR) arg1, (IN LPCWSTR) arg2, arglist);
else
- return WNetAddConnectionA ((LPCSTR) lpRemoteName, (LPCSTR) lpPassword, (LPCSTR)
lpLocalName);
+ return wvsprintfA ((OUT LPSTR) arg1, (IN LPCSTR) arg2, arglist);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetAddConnection2 (LPNETRESOURCEW lpNetResource, const Extbyte * lpPassword, const
Extbyte * lpUserName, DWORD dwFlags)
+HKL
+qxeLoadKeyboardLayout (IN const Extbyte * pwszKLID, IN UINT Flags)
{
if (XEUNICODE_P)
- return WNetAddConnection2W (lpNetResource, (LPCWSTR) lpPassword, (LPCWSTR)
lpUserName, dwFlags);
+ return LoadKeyboardLayoutW ((IN LPCWSTR) pwszKLID, Flags);
else
- return WNetAddConnection2A ((LPNETRESOURCEA) lpNetResource, (LPCSTR) lpPassword,
(LPCSTR) lpUserName, dwFlags);
+ return LoadKeyboardLayoutA ((IN LPCSTR) pwszKLID, Flags);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetAddConnection3 (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte *
lpPassword, const Extbyte * lpUserName, DWORD dwFlags)
+BOOL
+qxeGetKeyboardLayoutName (OUT Extbyte * pwszKLID)
{
if (XEUNICODE_P)
- return WNetAddConnection3W (hwndOwner, lpNetResource, (LPCWSTR) lpPassword, (LPCWSTR)
lpUserName, dwFlags);
+ return GetKeyboardLayoutNameW ((OUT LPWSTR) pwszKLID);
else
- return WNetAddConnection3A (hwndOwner, (LPNETRESOURCEA) lpNetResource, (LPCSTR)
lpPassword, (LPCSTR) lpUserName, dwFlags);
+ return GetKeyboardLayoutNameA ((OUT LPSTR) pwszKLID);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
+/* Error if CreateDesktop used: split-sized LPDEVMODE */
-DWORD
-qxeWNetCancelConnection (const Extbyte * lpName, BOOL fForce)
+HDESK
+qxeOpenDesktop (IN const Extbyte * lpszDesktop, IN DWORD dwFlags, IN BOOL fInherit, IN
ACCESS_MASK dwDesiredAccess)
{
if (XEUNICODE_P)
- return WNetCancelConnectionW ((LPCWSTR) lpName, fForce);
+ return OpenDesktopW ((IN LPCWSTR) lpszDesktop, dwFlags, fInherit, dwDesiredAccess);
else
- return WNetCancelConnectionA ((LPCSTR) lpName, fForce);
+ return OpenDesktopA ((IN LPCSTR) lpszDesktop, dwFlags, fInherit, dwDesiredAccess);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetCancelConnection2 (const Extbyte * lpName, DWORD dwFlags, BOOL fForce)
+/* NOTE: // callback fun differs only in string pointer type */
+BOOL
+qxeEnumDesktops (IN HWINSTA hwinsta, IN DESKTOPENUMPROCW lpEnumFunc, IN LPARAM lParam)
{
if (XEUNICODE_P)
- return WNetCancelConnection2W ((LPCWSTR) lpName, dwFlags, fForce);
+ return EnumDesktopsW (hwinsta, lpEnumFunc, lParam);
else
- return WNetCancelConnection2A ((LPCSTR) lpName, dwFlags, fForce);
+ return EnumDesktopsA (hwinsta, (IN DESKTOPENUMPROCA) lpEnumFunc, lParam);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetGetConnection (const Extbyte * lpLocalName, Extbyte * lpRemoteName, LPDWORD
lpnLength)
+HWINSTA
+qxeCreateWindowStation (IN const Extbyte * lpwinsta, IN DWORD dwReserved, IN ACCESS_MASK
dwDesiredAccess, IN LPSECURITY_ATTRIBUTES lpsa)
{
if (XEUNICODE_P)
- return WNetGetConnectionW ((LPCWSTR) lpLocalName, (LPWSTR) lpRemoteName, lpnLength);
+ return CreateWindowStationW ((IN LPCWSTR) lpwinsta, dwReserved, dwDesiredAccess,
lpsa);
else
- return WNetGetConnectionA ((LPCSTR) lpLocalName, (LPSTR) lpRemoteName, lpnLength);
+ return CreateWindowStationA ((IN LPCSTR) lpwinsta, dwReserved, dwDesiredAccess,
lpsa);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetUseConnection (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte *
lpUserID, const Extbyte * lpPassword, DWORD dwFlags, Extbyte * lpAccessName, LPDWORD
lpBufferSize, LPDWORD lpResult)
+HWINSTA
+qxeOpenWindowStation (IN const Extbyte * lpszWinSta, IN BOOL fInherit, IN ACCESS_MASK
dwDesiredAccess)
{
if (XEUNICODE_P)
- return WNetUseConnectionW (hwndOwner, lpNetResource, (LPCWSTR) lpUserID, (LPCWSTR)
lpPassword, dwFlags, (LPWSTR) lpAccessName, lpBufferSize, lpResult);
+ return OpenWindowStationW ((IN LPCWSTR) lpszWinSta, fInherit, dwDesiredAccess);
else
- return WNetUseConnectionA (hwndOwner, (LPNETRESOURCEA) lpNetResource, (LPCSTR)
lpUserID, (LPCSTR) lpPassword, dwFlags, (LPSTR) lpAccessName, lpBufferSize, lpResult);
+ return OpenWindowStationA ((IN LPCSTR) lpszWinSta, fInherit, dwDesiredAccess);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-/* NOTE: contains split-simple LPNETRESOURCE */
-DWORD
-qxeWNetConnectionDialog1 (LPCONNECTDLGSTRUCTW lpConnDlgStruct)
+/* NOTE: // callback fun differs only in string pointer type */
+BOOL
+qxeEnumWindowStations (IN WINSTAENUMPROCW lpEnumFunc, IN LPARAM lParam)
{
if (XEUNICODE_P)
- return WNetConnectionDialog1W (lpConnDlgStruct);
+ return EnumWindowStationsW (lpEnumFunc, lParam);
else
- return WNetConnectionDialog1A ((LPCONNECTDLGSTRUCTA) lpConnDlgStruct);
+ return EnumWindowStationsA ((IN WINSTAENUMPROCA) lpEnumFunc, lParam);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetDisconnectDialog1 (LPDISCDLGSTRUCTW lpConnDlgStruct)
+BOOL
+qxeGetUserObjectInformation (IN HANDLE hObj, IN int nIndex, OUT PVOID pvInfo, IN DWORD
nLength, OUT LPDWORD lpnLengthNeeded)
{
if (XEUNICODE_P)
- return WNetDisconnectDialog1W (lpConnDlgStruct);
+ return GetUserObjectInformationW (hObj, nIndex, pvInfo, nLength, lpnLengthNeeded);
else
- return WNetDisconnectDialog1A ((LPDISCDLGSTRUCTA) lpConnDlgStruct);
+ return GetUserObjectInformationA (hObj, nIndex, pvInfo, nLength, lpnLengthNeeded);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
-
-DWORD
-qxeWNetOpenEnum (DWORD dwScope, DWORD dwType, DWORD dwUsage, LPNETRESOURCEW
lpNetResource, LPHANDLE lphEnum)
+BOOL
+qxeSetUserObjectInformation (IN HANDLE hObj, IN int nIndex, IN PVOID pvInfo, IN DWORD
nLength)
{
if (XEUNICODE_P)
- return WNetOpenEnumW (dwScope, dwType, dwUsage, lpNetResource, lphEnum);
+ return SetUserObjectInformationW (hObj, nIndex, pvInfo, nLength);
else
- return WNetOpenEnumA (dwScope, dwType, dwUsage, (LPNETRESOURCEA) lpNetResource,
lphEnum);
+ return SetUserObjectInformationA (hObj, nIndex, pvInfo, nLength);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetEnumResource (HANDLE hEnum, LPDWORD lpcCount, LPVOID lpBuffer, LPDWORD
lpBufferSize)
+UINT
+qxeRegisterWindowMessage (IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return WNetEnumResourceW (hEnum, lpcCount, lpBuffer, lpBufferSize);
+ return RegisterWindowMessageW ((IN LPCWSTR) lpString);
else
- return WNetEnumResourceA (hEnum, lpcCount, lpBuffer, lpBufferSize);
+ return RegisterWindowMessageA ((IN LPCSTR) lpString);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetGetUniversalName (const Extbyte * lpLocalPath, DWORD dwInfoLevel, LPVOID lpBuffer,
LPDWORD lpBufferSize)
+BOOL
+qxeGetMessage (OUT LPMSG lpMsg, IN HWND hWnd, IN UINT wMsgFilterMin, IN UINT
wMsgFilterMax)
{
if (XEUNICODE_P)
- return WNetGetUniversalNameW ((LPCWSTR) lpLocalPath, dwInfoLevel, lpBuffer,
lpBufferSize);
+ return GetMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
else
- return WNetGetUniversalNameA ((LPCSTR) lpLocalPath, dwInfoLevel, lpBuffer,
lpBufferSize);
+ return GetMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetGetUser (const Extbyte * lpName, Extbyte * lpUserName, LPDWORD lpnLength)
+LRESULT
+qxeDispatchMessage (IN CONST MSG * lpMsg)
{
if (XEUNICODE_P)
- return WNetGetUserW ((LPCWSTR) lpName, (LPWSTR) lpUserName, lpnLength);
+ return DispatchMessageW (lpMsg);
else
- return WNetGetUserA ((LPCSTR) lpName, (LPSTR) lpUserName, lpnLength);
+ return DispatchMessageA (lpMsg);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetGetProviderName (DWORD dwNetType, Extbyte * lpProviderName, LPDWORD lpBufferSize)
+BOOL
+qxePeekMessage (OUT LPMSG lpMsg, IN HWND hWnd, IN UINT wMsgFilterMin, IN UINT
wMsgFilterMax, IN UINT wRemoveMsg)
{
if (XEUNICODE_P)
- return WNetGetProviderNameW (dwNetType, (LPWSTR) lpProviderName, lpBufferSize);
+ return PeekMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
else
- return WNetGetProviderNameA (dwNetType, (LPSTR) lpProviderName, lpBufferSize);
+ return PeekMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
+/* Skipping SendMessage because split messages and structures */
-DWORD
-qxeWNetGetNetworkInformation (const Extbyte * lpProvider, LPNETINFOSTRUCT
lpNetInfoStruct)
+LRESULT
+qxeSendMessageTimeout (IN HWND hWnd, IN UINT Msg, IN WPARAM wParam, IN LPARAM lParam, IN
UINT fuFlags, IN UINT uTimeout, OUT PDWORD_PTR lpdwResult)
{
if (XEUNICODE_P)
- return WNetGetNetworkInformationW ((LPCWSTR) lpProvider, lpNetInfoStruct);
+ return SendMessageTimeoutW (hWnd, Msg, wParam, lParam, fuFlags, uTimeout,
lpdwResult);
else
- return WNetGetNetworkInformationA ((LPCSTR) lpProvider, lpNetInfoStruct);
+ return SendMessageTimeoutA (hWnd, Msg, wParam, lParam, fuFlags, uTimeout,
lpdwResult);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeWNetGetLastError (LPDWORD lpError, Extbyte * lpErrorBuf, DWORD nErrorBufSize, Extbyte
* lpNameBuf, DWORD nNameBufSize)
+BOOL
+qxeSendNotifyMessage (IN HWND hWnd, IN UINT Msg, IN WPARAM wParam, IN LPARAM lParam)
{
if (XEUNICODE_P)
- return WNetGetLastErrorW (lpError, (LPWSTR) lpErrorBuf, nErrorBufSize, (LPWSTR)
lpNameBuf, nNameBufSize);
+ return SendNotifyMessageW (hWnd, Msg, wParam, lParam);
else
- return WNetGetLastErrorA (lpError, (LPSTR) lpErrorBuf, nErrorBufSize, (LPSTR)
lpNameBuf, nNameBufSize);
+ return SendNotifyMessageA (hWnd, Msg, wParam, lParam);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-DWORD
-qxeMultinetGetConnectionPerformance (LPNETRESOURCEW lpNetResource, LPNETCONNECTINFOSTRUCT
lpNetConnectInfoStruct)
+BOOL
+qxeSendMessageCallback (IN HWND hWnd, IN UINT Msg, IN WPARAM wParam, IN LPARAM lParam, IN
SENDASYNCPROC lpResultCallBack, IN ULONG_PTR dwData)
{
if (XEUNICODE_P)
- return MultinetGetConnectionPerformanceW (lpNetResource, lpNetConnectInfoStruct);
+ return SendMessageCallbackW (hWnd, Msg, wParam, lParam, lpResultCallBack, dwData);
else
- return MultinetGetConnectionPerformanceA ((LPNETRESOURCEA) lpNetResource,
lpNetConnectInfoStruct);
+ return SendMessageCallbackA (hWnd, Msg, wParam, lParam, lpResultCallBack, dwData);
}
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-
-/*----------------------------------------------------------------------*/
-/* Processing file WINUSER.H */
-/*----------------------------------------------------------------------*/
-
-int
-qxewvsprintf (Extbyte * arg1, const Extbyte * arg2, va_list arglist)
-{
- if (XEUNICODE_P)
- return wvsprintfW ((LPWSTR) arg1, (LPCWSTR) arg2, arglist);
- else
- return wvsprintfA ((LPSTR) arg1, (LPCSTR) arg2, arglist);
-}
-
-HKL
-qxeLoadKeyboardLayout (const Extbyte * pwszKLID, UINT Flags)
-{
- if (XEUNICODE_P)
- return LoadKeyboardLayoutW ((LPCWSTR) pwszKLID, Flags);
- else
- return LoadKeyboardLayoutA ((LPCSTR) pwszKLID, Flags);
-}
-
-BOOL
-qxeGetKeyboardLayoutName (Extbyte * pwszKLID)
-{
- if (XEUNICODE_P)
- return GetKeyboardLayoutNameW ((LPWSTR) pwszKLID);
- else
- return GetKeyboardLayoutNameA ((LPSTR) pwszKLID);
-}
-
-/* Error if CreateDesktop used: split-sized LPDEVMODE */
-
-HDESK
-qxeOpenDesktop (Extbyte * lpszDesktop, DWORD dwFlags, BOOL fInherit, ACCESS_MASK
dwDesiredAccess)
-{
- if (XEUNICODE_P)
- return OpenDesktopW ((LPWSTR) lpszDesktop, dwFlags, fInherit, dwDesiredAccess);
- else
- return OpenDesktopA ((LPSTR) lpszDesktop, dwFlags, fInherit, dwDesiredAccess);
-}
-
-/* NOTE: // callback fun differs only in string pointer type */
-BOOL
-qxeEnumDesktops (HWINSTA hwinsta, DESKTOPENUMPROCW lpEnumFunc, LPARAM lParam)
-{
- if (XEUNICODE_P)
- return EnumDesktopsW (hwinsta, lpEnumFunc, lParam);
- else
- return EnumDesktopsA (hwinsta, (DESKTOPENUMPROCA) lpEnumFunc, lParam);
-}
-
-HWINSTA
-qxeCreateWindowStation (Extbyte * lpwinsta, DWORD dwReserved, ACCESS_MASK
dwDesiredAccess, LPSECURITY_ATTRIBUTES lpsa)
-{
- if (XEUNICODE_P)
- return CreateWindowStationW ((LPWSTR) lpwinsta, dwReserved, dwDesiredAccess, lpsa);
- else
- return CreateWindowStationA ((LPSTR) lpwinsta, dwReserved, dwDesiredAccess, lpsa);
-}
-
-HWINSTA
-qxeOpenWindowStation (Extbyte * lpszWinSta, BOOL fInherit, ACCESS_MASK dwDesiredAccess)
-{
- if (XEUNICODE_P)
- return OpenWindowStationW ((LPWSTR) lpszWinSta, fInherit, dwDesiredAccess);
- else
- return OpenWindowStationA ((LPSTR) lpszWinSta, fInherit, dwDesiredAccess);
-}
-
-/* NOTE: // callback fun differs only in string pointer type */
-BOOL
-qxeEnumWindowStations (WINSTAENUMPROCW lpEnumFunc, LPARAM lParam)
-{
- if (XEUNICODE_P)
- return EnumWindowStationsW (lpEnumFunc, lParam);
- else
- return EnumWindowStationsA ((WINSTAENUMPROCA) lpEnumFunc, lParam);
-}
-
-BOOL
-qxeGetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength,
LPDWORD lpnLengthNeeded)
-{
- if (XEUNICODE_P)
- return GetUserObjectInformationW (hObj, nIndex, pvInfo, nLength, lpnLengthNeeded);
- else
- return GetUserObjectInformationA (hObj, nIndex, pvInfo, nLength, lpnLengthNeeded);
-}
-
-BOOL
-qxeSetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength)
-{
- if (XEUNICODE_P)
- return SetUserObjectInformationW (hObj, nIndex, pvInfo, nLength);
- else
- return SetUserObjectInformationA (hObj, nIndex, pvInfo, nLength);
-}
-
-UINT
-qxeRegisterWindowMessage (const Extbyte * lpString)
-{
- if (XEUNICODE_P)
- return RegisterWindowMessageW ((LPCWSTR) lpString);
- else
- return RegisterWindowMessageA ((LPCSTR) lpString);
-}
-
-BOOL
-qxeGetMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax)
-{
- if (XEUNICODE_P)
- return GetMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
- else
- return GetMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
-}
-
-LONG
-qxeDispatchMessage (CONST MSG * lpMsg)
-{
- if (XEUNICODE_P)
- return DispatchMessageW (lpMsg);
- else
- return DispatchMessageA (lpMsg);
-}
-
-BOOL
-qxePeekMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT
wRemoveMsg)
-{
- if (XEUNICODE_P)
- return PeekMessageW (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
- else
- return PeekMessageA (lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
-}
-
-/* Skipping SendMessage because split messages and structures */
-
-LRESULT
-qxeSendMessageTimeout (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, UINT fuFlags,
UINT uTimeout, LPDWORD lpdwResult)
-{
- if (XEUNICODE_P)
- return SendMessageTimeoutW (hWnd, Msg, wParam, lParam, fuFlags, uTimeout,
lpdwResult);
- else
- return SendMessageTimeoutA (hWnd, Msg, wParam, lParam, fuFlags, uTimeout,
lpdwResult);
-}
-
-BOOL
-qxeSendNotifyMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
-{
- if (XEUNICODE_P)
- return SendNotifyMessageW (hWnd, Msg, wParam, lParam);
- else
- return SendNotifyMessageA (hWnd, Msg, wParam, lParam);
-}
-
-BOOL
-qxeSendMessageCallback (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, SENDASYNCPROC
lpResultCallBack, DWORD dwData)
-{
- if (XEUNICODE_P)
- return SendMessageCallbackW (hWnd, Msg, wParam, lParam, lpResultCallBack, dwData);
- else
- return SendMessageCallbackA (hWnd, Msg, wParam, lParam, lpResultCallBack, dwData);
-}
-
/* Error if BroadcastSystemMessage used: win95 version not split; NT 4.0+ only */
/* Error if RegisterDeviceNotification used: NT 5.0+ only */
BOOL
-qxePostMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
+qxePostMessage (IN HWND hWnd, IN UINT Msg, IN WPARAM wParam, IN LPARAM lParam)
{
if (XEUNICODE_P)
return PostMessageW (hWnd, Msg, wParam, lParam);
@@ -1061,7 +683,7 @@
}
BOOL
-qxePostThreadMessage (DWORD idThread, UINT Msg, WPARAM wParam, LPARAM lParam)
+qxePostThreadMessage (IN DWORD idThread, IN UINT Msg, IN WPARAM wParam, IN LPARAM
lParam)
{
if (XEUNICODE_P)
return PostThreadMessageW (idThread, Msg, wParam, lParam);
@@ -1080,93 +702,93 @@
/* Skipping UnregisterClass because need to intercept for reasons related to
RegisterClass */
BOOL
-qxeGetClassInfo (HINSTANCE hInstance, const Extbyte * lpClassName, LPWNDCLASSW
lpWndClass)
+qxeGetClassInfo (IN HINSTANCE hInstance, IN const Extbyte * lpClassName, OUT LPWNDCLASSW
lpWndClass)
{
if (XEUNICODE_P)
- return GetClassInfoW (hInstance, (LPCWSTR) lpClassName, lpWndClass);
+ return GetClassInfoW (hInstance, (IN LPCWSTR) lpClassName, lpWndClass);
else
- return GetClassInfoA (hInstance, (LPCSTR) lpClassName, (LPWNDCLASSA) lpWndClass);
+ return GetClassInfoA (hInstance, (IN LPCSTR) lpClassName, (OUT LPWNDCLASSA)
lpWndClass);
}
/* Skipping RegisterClassEx because need to intercept so we can provide our own window
procedure and handle split notify messages; split-simple WNDCLASSEX; NT 4.0+ only */
/* NOTE: NT 4.0+ only */
BOOL
-qxeGetClassInfoEx (HINSTANCE arg1, const Extbyte * arg2, LPWNDCLASSEXW arg3)
+qxeGetClassInfoEx (IN HINSTANCE arg1, IN const Extbyte * arg2, OUT LPWNDCLASSEXW arg3)
{
if (XEUNICODE_P)
- return GetClassInfoExW (arg1, (LPCWSTR) arg2, arg3);
+ return GetClassInfoExW (arg1, (IN LPCWSTR) arg2, arg3);
else
- return GetClassInfoExA (arg1, (LPCSTR) arg2, (LPWNDCLASSEXA) arg3);
+ return GetClassInfoExA (arg1, (IN LPCSTR) arg2, (OUT LPWNDCLASSEXA) arg3);
}
HWND
-qxeCreateWindowEx (DWORD dwExStyle, const Extbyte * lpClassName, const Extbyte *
lpWindowName, DWORD dwStyle, int X, int Y, int nWidth, int nHeight, HWND hWndParent, HMENU
hMenu, HINSTANCE hInstance, LPVOID lpParam)
+qxeCreateWindowEx (IN DWORD dwExStyle, IN const Extbyte * lpClassName, IN const Extbyte *
lpWindowName, IN DWORD dwStyle, IN int X, IN int Y, IN int nWidth, IN int nHeight, IN HWND
hWndParent, IN HMENU hMenu, IN HINSTANCE hInstance, IN LPVOID lpParam)
{
if (XEUNICODE_P)
- return CreateWindowExW (dwExStyle, (LPCWSTR) lpClassName, (LPCWSTR) lpWindowName,
dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam);
+ return CreateWindowExW (dwExStyle, (IN LPCWSTR) lpClassName, (IN LPCWSTR)
lpWindowName, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam);
else
- return CreateWindowExA (dwExStyle, (LPCSTR) lpClassName, (LPCSTR) lpWindowName,
dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam);
+ return CreateWindowExA (dwExStyle, (IN LPCSTR) lpClassName, (IN LPCSTR) lpWindowName,
dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam);
}
HWND
-qxeCreateDialogParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND
hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam)
+qxeCreateDialogParam (IN HINSTANCE hInstance, IN const Extbyte * lpTemplateName, IN HWND
hWndParent, IN DLGPROC lpDialogFunc, IN LPARAM dwInitParam)
{
if (XEUNICODE_P)
- return CreateDialogParamW (hInstance, (LPCWSTR) lpTemplateName, hWndParent,
lpDialogFunc, dwInitParam);
+ return CreateDialogParamW (hInstance, (IN LPCWSTR) lpTemplateName, hWndParent,
lpDialogFunc, dwInitParam);
else
- return CreateDialogParamA (hInstance, (LPCSTR) lpTemplateName, hWndParent,
lpDialogFunc, dwInitParam);
+ return CreateDialogParamA (hInstance, (IN LPCSTR) lpTemplateName, hWndParent,
lpDialogFunc, dwInitParam);
}
/* NOTE: error in Cygwin prototype (no split) but fixable with typedef */
HWND
-qxeCreateDialogIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW lpTemplate, HWND
hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam)
+qxeCreateDialogIndirectParam (IN HINSTANCE hInstance, IN LPCDLGTEMPLATEW lpTemplate, IN
HWND hWndParent, IN DLGPROC lpDialogFunc, IN LPARAM dwInitParam)
{
if (XEUNICODE_P)
return CreateDialogIndirectParamW (hInstance, lpTemplate, hWndParent, lpDialogFunc,
dwInitParam);
else
- return CreateDialogIndirectParamA (hInstance, (LPCDLGTEMPLATEA) lpTemplate,
hWndParent, lpDialogFunc, dwInitParam);
+ return CreateDialogIndirectParamA (hInstance, (IN LPCDLGTEMPLATEA) lpTemplate,
hWndParent, lpDialogFunc, dwInitParam);
}
-int
-qxeDialogBoxParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND hWndParent,
DLGPROC lpDialogFunc, LPARAM dwInitParam)
+INT_PTR
+qxeDialogBoxParam (IN HINSTANCE hInstance, IN const Extbyte * lpTemplateName, IN HWND
hWndParent, IN DLGPROC lpDialogFunc, IN LPARAM dwInitParam)
{
if (XEUNICODE_P)
- return DialogBoxParamW (hInstance, (LPCWSTR) lpTemplateName, hWndParent,
lpDialogFunc, dwInitParam);
+ return DialogBoxParamW (hInstance, (IN LPCWSTR) lpTemplateName, hWndParent,
lpDialogFunc, dwInitParam);
else
- return DialogBoxParamA (hInstance, (LPCSTR) lpTemplateName, hWndParent, lpDialogFunc,
dwInitParam);
+ return DialogBoxParamA (hInstance, (IN LPCSTR) lpTemplateName, hWndParent,
lpDialogFunc, dwInitParam);
}
/* NOTE: error in Cygwin prototype (no split) but fixable with typedef */
-int
-qxeDialogBoxIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW hDialogTemplate, HWND
hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam)
+INT_PTR
+qxeDialogBoxIndirectParam (IN HINSTANCE hInstance, IN LPCDLGTEMPLATEW hDialogTemplate, IN
HWND hWndParent, IN DLGPROC lpDialogFunc, IN LPARAM dwInitParam)
{
if (XEUNICODE_P)
return DialogBoxIndirectParamW (hInstance, hDialogTemplate, hWndParent, lpDialogFunc,
dwInitParam);
else
- return DialogBoxIndirectParamA (hInstance, (LPCDLGTEMPLATEA) hDialogTemplate,
hWndParent, lpDialogFunc, dwInitParam);
+ return DialogBoxIndirectParamA (hInstance, (IN LPCDLGTEMPLATEA) hDialogTemplate,
hWndParent, lpDialogFunc, dwInitParam);
}
BOOL
-qxeSetDlgItemText (HWND hDlg, int nIDDlgItem, const Extbyte * lpString)
+qxeSetDlgItemText (IN HWND hDlg, IN int nIDDlgItem, IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return SetDlgItemTextW (hDlg, nIDDlgItem, (LPCWSTR) lpString);
+ return SetDlgItemTextW (hDlg, nIDDlgItem, (IN LPCWSTR) lpString);
else
- return SetDlgItemTextA (hDlg, nIDDlgItem, (LPCSTR) lpString);
+ return SetDlgItemTextA (hDlg, nIDDlgItem, (IN LPCSTR) lpString);
}
UINT
-qxeGetDlgItemText (HWND hDlg, int nIDDlgItem, Extbyte * lpString, int nMaxCount)
+qxeGetDlgItemText (IN HWND hDlg, IN int nIDDlgItem, OUT Extbyte * lpString, IN int
nMaxCount)
{
if (XEUNICODE_P)
- return GetDlgItemTextW (hDlg, nIDDlgItem, (LPWSTR) lpString, nMaxCount);
+ return GetDlgItemTextW (hDlg, nIDDlgItem, (OUT LPWSTR) lpString, nMaxCount);
else
- return GetDlgItemTextA (hDlg, nIDDlgItem, (LPSTR) lpString, nMaxCount);
+ return GetDlgItemTextA (hDlg, nIDDlgItem, (OUT LPSTR) lpString, nMaxCount);
}
-LONG
-qxeSendDlgItemMessage (HWND hDlg, int nIDDlgItem, UINT Msg, WPARAM wParam, LPARAM
lParam)
+LRESULT
+qxeSendDlgItemMessage (IN HWND hDlg, IN int nIDDlgItem, IN UINT Msg, IN WPARAM wParam, IN
LPARAM lParam)
{
if (XEUNICODE_P)
return SendDlgItemMessageW (hDlg, nIDDlgItem, Msg, wParam, lParam);
@@ -1179,7 +801,7 @@
#if !defined (CYGWIN_HEADERS)
BOOL
-qxeCallMsgFilter (LPMSG lpMsg, int nCode)
+qxeCallMsgFilter (IN LPMSG lpMsg, IN int nCode)
{
if (XEUNICODE_P)
return CallMsgFilterW (lpMsg, nCode);
@@ -1190,111 +812,111 @@
#endif /* !defined (CYGWIN_HEADERS) */
UINT
-qxeRegisterClipboardFormat (const Extbyte * lpszFormat)
+qxeRegisterClipboardFormat (IN const Extbyte * lpszFormat)
{
if (XEUNICODE_P)
- return RegisterClipboardFormatW ((LPCWSTR) lpszFormat);
+ return RegisterClipboardFormatW ((IN LPCWSTR) lpszFormat);
else
- return RegisterClipboardFormatA ((LPCSTR) lpszFormat);
+ return RegisterClipboardFormatA ((IN LPCSTR) lpszFormat);
}
int
-qxeGetClipboardFormatName (UINT format, Extbyte * lpszFormatName, int cchMaxCount)
+qxeGetClipboardFormatName (IN UINT format, OUT Extbyte * lpszFormatName, IN int
cchMaxCount)
{
if (XEUNICODE_P)
- return GetClipboardFormatNameW (format, (LPWSTR) lpszFormatName, cchMaxCount);
+ return GetClipboardFormatNameW (format, (OUT LPWSTR) lpszFormatName, cchMaxCount);
else
- return GetClipboardFormatNameA (format, (LPSTR) lpszFormatName, cchMaxCount);
+ return GetClipboardFormatNameA (format, (OUT LPSTR) lpszFormatName, cchMaxCount);
}
BOOL
-qxeCharToOem (const Extbyte * lpszSrc, LPSTR lpszDst)
+qxeCharToOem (IN const Extbyte * lpszSrc, OUT LPSTR lpszDst)
{
if (XEUNICODE_P)
- return CharToOemW ((LPCWSTR) lpszSrc, lpszDst);
+ return CharToOemW ((IN LPCWSTR) lpszSrc, lpszDst);
else
- return CharToOemA ((LPCSTR) lpszSrc, lpszDst);
+ return CharToOemA ((IN LPCSTR) lpszSrc, lpszDst);
}
BOOL
-qxeOemToChar (LPCSTR lpszSrc, Extbyte * lpszDst)
+qxeOemToChar (IN LPCSTR lpszSrc, OUT Extbyte * lpszDst)
{
if (XEUNICODE_P)
- return OemToCharW (lpszSrc, (LPWSTR) lpszDst);
+ return OemToCharW (lpszSrc, (OUT LPWSTR) lpszDst);
else
- return OemToCharA (lpszSrc, (LPSTR) lpszDst);
+ return OemToCharA (lpszSrc, (OUT LPSTR) lpszDst);
}
BOOL
-qxeCharToOemBuff (const Extbyte * lpszSrc, LPSTR lpszDst, DWORD cchDstLength)
+qxeCharToOemBuff (IN const Extbyte * lpszSrc, OUT LPSTR lpszDst, IN DWORD cchDstLength)
{
if (XEUNICODE_P)
- return CharToOemBuffW ((LPCWSTR) lpszSrc, lpszDst, cchDstLength);
+ return CharToOemBuffW ((IN LPCWSTR) lpszSrc, lpszDst, cchDstLength);
else
- return CharToOemBuffA ((LPCSTR) lpszSrc, lpszDst, cchDstLength);
+ return CharToOemBuffA ((IN LPCSTR) lpszSrc, lpszDst, cchDstLength);
}
BOOL
-qxeOemToCharBuff (LPCSTR lpszSrc, Extbyte * lpszDst, DWORD cchDstLength)
+qxeOemToCharBuff (IN LPCSTR lpszSrc, OUT Extbyte * lpszDst, IN DWORD cchDstLength)
{
if (XEUNICODE_P)
- return OemToCharBuffW (lpszSrc, (LPWSTR) lpszDst, cchDstLength);
+ return OemToCharBuffW (lpszSrc, (OUT LPWSTR) lpszDst, cchDstLength);
else
- return OemToCharBuffA (lpszSrc, (LPSTR) lpszDst, cchDstLength);
+ return OemToCharBuffA (lpszSrc, (OUT LPSTR) lpszDst, cchDstLength);
}
Extbyte *
-qxeCharUpper (Extbyte * lpsz)
+qxeCharUpper (IN OUT Extbyte * lpsz)
{
if (XEUNICODE_P)
- return (Extbyte *) CharUpperW ((LPWSTR) lpsz);
+ return (Extbyte *) CharUpperW ((IN OUT LPWSTR) lpsz);
else
- return (Extbyte *) CharUpperA ((LPSTR) lpsz);
+ return (Extbyte *) CharUpperA ((IN OUT LPSTR) lpsz);
}
DWORD
-qxeCharUpperBuff (Extbyte * lpsz, DWORD cchLength)
+qxeCharUpperBuff (IN OUT Extbyte * lpsz, IN DWORD cchLength)
{
if (XEUNICODE_P)
- return CharUpperBuffW ((LPWSTR) lpsz, cchLength);
+ return CharUpperBuffW ((IN OUT LPWSTR) lpsz, cchLength);
else
- return CharUpperBuffA ((LPSTR) lpsz, cchLength);
+ return CharUpperBuffA ((IN OUT LPSTR) lpsz, cchLength);
}
Extbyte *
-qxeCharLower (Extbyte * lpsz)
+qxeCharLower (IN OUT Extbyte * lpsz)
{
if (XEUNICODE_P)
- return (Extbyte *) CharLowerW ((LPWSTR) lpsz);
+ return (Extbyte *) CharLowerW ((IN OUT LPWSTR) lpsz);
else
- return (Extbyte *) CharLowerA ((LPSTR) lpsz);
+ return (Extbyte *) CharLowerA ((IN OUT LPSTR) lpsz);
}
DWORD
-qxeCharLowerBuff (Extbyte * lpsz, DWORD cchLength)
+qxeCharLowerBuff (IN OUT Extbyte * lpsz, IN DWORD cchLength)
{
if (XEUNICODE_P)
- return CharLowerBuffW ((LPWSTR) lpsz, cchLength);
+ return CharLowerBuffW ((IN OUT LPWSTR) lpsz, cchLength);
else
- return CharLowerBuffA ((LPSTR) lpsz, cchLength);
+ return CharLowerBuffA ((IN OUT LPSTR) lpsz, cchLength);
}
Extbyte *
-qxeCharNext (const Extbyte * lpsz)
+qxeCharNext (IN const Extbyte * lpsz)
{
if (XEUNICODE_P)
- return (Extbyte *) CharNextW ((LPCWSTR) lpsz);
+ return (Extbyte *) CharNextW ((IN LPCWSTR) lpsz);
else
- return (Extbyte *) CharNextA ((LPCSTR) lpsz);
+ return (Extbyte *) CharNextA ((IN LPCSTR) lpsz);
}
Extbyte *
-qxeCharPrev (const Extbyte * lpszStart, const Extbyte * lpszCurrent)
+qxeCharPrev (IN const Extbyte * lpszStart, IN const Extbyte * lpszCurrent)
{
if (XEUNICODE_P)
- return (Extbyte *) CharPrevW ((LPCWSTR) lpszStart, (LPCWSTR) lpszCurrent);
+ return (Extbyte *) CharPrevW ((IN LPCWSTR) lpszStart, (IN LPCWSTR) lpszCurrent);
else
- return (Extbyte *) CharPrevA ((LPCSTR) lpszStart, (LPCSTR) lpszCurrent);
+ return (Extbyte *) CharPrevA ((IN LPCSTR) lpszStart, (IN LPCSTR) lpszCurrent);
}
/* Error if IsCharAlpha used: split CHAR */
@@ -1306,12 +928,12 @@
/* Error if IsCharLower used: split CHAR */
int
-qxeGetKeyNameText (LONG lParam, Extbyte * lpString, int nSize)
+qxeGetKeyNameText (IN LONG lParam, OUT Extbyte * lpString, IN int nSize)
{
if (XEUNICODE_P)
- return GetKeyNameTextW (lParam, (LPWSTR) lpString, nSize);
+ return GetKeyNameTextW (lParam, (OUT LPWSTR) lpString, nSize);
else
- return GetKeyNameTextA (lParam, (LPSTR) lpString, nSize);
+ return GetKeyNameTextA (lParam, (OUT LPSTR) lpString, nSize);
}
/* Skipping VkKeyScan because split CHAR */
@@ -1319,7 +941,7 @@
/* Error if VkKeyScanEx used: split CHAR; NT 4.0+ only */
UINT
-qxeMapVirtualKey (UINT uCode, UINT uMapType)
+qxeMapVirtualKey (IN UINT uCode, IN UINT uMapType)
{
if (XEUNICODE_P)
return MapVirtualKeyW (uCode, uMapType);
@@ -1329,7 +951,7 @@
/* NOTE: NT 4.0+ only */
UINT
-qxeMapVirtualKeyEx (UINT uCode, UINT uMapType, HKL dwhkl)
+qxeMapVirtualKeyEx (IN UINT uCode, IN UINT uMapType, IN HKL dwhkl)
{
if (XEUNICODE_P)
return MapVirtualKeyExW (uCode, uMapType, dwhkl);
@@ -1338,16 +960,16 @@
}
HACCEL
-qxeLoadAccelerators (HINSTANCE hInstance, const Extbyte * lpTableName)
+qxeLoadAccelerators (IN HINSTANCE hInstance, IN const Extbyte * lpTableName)
{
if (XEUNICODE_P)
- return LoadAcceleratorsW (hInstance, (LPCWSTR) lpTableName);
+ return LoadAcceleratorsW (hInstance, (IN LPCWSTR) lpTableName);
else
- return LoadAcceleratorsA (hInstance, (LPCSTR) lpTableName);
+ return LoadAcceleratorsA (hInstance, (IN LPCSTR) lpTableName);
}
HACCEL
-qxeCreateAcceleratorTable (LPACCEL arg1, int arg2)
+qxeCreateAcceleratorTable (IN LPACCEL arg1, IN int arg2)
{
if (XEUNICODE_P)
return CreateAcceleratorTableW (arg1, arg2);
@@ -1356,7 +978,7 @@
}
int
-qxeCopyAcceleratorTable (HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries)
+qxeCopyAcceleratorTable (IN HACCEL hAccelSrc, OUT LPACCEL lpAccelDst, IN int
cAccelEntries)
{
if (XEUNICODE_P)
return CopyAcceleratorTableW (hAccelSrc, lpAccelDst, cAccelEntries);
@@ -1365,7 +987,7 @@
}
int
-qxeTranslateAccelerator (HWND hWnd, HACCEL hAccTable, LPMSG lpMsg)
+qxeTranslateAccelerator (IN HWND hWnd, IN HACCEL hAccTable, IN LPMSG lpMsg)
{
if (XEUNICODE_P)
return TranslateAcceleratorW (hWnd, hAccTable, lpMsg);
@@ -1374,119 +996,119 @@
}
HMENU
-qxeLoadMenu (HINSTANCE hInstance, const Extbyte * lpMenuName)
+qxeLoadMenu (IN HINSTANCE hInstance, IN const Extbyte * lpMenuName)
{
if (XEUNICODE_P)
- return LoadMenuW (hInstance, (LPCWSTR) lpMenuName);
+ return LoadMenuW (hInstance, (IN LPCWSTR) lpMenuName);
else
- return LoadMenuA (hInstance, (LPCSTR) lpMenuName);
+ return LoadMenuA (hInstance, (IN LPCSTR) lpMenuName);
}
HMENU
-qxeLoadMenuIndirect (CONST MENUTEMPLATEW * lpMenuTemplate)
+qxeLoadMenuIndirect (IN CONST MENUTEMPLATEW * lpMenuTemplate)
{
if (XEUNICODE_P)
return LoadMenuIndirectW (lpMenuTemplate);
else
- return LoadMenuIndirectA ((CONST MENUTEMPLATEA *) lpMenuTemplate);
+ return LoadMenuIndirectA ((IN CONST MENUTEMPLATEA *) lpMenuTemplate);
}
BOOL
-qxeChangeMenu (HMENU hMenu, UINT cmd, const Extbyte * lpszNewItem, UINT cmdInsert, UINT
flags)
+qxeChangeMenu (IN HMENU hMenu, IN UINT cmd, IN const Extbyte * lpszNewItem, IN UINT
cmdInsert, IN UINT flags)
{
if (XEUNICODE_P)
- return ChangeMenuW (hMenu, cmd, (LPCWSTR) lpszNewItem, cmdInsert, flags);
+ return ChangeMenuW (hMenu, cmd, (IN LPCWSTR) lpszNewItem, cmdInsert, flags);
else
- return ChangeMenuA (hMenu, cmd, (LPCSTR) lpszNewItem, cmdInsert, flags);
+ return ChangeMenuA (hMenu, cmd, (IN LPCSTR) lpszNewItem, cmdInsert, flags);
}
int
-qxeGetMenuString (HMENU hMenu, UINT uIDItem, Extbyte * lpString, int nMaxCount, UINT
uFlag)
+qxeGetMenuString (IN HMENU hMenu, IN UINT uIDItem, OUT Extbyte * lpString, IN int
nMaxCount, IN UINT uFlag)
{
if (XEUNICODE_P)
- return GetMenuStringW (hMenu, uIDItem, (LPWSTR) lpString, nMaxCount, uFlag);
+ return GetMenuStringW (hMenu, uIDItem, (OUT LPWSTR) lpString, nMaxCount, uFlag);
else
- return GetMenuStringA (hMenu, uIDItem, (LPSTR) lpString, nMaxCount, uFlag);
+ return GetMenuStringA (hMenu, uIDItem, (OUT LPSTR) lpString, nMaxCount, uFlag);
}
BOOL
-qxeInsertMenu (HMENU hMenu, UINT uPosition, UINT uFlags, UINT uIDNewItem, const Extbyte *
lpNewItem)
+qxeInsertMenu (IN HMENU hMenu, IN UINT uPosition, IN UINT uFlags, IN UINT_PTR uIDNewItem,
IN const Extbyte * lpNewItem)
{
if (XEUNICODE_P)
- return InsertMenuW (hMenu, uPosition, uFlags, uIDNewItem, (LPCWSTR) lpNewItem);
+ return InsertMenuW (hMenu, uPosition, uFlags, uIDNewItem, (IN LPCWSTR) lpNewItem);
else
- return InsertMenuA (hMenu, uPosition, uFlags, uIDNewItem, (LPCSTR) lpNewItem);
+ return InsertMenuA (hMenu, uPosition, uFlags, uIDNewItem, (IN LPCSTR) lpNewItem);
}
BOOL
-qxeAppendMenu (HMENU hMenu, UINT uFlags, UINT uIDNewItem, const Extbyte * lpNewItem)
+qxeAppendMenu (IN HMENU hMenu, IN UINT uFlags, IN UINT_PTR uIDNewItem, IN const Extbyte *
lpNewItem)
{
if (XEUNICODE_P)
- return AppendMenuW (hMenu, uFlags, uIDNewItem, (LPCWSTR) lpNewItem);
+ return AppendMenuW (hMenu, uFlags, uIDNewItem, (IN LPCWSTR) lpNewItem);
else
- return AppendMenuA (hMenu, uFlags, uIDNewItem, (LPCSTR) lpNewItem);
+ return AppendMenuA (hMenu, uFlags, uIDNewItem, (IN LPCSTR) lpNewItem);
}
BOOL
-qxeModifyMenu (HMENU hMnu, UINT uPosition, UINT uFlags, UINT uIDNewItem, const Extbyte *
lpNewItem)
+qxeModifyMenu (IN HMENU hMnu, IN UINT uPosition, IN UINT uFlags, IN UINT_PTR uIDNewItem,
IN const Extbyte * lpNewItem)
{
if (XEUNICODE_P)
- return ModifyMenuW (hMnu, uPosition, uFlags, uIDNewItem, (LPCWSTR) lpNewItem);
+ return ModifyMenuW (hMnu, uPosition, uFlags, uIDNewItem, (IN LPCWSTR) lpNewItem);
else
- return ModifyMenuA (hMnu, uPosition, uFlags, uIDNewItem, (LPCSTR) lpNewItem);
+ return ModifyMenuA (hMnu, uPosition, uFlags, uIDNewItem, (IN LPCSTR) lpNewItem);
}
/* NOTE: NT 4.0+ only */
BOOL
-qxeInsertMenuItem (HMENU arg1, UINT arg2, BOOL arg3, LPCMENUITEMINFOW arg4)
+qxeInsertMenuItem (IN HMENU arg1, IN UINT arg2, IN BOOL arg3, IN LPCMENUITEMINFOW arg4)
{
if (XEUNICODE_P)
return InsertMenuItemW (arg1, arg2, arg3, arg4);
else
- return InsertMenuItemA (arg1, arg2, arg3, (LPCMENUITEMINFOA) arg4);
+ return InsertMenuItemA (arg1, arg2, arg3, (IN LPCMENUITEMINFOA) arg4);
}
/* NOTE: NT 4.0+ only */
BOOL
-qxeGetMenuItemInfo (HMENU arg1, UINT arg2, BOOL arg3, LPMENUITEMINFOW arg4)
+qxeGetMenuItemInfo (IN HMENU arg1, IN UINT arg2, IN BOOL arg3, IN OUT LPMENUITEMINFOW
arg4)
{
if (XEUNICODE_P)
return GetMenuItemInfoW (arg1, arg2, arg3, arg4);
else
- return GetMenuItemInfoA (arg1, arg2, arg3, (LPMENUITEMINFOA) arg4);
+ return GetMenuItemInfoA (arg1, arg2, arg3, (IN OUT LPMENUITEMINFOA) arg4);
}
/* NOTE: NT 4.0+ only */
BOOL
-qxeSetMenuItemInfo (HMENU arg1, UINT arg2, BOOL arg3, LPCMENUITEMINFOW arg4)
+qxeSetMenuItemInfo (IN HMENU arg1, IN UINT arg2, IN BOOL arg3, IN LPCMENUITEMINFOW arg4)
{
if (XEUNICODE_P)
return SetMenuItemInfoW (arg1, arg2, arg3, arg4);
else
- return SetMenuItemInfoA (arg1, arg2, arg3, (LPCMENUITEMINFOA) arg4);
+ return SetMenuItemInfoA (arg1, arg2, arg3, (IN LPCMENUITEMINFOA) arg4);
}
int
-qxeDrawText (HDC hDC, const Extbyte * lpString, int nCount, LPRECT lpRect, UINT uFormat)
+qxeDrawText (IN HDC hDC, IN const Extbyte * lpString, IN int nCount, IN OUT LPRECT
lpRect, IN UINT uFormat)
{
if (XEUNICODE_P)
- return DrawTextW (hDC, (LPCWSTR) lpString, nCount, lpRect, uFormat);
+ return DrawTextW (hDC, (IN LPCWSTR) lpString, nCount, lpRect, uFormat);
else
- return DrawTextA (hDC, (LPCSTR) lpString, nCount, lpRect, uFormat);
+ return DrawTextA (hDC, (IN LPCSTR) lpString, nCount, lpRect, uFormat);
}
/* NOTE: NT 4.0+ only */
int
-qxeDrawTextEx (HDC arg1, Extbyte * arg2, int arg3, LPRECT arg4, UINT arg5,
LPDRAWTEXTPARAMS arg6)
+qxeDrawTextEx (IN HDC arg1, IN OUT Extbyte * arg2, IN int arg3, IN OUT LPRECT arg4, IN
UINT arg5, IN LPDRAWTEXTPARAMS arg6)
{
if (XEUNICODE_P)
- return DrawTextExW (arg1, (LPWSTR) arg2, arg3, arg4, arg5, arg6);
+ return DrawTextExW (arg1, (IN OUT LPWSTR) arg2, arg3, arg4, arg5, arg6);
else
- return DrawTextExA (arg1, (LPSTR) arg2, arg3, arg4, arg5, arg6);
+ return DrawTextExA (arg1, (IN OUT LPSTR) arg2, arg3, arg4, arg5, arg6);
}
BOOL
-qxeGrayString (HDC hDC, HBRUSH hBrush, GRAYSTRINGPROC lpOutputFunc, LPARAM lpData, int
nCount, int X, int Y, int nWidth, int nHeight)
+qxeGrayString (IN HDC hDC, IN HBRUSH hBrush, IN GRAYSTRINGPROC lpOutputFunc, IN LPARAM
lpData, IN int nCount, IN int X, IN int Y, IN int nWidth, IN int nHeight)
{
if (XEUNICODE_P)
return GrayStringW (hDC, hBrush, lpOutputFunc, lpData, nCount, X, Y, nWidth,
nHeight);
@@ -1496,7 +1118,7 @@
/* NOTE: NT 4.0+ only */
BOOL
-qxeDrawState (HDC arg1, HBRUSH arg2, DRAWSTATEPROC arg3, LPARAM arg4, WPARAM arg5, int
arg6, int arg7, int arg8, int arg9, UINT arg10)
+qxeDrawState (IN HDC arg1, IN HBRUSH arg2, IN DRAWSTATEPROC arg3, IN LPARAM arg4, IN
WPARAM arg5, IN int arg6, IN int arg7, IN int arg8, IN int arg9, IN UINT arg10)
{
if (XEUNICODE_P)
return DrawStateW (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
@@ -1505,90 +1127,90 @@
}
LONG
-qxeTabbedTextOut (HDC hDC, int X, int Y, const Extbyte * lpString, int nCount, int
nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin)
+qxeTabbedTextOut (IN HDC hDC, IN int X, IN int Y, IN const Extbyte * lpString, IN int
nCount, IN int nTabPositions, IN CONST INT * lpnTabStopPositions, IN int nTabOrigin)
{
if (XEUNICODE_P)
- return TabbedTextOutW (hDC, X, Y, (LPCWSTR) lpString, nCount, nTabPositions,
lpnTabStopPositions, nTabOrigin);
+ return TabbedTextOutW (hDC, X, Y, (IN LPCWSTR) lpString, nCount, nTabPositions,
lpnTabStopPositions, nTabOrigin);
else
- return TabbedTextOutA (hDC, X, Y, (LPCSTR) lpString, nCount, nTabPositions,
lpnTabStopPositions, nTabOrigin);
+ return TabbedTextOutA (hDC, X, Y, (IN LPCSTR) lpString, nCount, nTabPositions,
lpnTabStopPositions, nTabOrigin);
}
DWORD
-qxeGetTabbedTextExtent (HDC hDC, const Extbyte * lpString, int nCount, int nTabPositions,
LPINT lpnTabStopPositions)
+qxeGetTabbedTextExtent (IN HDC hDC, IN const Extbyte * lpString, IN int nCount, IN int
nTabPositions, IN CONST INT * lpnTabStopPositions)
{
if (XEUNICODE_P)
- return GetTabbedTextExtentW (hDC, (LPCWSTR) lpString, nCount, nTabPositions,
lpnTabStopPositions);
+ return GetTabbedTextExtentW (hDC, (IN LPCWSTR) lpString, nCount, nTabPositions,
lpnTabStopPositions);
else
- return GetTabbedTextExtentA (hDC, (LPCSTR) lpString, nCount, nTabPositions,
lpnTabStopPositions);
+ return GetTabbedTextExtentA (hDC, (IN LPCSTR) lpString, nCount, nTabPositions,
lpnTabStopPositions);
}
BOOL
-qxeSetProp (HWND hWnd, const Extbyte * lpString, HANDLE hData)
+qxeSetProp (IN HWND hWnd, IN const Extbyte * lpString, IN HANDLE hData)
{
if (XEUNICODE_P)
- return SetPropW (hWnd, (LPCWSTR) lpString, hData);
+ return SetPropW (hWnd, (IN LPCWSTR) lpString, hData);
else
- return SetPropA (hWnd, (LPCSTR) lpString, hData);
+ return SetPropA (hWnd, (IN LPCSTR) lpString, hData);
}
HANDLE
-qxeGetProp (HWND hWnd, const Extbyte * lpString)
+qxeGetProp (IN HWND hWnd, IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return GetPropW (hWnd, (LPCWSTR) lpString);
+ return GetPropW (hWnd, (IN LPCWSTR) lpString);
else
- return GetPropA (hWnd, (LPCSTR) lpString);
+ return GetPropA (hWnd, (IN LPCSTR) lpString);
}
HANDLE
-qxeRemoveProp (HWND hWnd, const Extbyte * lpString)
+qxeRemoveProp (IN HWND hWnd, IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return RemovePropW (hWnd, (LPCWSTR) lpString);
+ return RemovePropW (hWnd, (IN LPCWSTR) lpString);
else
- return RemovePropA (hWnd, (LPCSTR) lpString);
+ return RemovePropA (hWnd, (IN LPCSTR) lpString);
}
/* NOTE: // callback fun differs only in string pointer type */
int
-qxeEnumPropsEx (HWND hWnd, PROPENUMPROCEXW lpEnumFunc, LPARAM lParam)
+qxeEnumPropsEx (IN HWND hWnd, IN PROPENUMPROCEXW lpEnumFunc, IN LPARAM lParam)
{
if (XEUNICODE_P)
return EnumPropsExW (hWnd, lpEnumFunc, lParam);
else
- return EnumPropsExA (hWnd, (PROPENUMPROCEXA) lpEnumFunc, lParam);
+ return EnumPropsExA (hWnd, (IN PROPENUMPROCEXA) lpEnumFunc, lParam);
}
/* NOTE: // callback fun differs only in string pointer type */
int
-qxeEnumProps (HWND hWnd, PROPENUMPROCW lpEnumFunc)
+qxeEnumProps (IN HWND hWnd, IN PROPENUMPROCW lpEnumFunc)
{
if (XEUNICODE_P)
return EnumPropsW (hWnd, lpEnumFunc);
else
- return EnumPropsA (hWnd, (PROPENUMPROCA) lpEnumFunc);
+ return EnumPropsA (hWnd, (IN PROPENUMPROCA) lpEnumFunc);
}
BOOL
-qxeSetWindowText (HWND hWnd, const Extbyte * lpString)
+qxeSetWindowText (IN HWND hWnd, IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return SetWindowTextW (hWnd, (LPCWSTR) lpString);
+ return SetWindowTextW (hWnd, (IN LPCWSTR) lpString);
else
- return SetWindowTextA (hWnd, (LPCSTR) lpString);
+ return SetWindowTextA (hWnd, (IN LPCSTR) lpString);
}
int
-qxeGetWindowText (HWND hWnd, Extbyte * lpString, int nMaxCount)
+qxeGetWindowText (IN HWND hWnd, OUT Extbyte * lpString, IN int nMaxCount)
{
if (XEUNICODE_P)
- return GetWindowTextW (hWnd, (LPWSTR) lpString, nMaxCount);
+ return GetWindowTextW (hWnd, (OUT LPWSTR) lpString, nMaxCount);
else
- return GetWindowTextA (hWnd, (LPSTR) lpString, nMaxCount);
+ return GetWindowTextA (hWnd, (OUT LPSTR) lpString, nMaxCount);
}
int
-qxeGetWindowTextLength (HWND hWnd)
+qxeGetWindowTextLength (IN HWND hWnd)
{
if (XEUNICODE_P)
return GetWindowTextLengthW (hWnd);
@@ -1597,35 +1219,35 @@
}
int
-qxeMessageBox (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT uType)
+qxeMessageBox (IN HWND hWnd, IN const Extbyte * lpText, IN const Extbyte * lpCaption, IN
UINT uType)
{
if (XEUNICODE_P)
- return MessageBoxW (hWnd, (LPCWSTR) lpText, (LPCWSTR) lpCaption, uType);
+ return MessageBoxW (hWnd, (IN LPCWSTR) lpText, (IN LPCWSTR) lpCaption, uType);
else
- return MessageBoxA (hWnd, (LPCSTR) lpText, (LPCSTR) lpCaption, uType);
+ return MessageBoxA (hWnd, (IN LPCSTR) lpText, (IN LPCSTR) lpCaption, uType);
}
int
-qxeMessageBoxEx (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT
uType, WORD wLanguageId)
+qxeMessageBoxEx (IN HWND hWnd, IN const Extbyte * lpText, IN const Extbyte * lpCaption,
IN UINT uType, IN WORD wLanguageId)
{
if (XEUNICODE_P)
- return MessageBoxExW (hWnd, (LPCWSTR) lpText, (LPCWSTR) lpCaption, uType,
wLanguageId);
+ return MessageBoxExW (hWnd, (IN LPCWSTR) lpText, (IN LPCWSTR) lpCaption, uType,
wLanguageId);
else
- return MessageBoxExA (hWnd, (LPCSTR) lpText, (LPCSTR) lpCaption, uType,
wLanguageId);
+ return MessageBoxExA (hWnd, (IN LPCSTR) lpText, (IN LPCSTR) lpCaption, uType,
wLanguageId);
}
/* NOTE: NT 4.0+ only */
int
-qxeMessageBoxIndirect (LPMSGBOXPARAMSW arg1)
+qxeMessageBoxIndirect (IN CONST MSGBOXPARAMSW * arg1)
{
if (XEUNICODE_P)
return MessageBoxIndirectW (arg1);
else
- return MessageBoxIndirectA ((LPMSGBOXPARAMSA) arg1);
+ return MessageBoxIndirectA (arg1);
}
LONG
-qxeGetWindowLong (HWND hWnd, int nIndex)
+qxeGetWindowLong (IN HWND hWnd, IN int nIndex)
{
if (XEUNICODE_P)
return GetWindowLongW (hWnd, nIndex);
@@ -1634,7 +1256,7 @@
}
LONG
-qxeSetWindowLong (HWND hWnd, int nIndex, LONG dwNewLong)
+qxeSetWindowLong (IN HWND hWnd, IN int nIndex, IN LONG dwNewLong)
{
if (XEUNICODE_P)
return SetWindowLongW (hWnd, nIndex, dwNewLong);
@@ -1643,7 +1265,7 @@
}
DWORD
-qxeGetClassLong (HWND hWnd, int nIndex)
+qxeGetClassLong (IN HWND hWnd, IN int nIndex)
{
if (XEUNICODE_P)
return GetClassLongW (hWnd, nIndex);
@@ -1652,7 +1274,7 @@
}
DWORD
-qxeSetClassLong (HWND hWnd, int nIndex, LONG dwNewLong)
+qxeSetClassLong (IN HWND hWnd, IN int nIndex, IN LONG dwNewLong)
{
if (XEUNICODE_P)
return SetClassLongW (hWnd, nIndex, dwNewLong);
@@ -1661,31 +1283,31 @@
}
HWND
-qxeFindWindow (const Extbyte * lpClassName, const Extbyte * lpWindowName)
+qxeFindWindow (IN const Extbyte * lpClassName, IN const Extbyte * lpWindowName)
{
if (XEUNICODE_P)
- return FindWindowW ((LPCWSTR) lpClassName, (LPCWSTR) lpWindowName);
+ return FindWindowW ((IN LPCWSTR) lpClassName, (IN LPCWSTR) lpWindowName);
else
- return FindWindowA ((LPCSTR) lpClassName, (LPCSTR) lpWindowName);
+ return FindWindowA ((IN LPCSTR) lpClassName, (IN LPCSTR) lpWindowName);
}
/* NOTE: NT 4.0+ only */
HWND
-qxeFindWindowEx (HWND arg1, HWND arg2, const Extbyte * arg3, const Extbyte * arg4)
+qxeFindWindowEx (IN HWND arg1, IN HWND arg2, IN const Extbyte * arg3, IN const Extbyte *
arg4)
{
if (XEUNICODE_P)
- return FindWindowExW (arg1, arg2, (LPCWSTR) arg3, (LPCWSTR) arg4);
+ return FindWindowExW (arg1, arg2, (IN LPCWSTR) arg3, (IN LPCWSTR) arg4);
else
- return FindWindowExA (arg1, arg2, (LPCSTR) arg3, (LPCSTR) arg4);
+ return FindWindowExA (arg1, arg2, (IN LPCSTR) arg3, (IN LPCSTR) arg4);
}
int
-qxeGetClassName (HWND hWnd, Extbyte * lpClassName, int nMaxCount)
+qxeGetClassName (IN HWND hWnd, OUT Extbyte * lpClassName, IN int nMaxCount)
{
if (XEUNICODE_P)
- return GetClassNameW (hWnd, (LPWSTR) lpClassName, nMaxCount);
+ return GetClassNameW (hWnd, (OUT LPWSTR) lpClassName, nMaxCount);
else
- return GetClassNameA (hWnd, (LPSTR) lpClassName, nMaxCount);
+ return GetClassNameA (hWnd, (OUT LPSTR) lpClassName, nMaxCount);
}
/* Error if SetWindowsHook used: obsolete; two versions, STRICT and non-STRICT */
@@ -1693,7 +1315,7 @@
/* Error if SetWindowsHook used: obsolete; two versions, STRICT and non-STRICT */
HHOOK
-qxeSetWindowsHookEx (int idHook, HOOKPROC lpfn, HINSTANCE hmod, DWORD dwThreadId)
+qxeSetWindowsHookEx (IN int idHook, IN HOOKPROC lpfn, IN HINSTANCE hmod, IN DWORD
dwThreadId)
{
if (XEUNICODE_P)
return SetWindowsHookExW (idHook, lpfn, hmod, dwThreadId);
@@ -1702,62 +1324,62 @@
}
HBITMAP
-qxeLoadBitmap (HINSTANCE hInstance, const Extbyte * lpBitmapName)
+qxeLoadBitmap (IN HINSTANCE hInstance, IN const Extbyte * lpBitmapName)
{
if (XEUNICODE_P)
- return LoadBitmapW (hInstance, (LPCWSTR) lpBitmapName);
+ return LoadBitmapW (hInstance, (IN LPCWSTR) lpBitmapName);
else
- return LoadBitmapA (hInstance, (LPCSTR) lpBitmapName);
+ return LoadBitmapA (hInstance, (IN LPCSTR) lpBitmapName);
}
HCURSOR
-qxeLoadCursor (HINSTANCE hInstance, const Extbyte * lpCursorName)
+qxeLoadCursor (IN HINSTANCE hInstance, IN const Extbyte * lpCursorName)
{
if (XEUNICODE_P)
- return LoadCursorW (hInstance, (LPCWSTR) lpCursorName);
+ return LoadCursorW (hInstance, (IN LPCWSTR) lpCursorName);
else
- return LoadCursorA (hInstance, (LPCSTR) lpCursorName);
+ return LoadCursorA (hInstance, (IN LPCSTR) lpCursorName);
}
HCURSOR
-qxeLoadCursorFromFile (const Extbyte * lpFileName)
+qxeLoadCursorFromFile (IN const Extbyte * lpFileName)
{
if (XEUNICODE_P)
- return LoadCursorFromFileW ((LPCWSTR) lpFileName);
+ return LoadCursorFromFileW ((IN LPCWSTR) lpFileName);
else
- return LoadCursorFromFileA ((LPCSTR) lpFileName);
+ return LoadCursorFromFileA ((IN LPCSTR) lpFileName);
}
HICON
-qxeLoadIcon (HINSTANCE hInstance, const Extbyte * lpIconName)
+qxeLoadIcon (IN HINSTANCE hInstance, IN const Extbyte * lpIconName)
{
if (XEUNICODE_P)
- return LoadIconW (hInstance, (LPCWSTR) lpIconName);
+ return LoadIconW (hInstance, (IN LPCWSTR) lpIconName);
else
- return LoadIconA (hInstance, (LPCSTR) lpIconName);
+ return LoadIconA (hInstance, (IN LPCSTR) lpIconName);
}
/* NOTE: NT 4.0+ only */
HANDLE
-qxeLoadImage (HINSTANCE arg1, const Extbyte * arg2, UINT arg3, int arg4, int arg5, UINT
arg6)
+qxeLoadImage (IN HINSTANCE arg1, IN const Extbyte * arg2, IN UINT arg3, IN int arg4, IN
int arg5, IN UINT arg6)
{
if (XEUNICODE_P)
- return LoadImageW (arg1, (LPCWSTR) arg2, arg3, arg4, arg5, arg6);
+ return LoadImageW (arg1, (IN LPCWSTR) arg2, arg3, arg4, arg5, arg6);
else
- return LoadImageA (arg1, (LPCSTR) arg2, arg3, arg4, arg5, arg6);
+ return LoadImageA (arg1, (IN LPCSTR) arg2, arg3, arg4, arg5, arg6);
}
int
-qxeLoadString (HINSTANCE hInstance, UINT uID, Extbyte * lpBuffer, int nBufferMax)
+qxeLoadString (IN HINSTANCE hInstance, IN UINT uID, OUT Extbyte * lpBuffer, IN int
nBufferMax)
{
if (XEUNICODE_P)
- return LoadStringW (hInstance, uID, (LPWSTR) lpBuffer, nBufferMax);
+ return LoadStringW (hInstance, uID, (OUT LPWSTR) lpBuffer, nBufferMax);
else
- return LoadStringA (hInstance, uID, (LPSTR) lpBuffer, nBufferMax);
+ return LoadStringA (hInstance, uID, (OUT LPSTR) lpBuffer, nBufferMax);
}
BOOL
-qxeIsDialogMessage (HWND hDlg, LPMSG lpMsg)
+qxeIsDialogMessage (IN HWND hDlg, IN LPMSG lpMsg)
{
if (XEUNICODE_P)
return IsDialogMessageW (hDlg, lpMsg);
@@ -1766,43 +1388,43 @@
}
int
-qxeDlgDirList (HWND hDlg, Extbyte * lpPathSpec, int nIDListBox, int nIDStaticPath, UINT
uFileType)
+qxeDlgDirList (IN HWND hDlg, IN OUT Extbyte * lpPathSpec, IN int nIDListBox, IN int
nIDStaticPath, IN UINT uFileType)
{
if (XEUNICODE_P)
- return DlgDirListW (hDlg, (LPWSTR) lpPathSpec, nIDListBox, nIDStaticPath,
uFileType);
+ return DlgDirListW (hDlg, (IN OUT LPWSTR) lpPathSpec, nIDListBox, nIDStaticPath,
uFileType);
else
- return DlgDirListA (hDlg, (LPSTR) lpPathSpec, nIDListBox, nIDStaticPath, uFileType);
+ return DlgDirListA (hDlg, (IN OUT LPSTR) lpPathSpec, nIDListBox, nIDStaticPath,
uFileType);
}
BOOL
-qxeDlgDirSelectEx (HWND hDlg, Extbyte * lpString, int nCount, int nIDListBox)
+qxeDlgDirSelectEx (IN HWND hDlg, OUT Extbyte * lpString, IN int nCount, IN int
nIDListBox)
{
if (XEUNICODE_P)
- return DlgDirSelectExW (hDlg, (LPWSTR) lpString, nCount, nIDListBox);
+ return DlgDirSelectExW (hDlg, (OUT LPWSTR) lpString, nCount, nIDListBox);
else
- return DlgDirSelectExA (hDlg, (LPSTR) lpString, nCount, nIDListBox);
+ return DlgDirSelectExA (hDlg, (OUT LPSTR) lpString, nCount, nIDListBox);
}
int
-qxeDlgDirListComboBox (HWND hDlg, Extbyte * lpPathSpec, int nIDComboBox, int
nIDStaticPath, UINT uFiletype)
+qxeDlgDirListComboBox (IN HWND hDlg, IN OUT Extbyte * lpPathSpec, IN int nIDComboBox, IN
int nIDStaticPath, IN UINT uFiletype)
{
if (XEUNICODE_P)
- return DlgDirListComboBoxW (hDlg, (LPWSTR) lpPathSpec, nIDComboBox, nIDStaticPath,
uFiletype);
+ return DlgDirListComboBoxW (hDlg, (IN OUT LPWSTR) lpPathSpec, nIDComboBox,
nIDStaticPath, uFiletype);
else
- return DlgDirListComboBoxA (hDlg, (LPSTR) lpPathSpec, nIDComboBox, nIDStaticPath,
uFiletype);
+ return DlgDirListComboBoxA (hDlg, (IN OUT LPSTR) lpPathSpec, nIDComboBox,
nIDStaticPath, uFiletype);
}
BOOL
-qxeDlgDirSelectComboBoxEx (HWND hDlg, Extbyte * lpString, int nCount, int nIDComboBox)
+qxeDlgDirSelectComboBoxEx (IN HWND hDlg, OUT Extbyte * lpString, IN int nCount, IN int
nIDComboBox)
{
if (XEUNICODE_P)
- return DlgDirSelectComboBoxExW (hDlg, (LPWSTR) lpString, nCount, nIDComboBox);
+ return DlgDirSelectComboBoxExW (hDlg, (OUT LPWSTR) lpString, nCount, nIDComboBox);
else
- return DlgDirSelectComboBoxExA (hDlg, (LPSTR) lpString, nCount, nIDComboBox);
+ return DlgDirSelectComboBoxExA (hDlg, (OUT LPSTR) lpString, nCount, nIDComboBox);
}
LRESULT
-qxeDefFrameProc (HWND hWnd, HWND hWndMDIClient, UINT uMsg, WPARAM wParam, LPARAM lParam)
+qxeDefFrameProc (IN HWND hWnd, IN HWND hWndMDIClient, IN UINT uMsg, IN WPARAM wParam, IN
LPARAM lParam)
{
if (XEUNICODE_P)
return DefFrameProcW (hWnd, hWndMDIClient, uMsg, wParam, lParam);
@@ -1813,21 +1435,21 @@
/* Error if DefMDIChildProc used: return value is conditionalized on _MAC, messes up
parser */
HWND
-qxeCreateMDIWindow (Extbyte * lpClassName, Extbyte * lpWindowName, DWORD dwStyle, int X,
int Y, int nWidth, int nHeight, HWND hWndParent, HINSTANCE hInstance, LPARAM lParam)
+qxeCreateMDIWindow (IN const Extbyte * lpClassName, IN const Extbyte * lpWindowName, IN
DWORD dwStyle, IN int X, IN int Y, IN int nWidth, IN int nHeight, IN HWND hWndParent, IN
HINSTANCE hInstance, IN LPARAM lParam)
{
if (XEUNICODE_P)
- return CreateMDIWindowW ((LPWSTR) lpClassName, (LPWSTR) lpWindowName, dwStyle, X, Y,
nWidth, nHeight, hWndParent, hInstance, lParam);
+ return CreateMDIWindowW ((IN LPCWSTR) lpClassName, (IN LPCWSTR) lpWindowName,
dwStyle, X, Y, nWidth, nHeight, hWndParent, hInstance, lParam);
else
- return CreateMDIWindowA ((LPSTR) lpClassName, (LPSTR) lpWindowName, dwStyle, X, Y,
nWidth, nHeight, hWndParent, hInstance, lParam);
+ return CreateMDIWindowA ((IN LPCSTR) lpClassName, (IN LPCSTR) lpWindowName, dwStyle,
X, Y, nWidth, nHeight, hWndParent, hInstance, lParam);
}
BOOL
-qxeWinHelp (HWND hWndMain, const Extbyte * lpszHelp, UINT uCommand, DWORD dwData)
+qxeWinHelp (IN HWND hWndMain, IN const Extbyte * lpszHelp, IN UINT uCommand, IN ULONG_PTR
dwData)
{
if (XEUNICODE_P)
- return WinHelpW (hWndMain, (LPCWSTR) lpszHelp, uCommand, dwData);
+ return WinHelpW (hWndMain, (IN LPCWSTR) lpszHelp, uCommand, dwData);
else
- return WinHelpA (hWndMain, (LPCSTR) lpszHelp, uCommand, dwData);
+ return WinHelpA (hWndMain, (IN LPCSTR) lpszHelp, uCommand, dwData);
}
/* Error if ChangeDisplaySettings used: split-sized LPDEVMODE */
@@ -1840,7 +1462,7 @@
/* NOTE: probs w/ICONMETRICS, NONCLIENTMETRICS */
BOOL
-qxeSystemParametersInfo (UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni)
+qxeSystemParametersInfo (IN UINT uiAction, IN UINT uiParam, IN OUT PVOID pvParam, IN UINT
fWinIni)
{
if (XEUNICODE_P)
return SystemParametersInfoW (uiAction, uiParam, pvParam, fWinIni);
@@ -1858,319 +1480,753 @@
/*----------------------------------------------------------------------*/
-/* Processing file DDEML.H */
+/* Processing file IME.H */
/*----------------------------------------------------------------------*/
-
-UINT
-qxeDdeInitialize (LPDWORD pidInst, PFNCALLBACK pfnCallback, DWORD afCmd, DWORD ulRes)
-{
- if (XEUNICODE_P)
- return DdeInitializeW (pidInst, pfnCallback, afCmd, ulRes);
- else
- return DdeInitializeA (pidInst, pfnCallback, afCmd, ulRes);
-}
-
-/* Skipping DdeCreateStringHandle because error in Cygwin prototype */
-DWORD
-qxeDdeQueryString (DWORD idInst, HSZ hsz, Extbyte * psz, DWORD cchMax, int iCodePage)
-{
- if (XEUNICODE_P)
- return DdeQueryStringW (idInst, hsz, (LPWSTR) psz, cchMax, iCodePage);
- else
- return DdeQueryStringA (idInst, hsz, (LPSTR) psz, cchMax, iCodePage);
-}
+/* Error if SendIMEMessageEx used: obsolete, no docs available */
/*----------------------------------------------------------------------*/
-/* Processing file WINREG.H */
+/* Processing file IMM.H */
/*----------------------------------------------------------------------*/
-
-/* Skipping RegConnectRegistry because error in Cygwin prototype */
-LONG
+#if defined (HAVE_MS_WINDOWS)
-qxeRegCreateKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult)
+HKL
+qxeImmInstallIME (IN const Extbyte * lpszIMEFileName, IN const Extbyte * lpszLayoutText)
{
if (XEUNICODE_P)
- return RegCreateKeyW (hKey, (LPCWSTR) lpSubKey, phkResult);
+ return ImmInstallIMEW ((IN LPCWSTR) lpszIMEFileName, (IN LPCWSTR) lpszLayoutText);
else
- return RegCreateKeyA (hKey, (LPCSTR) lpSubKey, phkResult);
+ return ImmInstallIMEA ((IN LPCSTR) lpszIMEFileName, (IN LPCSTR) lpszLayoutText);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeRegCreateKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD Reserved, Extbyte *
lpClass, DWORD dwOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes,
PHKEY phkResult, LPDWORD lpdwDisposition)
+#if defined (HAVE_MS_WINDOWS)
+
+UINT
+qxeImmGetDescription (IN HKL arg1, OUT Extbyte * arg2, IN UINT uBufLen)
{
if (XEUNICODE_P)
- return RegCreateKeyExW (hKey, (LPCWSTR) lpSubKey, Reserved, (LPWSTR) lpClass,
dwOptions, samDesired, lpSecurityAttributes, phkResult, lpdwDisposition);
+ return ImmGetDescriptionW (arg1, (OUT LPWSTR) arg2, uBufLen);
else
- return RegCreateKeyExA (hKey, (LPCSTR) lpSubKey, Reserved, (LPSTR) lpClass,
dwOptions, samDesired, lpSecurityAttributes, phkResult, lpdwDisposition);
+ return ImmGetDescriptionA (arg1, (OUT LPSTR) arg2, uBufLen);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeRegDeleteKey (HKEY hKey, const Extbyte * lpSubKey)
+UINT
+qxeImmGetIMEFileName (IN HKL arg1, OUT Extbyte * arg2, IN UINT uBufLen)
{
if (XEUNICODE_P)
- return RegDeleteKeyW (hKey, (LPCWSTR) lpSubKey);
+ return ImmGetIMEFileNameW (arg1, (OUT LPWSTR) arg2, uBufLen);
else
- return RegDeleteKeyA (hKey, (LPCSTR) lpSubKey);
+ return ImmGetIMEFileNameA (arg1, (OUT LPSTR) arg2, uBufLen);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeRegDeleteValue (HKEY hKey, const Extbyte * lpValueName)
-{
- if (XEUNICODE_P)
- return RegDeleteValueW (hKey, (LPCWSTR) lpValueName);
- else
- return RegDeleteValueA (hKey, (LPCSTR) lpValueName);
-}
+#if defined (HAVE_MS_WINDOWS)
LONG
-
-qxeRegEnumKey (HKEY hKey, DWORD dwIndex, Extbyte * lpName, DWORD cbName)
+qxeImmGetCompositionString (IN HIMC arg1, IN DWORD arg2, OUT LPVOID arg3, IN DWORD arg4)
{
if (XEUNICODE_P)
- return RegEnumKeyW (hKey, dwIndex, (LPWSTR) lpName, cbName);
+ return ImmGetCompositionStringW (arg1, arg2, arg3, arg4);
else
- return RegEnumKeyA (hKey, dwIndex, (LPSTR) lpName, cbName);
+ return ImmGetCompositionStringA (arg1, arg2, arg3, arg4);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeRegEnumKeyEx (HKEY hKey, DWORD dwIndex, Extbyte * lpName, LPDWORD lpcbName, LPDWORD
lpReserved, Extbyte * lpClass, LPDWORD lpcbClass, PFILETIME lpftLastWriteTime)
+#if defined (HAVE_MS_WINDOWS)
+
+/* Skipping ImmSetCompositionString because different prototypes in VC6 and VC7 */
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeImmGetCandidateListCount (IN HIMC arg1, OUT LPDWORD lpdwListCount)
{
if (XEUNICODE_P)
- return RegEnumKeyExW (hKey, dwIndex, (LPWSTR) lpName, lpcbName, lpReserved, (LPWSTR)
lpClass, lpcbClass, lpftLastWriteTime);
+ return ImmGetCandidateListCountW (arg1, lpdwListCount);
else
- return RegEnumKeyExA (hKey, dwIndex, (LPSTR) lpName, lpcbName, lpReserved, (LPSTR)
lpClass, lpcbClass, lpftLastWriteTime);
+ return ImmGetCandidateListCountA (arg1, lpdwListCount);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeRegEnumValue (HKEY hKey, DWORD dwIndex, Extbyte * lpValueName, LPDWORD lpcbValueName,
LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData)
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeImmGetCandidateList (IN HIMC arg1, IN DWORD deIndex, OUT LPCANDIDATELIST arg3, IN
DWORD dwBufLen)
{
if (XEUNICODE_P)
- return RegEnumValueW (hKey, dwIndex, (LPWSTR) lpValueName, lpcbValueName, lpReserved,
lpType, lpData, lpcbData);
+ return ImmGetCandidateListW (arg1, deIndex, arg3, dwBufLen);
else
- return RegEnumValueA (hKey, dwIndex, (LPSTR) lpValueName, lpcbValueName, lpReserved,
lpType, lpData, lpcbData);
+ return ImmGetCandidateListA (arg1, deIndex, arg3, dwBufLen);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeRegLoadKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpFile)
+DWORD
+qxeImmGetGuideLine (IN HIMC arg1, IN DWORD dwIndex, OUT Extbyte * arg3, IN DWORD
dwBufLen)
{
if (XEUNICODE_P)
- return RegLoadKeyW (hKey, (LPCWSTR) lpSubKey, (LPCWSTR) lpFile);
+ return ImmGetGuideLineW (arg1, dwIndex, (OUT LPWSTR) arg3, dwBufLen);
else
- return RegLoadKeyA (hKey, (LPCSTR) lpSubKey, (LPCSTR) lpFile);
+ return ImmGetGuideLineA (arg1, dwIndex, (OUT LPSTR) arg3, dwBufLen);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeRegOpenKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult)
+#if defined (HAVE_MS_WINDOWS)
+
+/* Skipping ImmGetCompositionFont because split-sized LOGFONT */
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+/* Skipping ImmSetCompositionFont because split-sized LOGFONT */
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+/* NOTE: // split-simple REGISTERWORD */
+BOOL
+qxeImmConfigureIME (IN HKL arg1, IN HWND arg2, IN DWORD arg3, IN LPVOID arg4)
{
if (XEUNICODE_P)
- return RegOpenKeyW (hKey, (LPCWSTR) lpSubKey, phkResult);
+ return ImmConfigureIMEW (arg1, arg2, arg3, arg4);
else
- return RegOpenKeyA (hKey, (LPCSTR) lpSubKey, phkResult);
+ return ImmConfigureIMEA (arg1, arg2, arg3, arg4);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeRegOpenKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD ulOptions, REGSAM samDesired,
PHKEY phkResult)
+#if defined (HAVE_MS_WINDOWS)
+
+/* NOTE: // strings of various sorts */
+LRESULT
+qxeImmEscape (IN HKL arg1, IN HIMC arg2, IN UINT arg3, IN LPVOID arg4)
{
if (XEUNICODE_P)
- return RegOpenKeyExW (hKey, (LPCWSTR) lpSubKey, ulOptions, samDesired, phkResult);
+ return ImmEscapeW (arg1, arg2, arg3, arg4);
else
- return RegOpenKeyExA (hKey, (LPCSTR) lpSubKey, ulOptions, samDesired, phkResult);
+ return ImmEscapeA (arg1, arg2, arg3, arg4);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeRegQueryInfoKey (HKEY hKey, Extbyte * lpClass, LPDWORD lpcbClass, LPDWORD lpReserved,
LPDWORD lpcSubKeys, LPDWORD lpcbMaxSubKeyLen, LPDWORD lpcbMaxClassLen, LPDWORD lpcValues,
LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen, LPDWORD lpcbSecurityDescriptor,
PFILETIME lpftLastWriteTime)
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeImmGetConversionList (IN HKL arg1, IN HIMC arg2, IN const Extbyte * arg3, OUT
LPCANDIDATELIST arg4, IN DWORD dwBufLen, IN UINT uFlag)
{
if (XEUNICODE_P)
- return RegQueryInfoKeyW (hKey, (LPWSTR) lpClass, lpcbClass, lpReserved, lpcSubKeys,
lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen, lpcbMaxValueLen,
lpcbSecurityDescriptor, lpftLastWriteTime);
+ return ImmGetConversionListW (arg1, arg2, (IN LPCWSTR) arg3, arg4, dwBufLen, uFlag);
else
- return RegQueryInfoKeyA (hKey, (LPSTR) lpClass, lpcbClass, lpReserved, lpcSubKeys,
lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen, lpcbMaxValueLen,
lpcbSecurityDescriptor, lpftLastWriteTime);
+ return ImmGetConversionListA (arg1, arg2, (IN LPCSTR) arg3, arg4, dwBufLen, uFlag);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeRegQueryValue (HKEY hKey, const Extbyte * lpSubKey, Extbyte * lpValue, PLONG
lpcbValue)
+BOOL
+qxeImmIsUIMessage (IN HWND arg1, IN UINT arg2, IN WPARAM arg3, IN LPARAM arg4)
{
if (XEUNICODE_P)
- return RegQueryValueW (hKey, (LPCWSTR) lpSubKey, (LPWSTR) lpValue, lpcbValue);
+ return ImmIsUIMessageW (arg1, arg2, arg3, arg4);
else
- return RegQueryValueA (hKey, (LPCSTR) lpSubKey, (LPSTR) lpValue, lpcbValue);
+ return ImmIsUIMessageA (arg1, arg2, arg3, arg4);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeRegQueryMultipleValues (HKEY hKey, PVALENTW val_list, DWORD num_vals, Extbyte *
lpValueBuf, LPDWORD ldwTotsize)
+#if defined (HAVE_MS_WINDOWS)
+
+BOOL
+qxeImmRegisterWord (IN HKL arg1, IN const Extbyte * lpszReading, IN DWORD arg3, IN const
Extbyte * lpszRegister)
{
if (XEUNICODE_P)
- return RegQueryMultipleValuesW (hKey, val_list, num_vals, (LPWSTR) lpValueBuf,
ldwTotsize);
+ return ImmRegisterWordW (arg1, (IN LPCWSTR) lpszReading, arg3, (IN LPCWSTR)
lpszRegister);
else
- return RegQueryMultipleValuesA (hKey, (PVALENTA) val_list, num_vals, (LPSTR)
lpValueBuf, ldwTotsize);
+ return ImmRegisterWordA (arg1, (IN LPCSTR) lpszReading, arg3, (IN LPCSTR)
lpszRegister);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeRegQueryValueEx (HKEY hKey, const Extbyte * lpValueName, LPDWORD lpReserved, LPDWORD
lpType, LPBYTE lpData, LPDWORD lpcbData)
+BOOL
+qxeImmUnregisterWord (IN HKL arg1, IN const Extbyte * lpszReading, IN DWORD arg3, IN
const Extbyte * lpszUnregister)
{
if (XEUNICODE_P)
- return RegQueryValueExW (hKey, (LPCWSTR) lpValueName, lpReserved, lpType, lpData,
lpcbData);
+ return ImmUnregisterWordW (arg1, (IN LPCWSTR) lpszReading, arg3, (IN LPCWSTR)
lpszUnregister);
else
- return RegQueryValueExA (hKey, (LPCSTR) lpValueName, lpReserved, lpType, lpData,
lpcbData);
+ return ImmUnregisterWordA (arg1, (IN LPCSTR) lpszReading, arg3, (IN LPCSTR)
lpszUnregister);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+/* Error if ImmGetRegisterWordStyle used: split-sized STYLEBUF */
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+UINT
+qxeImmEnumRegisterWord (IN HKL arg1, IN REGISTERWORDENUMPROCW arg2, IN const Extbyte *
lpszReading, IN DWORD arg4, IN const Extbyte * lpszRegister, IN LPVOID arg6)
+{
+ if (XEUNICODE_P)
+ return ImmEnumRegisterWordW (arg1, arg2, (IN LPCWSTR) lpszReading, arg4, (IN LPCWSTR)
lpszRegister, arg6);
+ else
+ return ImmEnumRegisterWordA (arg1, (IN REGISTERWORDENUMPROCA) arg2, (IN LPCSTR)
lpszReading, arg4, (IN LPCSTR) lpszRegister, arg6);
+}
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+/* Error if ImmGetImeMenuItems used: split-sized IMEMENUITEMINFO */
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+
+/*----------------------------------------------------------------------*/
+/* Processing file MMSYSTEM.H */
+/*----------------------------------------------------------------------*/
+
+BOOL
+qxesndPlaySound (IN const Extbyte * pszSound, IN UINT fuSound)
+{
+ if (XEUNICODE_P)
+ return sndPlaySoundW ((IN LPCWSTR) pszSound, fuSound);
+ else
+ return sndPlaySoundA ((IN LPCSTR) pszSound, fuSound);
+}
+
+BOOL
+qxePlaySound (IN const Extbyte * pszSound, IN HMODULE hmod, IN DWORD fdwSound)
+{
+ if (XEUNICODE_P)
+ return PlaySoundW ((IN LPCWSTR) pszSound, hmod, fdwSound);
+ else
+ return PlaySoundA ((IN LPCSTR) pszSound, hmod, fdwSound);
+}
+
+/* Error if waveOutGetDevCaps used: split-sized LPWAVEOUTCAPS */
+
+MMRESULT
+qxewaveOutGetErrorText (IN MMRESULT mmrError, OUT Extbyte * pszText, IN UINT cchText)
+{
+ if (XEUNICODE_P)
+ return waveOutGetErrorTextW (mmrError, (OUT LPWSTR) pszText, cchText);
+ else
+ return waveOutGetErrorTextA (mmrError, (OUT LPSTR) pszText, cchText);
+}
+
+/* Error if waveInGetDevCaps used: split-sized LPWAVEINCAPS */
+
+MMRESULT
+qxewaveInGetErrorText (IN MMRESULT mmrError, OUT Extbyte * pszText, IN UINT cchText)
+{
+ if (XEUNICODE_P)
+ return waveInGetErrorTextW (mmrError, (OUT LPWSTR) pszText, cchText);
+ else
+ return waveInGetErrorTextA (mmrError, (OUT LPSTR) pszText, cchText);
+}
+
+/* Error if midiOutGetDevCaps used: split-sized LPMIDIOUTCAPS */
+
+MMRESULT
+qxemidiOutGetErrorText (IN MMRESULT mmrError, OUT Extbyte * pszText, IN UINT cchText)
+{
+ if (XEUNICODE_P)
+ return midiOutGetErrorTextW (mmrError, (OUT LPWSTR) pszText, cchText);
+ else
+ return midiOutGetErrorTextA (mmrError, (OUT LPSTR) pszText, cchText);
+}
+
+/* Error if midiInGetDevCaps used: split-sized LPMIDIOUTCAPS */
+
+MMRESULT
+qxemidiInGetErrorText (IN MMRESULT mmrError, OUT Extbyte * pszText, IN UINT cchText)
+{
+ if (XEUNICODE_P)
+ return midiInGetErrorTextW (mmrError, (OUT LPWSTR) pszText, cchText);
+ else
+ return midiInGetErrorTextA (mmrError, (OUT LPSTR) pszText, cchText);
+}
+
+/* Error if auxGetDevCaps used: split-sized LPAUXCAPS */
+
+/* Error if mixerGetDevCaps used: split-sized LPMIXERCAPS */
+
+/* Error if mixerGetLineInfo used: split-sized LPMIXERLINE */
+
+/* Error if mixerGetLineControls used: split-sized LPMIXERCONTROL */
+
+/* Error if mixerGetControlDetails used: split-sized LPMIXERCONTROL in
LPMIXERLINECONTROLS in LPMIXERCONTROLDETAILS */
+
+/* Error if joyGetDevCaps used: split-sized LPJOYCAPS */
+
+FOURCC
+qxemmioStringToFOURCC (IN const Extbyte * sz, IN UINT uFlags)
+{
+ if (XEUNICODE_P)
+ return mmioStringToFOURCCW ((IN LPCWSTR) sz, uFlags);
+ else
+ return mmioStringToFOURCCA ((IN LPCSTR) sz, uFlags);
+}
+
+LPMMIOPROC
+qxemmioInstallIOProc (IN FOURCC fccIOProc, IN LPMMIOPROC pIOProc, IN DWORD dwFlags)
+{
+ if (XEUNICODE_P)
+ return mmioInstallIOProcW (fccIOProc, pIOProc, dwFlags);
+ else
+ return mmioInstallIOProcA (fccIOProc, pIOProc, dwFlags);
+}
+
+HMMIO
+qxemmioOpen (IN OUT Extbyte * pszFileName, IN OUT LPMMIOINFO pmmioinfo, IN DWORD
fdwOpen)
+{
+ if (XEUNICODE_P)
+ return mmioOpenW ((IN OUT LPWSTR) pszFileName, pmmioinfo, fdwOpen);
+ else
+ return mmioOpenA ((IN OUT LPSTR) pszFileName, pmmioinfo, fdwOpen);
+}
+
+MMRESULT
+qxemmioRename (IN const Extbyte * pszFileName, IN const Extbyte * pszNewFileName, IN
LPCMMIOINFO pmmioinfo, IN DWORD fdwRename)
+{
+ if (XEUNICODE_P)
+ return mmioRenameW ((IN LPCWSTR) pszFileName, (IN LPCWSTR) pszNewFileName, pmmioinfo,
fdwRename);
+ else
+ return mmioRenameA ((IN LPCSTR) pszFileName, (IN LPCSTR) pszNewFileName, pmmioinfo,
fdwRename);
+}
+
+MCIERROR
+qxemciSendCommand (IN MCIDEVICEID mciId, IN UINT uMsg, IN DWORD_PTR dwParam1, IN
DWORD_PTR dwParam2)
+{
+ if (XEUNICODE_P)
+ return mciSendCommandW (mciId, uMsg, dwParam1, dwParam2);
+ else
+ return mciSendCommandA (mciId, uMsg, dwParam1, dwParam2);
+}
+
+MCIERROR
+qxemciSendString (IN const Extbyte * lpstrCommand, OUT Extbyte * lpstrReturnString, IN
UINT uReturnLength, IN HWND hwndCallback)
+{
+ if (XEUNICODE_P)
+ return mciSendStringW ((IN LPCWSTR) lpstrCommand, (OUT LPWSTR) lpstrReturnString,
uReturnLength, hwndCallback);
+ else
+ return mciSendStringA ((IN LPCSTR) lpstrCommand, (OUT LPSTR) lpstrReturnString,
uReturnLength, hwndCallback);
+}
+
+MCIDEVICEID
+qxemciGetDeviceID (IN const Extbyte * pszDevice)
+{
+ if (XEUNICODE_P)
+ return mciGetDeviceIDW ((IN LPCWSTR) pszDevice);
+ else
+ return mciGetDeviceIDA ((IN LPCSTR) pszDevice);
+}
+
+#if !defined (MINGW)
+
+/* Error if mciGetDeviceIDFromElementID used: missing from Win98se version of
ADVAPI32.dll */
+
+#endif /* !defined (MINGW) */
+
+BOOL
+qxemciGetErrorString (IN MCIERROR mcierr, OUT Extbyte * pszText, IN UINT cchText)
+{
+ if (XEUNICODE_P)
+ return mciGetErrorStringW (mcierr, (OUT LPWSTR) pszText, cchText);
+ else
+ return mciGetErrorStringA (mcierr, (OUT LPSTR) pszText, cchText);
+}
+
+
+/*----------------------------------------------------------------------*/
+/* Processing file WINCON.H */
+/*----------------------------------------------------------------------*/
+
+BOOL
+qxePeekConsoleInput (IN HANDLE hConsoleInput, OUT PINPUT_RECORD lpBuffer, IN DWORD
nLength, OUT LPDWORD lpNumberOfEventsRead)
+{
+ if (XEUNICODE_P)
+ return PeekConsoleInputW (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead);
+ else
+ return PeekConsoleInputA (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead);
+}
+
+BOOL
+qxeReadConsoleInput (IN HANDLE hConsoleInput, OUT PINPUT_RECORD lpBuffer, IN DWORD
nLength, OUT LPDWORD lpNumberOfEventsRead)
+{
+ if (XEUNICODE_P)
+ return ReadConsoleInputW (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead);
+ else
+ return ReadConsoleInputA (hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead);
+}
+
+BOOL
+qxeWriteConsoleInput (IN HANDLE hConsoleInput, IN CONST INPUT_RECORD * lpBuffer, IN DWORD
nLength, OUT LPDWORD lpNumberOfEventsWritten)
+{
+ if (XEUNICODE_P)
+ return WriteConsoleInputW (hConsoleInput, lpBuffer, nLength,
lpNumberOfEventsWritten);
+ else
+ return WriteConsoleInputA (hConsoleInput, lpBuffer, nLength,
lpNumberOfEventsWritten);
+}
+
+BOOL
+qxeReadConsoleOutput (IN HANDLE hConsoleOutput, OUT PCHAR_INFO lpBuffer, IN COORD
dwBufferSize, IN COORD dwBufferCoord, IN OUT PSMALL_RECT lpReadRegion)
+{
+ if (XEUNICODE_P)
+ return ReadConsoleOutputW (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord,
lpReadRegion);
+ else
+ return ReadConsoleOutputA (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord,
lpReadRegion);
+}
+
+BOOL
+qxeWriteConsoleOutput (IN HANDLE hConsoleOutput, IN CONST CHAR_INFO * lpBuffer, IN COORD
dwBufferSize, IN COORD dwBufferCoord, IN OUT PSMALL_RECT lpWriteRegion)
+{
+ if (XEUNICODE_P)
+ return WriteConsoleOutputW (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord,
lpWriteRegion);
+ else
+ return WriteConsoleOutputA (hConsoleOutput, lpBuffer, dwBufferSize, dwBufferCoord,
lpWriteRegion);
+}
+
+BOOL
+qxeReadConsoleOutputCharacter (IN HANDLE hConsoleOutput, OUT Extbyte * lpCharacter, IN
DWORD nLength, IN COORD dwReadCoord, OUT LPDWORD lpNumberOfCharsRead)
+{
+ if (XEUNICODE_P)
+ return ReadConsoleOutputCharacterW (hConsoleOutput, (OUT LPWSTR) lpCharacter,
nLength, dwReadCoord, lpNumberOfCharsRead);
+ else
+ return ReadConsoleOutputCharacterA (hConsoleOutput, (OUT LPSTR) lpCharacter, nLength,
dwReadCoord, lpNumberOfCharsRead);
+}
+
+BOOL
+qxeWriteConsoleOutputCharacter (IN HANDLE hConsoleOutput, IN const Extbyte * lpCharacter,
IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
+{
+ if (XEUNICODE_P)
+ return WriteConsoleOutputCharacterW (hConsoleOutput, (IN LPCWSTR) lpCharacter,
nLength, dwWriteCoord, lpNumberOfCharsWritten);
+ else
+ return WriteConsoleOutputCharacterA (hConsoleOutput, (IN LPCSTR) lpCharacter,
nLength, dwWriteCoord, lpNumberOfCharsWritten);
+}
+
+/* Error if FillConsoleOutputCharacter used: split CHAR */
+
+BOOL
+qxeScrollConsoleScreenBuffer (IN HANDLE hConsoleOutput, IN CONST SMALL_RECT *
lpScrollRectangle, IN CONST SMALL_RECT * lpClipRectangle, IN COORD dwDestinationOrigin, IN
CONST CHAR_INFO * lpFill)
+{
+ if (XEUNICODE_P)
+ return ScrollConsoleScreenBufferW (hConsoleOutput, lpScrollRectangle,
lpClipRectangle, dwDestinationOrigin, lpFill);
+ else
+ return ScrollConsoleScreenBufferA (hConsoleOutput, lpScrollRectangle,
lpClipRectangle, dwDestinationOrigin, lpFill);
+}
+
+DWORD
+qxeGetConsoleTitle (OUT Extbyte * lpConsoleTitle, IN DWORD nSize)
+{
+ if (XEUNICODE_P)
+ return GetConsoleTitleW ((OUT LPWSTR) lpConsoleTitle, nSize);
+ else
+ return GetConsoleTitleA ((OUT LPSTR) lpConsoleTitle, nSize);
+}
+
+BOOL
+qxeSetConsoleTitle (IN const Extbyte * lpConsoleTitle)
+{
+ if (XEUNICODE_P)
+ return SetConsoleTitleW ((IN LPCWSTR) lpConsoleTitle);
+ else
+ return SetConsoleTitleA ((IN LPCSTR) lpConsoleTitle);
+}
+
+BOOL
+qxeReadConsole (IN HANDLE hConsoleInput, OUT LPVOID lpBuffer, IN DWORD
nNumberOfCharsToRead, OUT LPDWORD lpNumberOfCharsRead, IN LPVOID lpReserved)
+{
+ if (XEUNICODE_P)
+ return ReadConsoleW (hConsoleInput, lpBuffer, nNumberOfCharsToRead,
lpNumberOfCharsRead, lpReserved);
+ else
+ return ReadConsoleA (hConsoleInput, lpBuffer, nNumberOfCharsToRead,
lpNumberOfCharsRead, lpReserved);
+}
+
+BOOL
+qxeWriteConsole (IN HANDLE hConsoleOutput, IN CONST VOID * lpBuffer, IN DWORD
nNumberOfCharsToWrite, OUT LPDWORD lpNumberOfCharsWritten, IN LPVOID lpReserved)
+{
+ if (XEUNICODE_P)
+ return WriteConsoleW (hConsoleOutput, lpBuffer, nNumberOfCharsToWrite,
lpNumberOfCharsWritten, lpReserved);
+ else
+ return WriteConsoleA (hConsoleOutput, lpBuffer, nNumberOfCharsToWrite,
lpNumberOfCharsWritten, lpReserved);
+}
+
+
+/*----------------------------------------------------------------------*/
+/* Processing file WINNETWK.H */
+/*----------------------------------------------------------------------*/
+
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeWNetAddConnection (IN const Extbyte * lpRemoteName, IN const Extbyte * lpPassword, IN
const Extbyte * lpLocalName)
+{
+ if (XEUNICODE_P)
+ return WNetAddConnectionW ((IN LPCWSTR) lpRemoteName, (IN LPCWSTR) lpPassword, (IN
LPCWSTR) lpLocalName);
+ else
+ return WNetAddConnectionA ((IN LPCSTR) lpRemoteName, (IN LPCSTR) lpPassword, (IN
LPCSTR) lpLocalName);
+}
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeWNetAddConnection2 (IN LPNETRESOURCEW lpNetResource, IN const Extbyte * lpPassword, IN
const Extbyte * lpUserName, IN DWORD dwFlags)
+{
+ if (XEUNICODE_P)
+ return WNetAddConnection2W (lpNetResource, (IN LPCWSTR) lpPassword, (IN LPCWSTR)
lpUserName, dwFlags);
+ else
+ return WNetAddConnection2A ((IN LPNETRESOURCEA) lpNetResource, (IN LPCSTR)
lpPassword, (IN LPCSTR) lpUserName, dwFlags);
+}
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeWNetAddConnection3 (IN HWND hwndOwner, IN LPNETRESOURCEW lpNetResource, IN const
Extbyte * lpPassword, IN const Extbyte * lpUserName, IN DWORD dwFlags)
+{
+ if (XEUNICODE_P)
+ return WNetAddConnection3W (hwndOwner, lpNetResource, (IN LPCWSTR) lpPassword, (IN
LPCWSTR) lpUserName, dwFlags);
+ else
+ return WNetAddConnection3A (hwndOwner, (IN LPNETRESOURCEA) lpNetResource, (IN LPCSTR)
lpPassword, (IN LPCSTR) lpUserName, dwFlags);
+}
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeWNetCancelConnection (IN const Extbyte * lpName, IN BOOL fForce)
+{
+ if (XEUNICODE_P)
+ return WNetCancelConnectionW ((IN LPCWSTR) lpName, fForce);
+ else
+ return WNetCancelConnectionA ((IN LPCSTR) lpName, fForce);
+}
+
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeRegReplaceKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpNewFile, const
Extbyte * lpOldFile)
+DWORD
+qxeWNetCancelConnection2 (IN const Extbyte * lpName, IN DWORD dwFlags, IN BOOL fForce)
{
if (XEUNICODE_P)
- return RegReplaceKeyW (hKey, (LPCWSTR) lpSubKey, (LPCWSTR) lpNewFile, (LPCWSTR)
lpOldFile);
+ return WNetCancelConnection2W ((IN LPCWSTR) lpName, dwFlags, fForce);
else
- return RegReplaceKeyA (hKey, (LPCSTR) lpSubKey, (LPCSTR) lpNewFile, (LPCSTR)
lpOldFile);
+ return WNetCancelConnection2A ((IN LPCSTR) lpName, dwFlags, fForce);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeRegRestoreKey (HKEY hKey, const Extbyte * lpFile, DWORD dwFlags)
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeWNetGetConnection (IN const Extbyte * lpLocalName, OUT Extbyte * lpRemoteName, IN OUT
LPDWORD lpnLength)
{
if (XEUNICODE_P)
- return RegRestoreKeyW (hKey, (LPCWSTR) lpFile, dwFlags);
+ return WNetGetConnectionW ((IN LPCWSTR) lpLocalName, (OUT LPWSTR) lpRemoteName,
lpnLength);
else
- return RegRestoreKeyA (hKey, (LPCSTR) lpFile, dwFlags);
+ return WNetGetConnectionA ((IN LPCSTR) lpLocalName, (OUT LPSTR) lpRemoteName,
lpnLength);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeRegSaveKey (HKEY hKey, const Extbyte * lpFile, LPSECURITY_ATTRIBUTES
lpSecurityAttributes)
+DWORD
+qxeWNetUseConnection (IN HWND hwndOwner, IN LPNETRESOURCEW lpNetResource, IN const
Extbyte * lpPassword, IN const Extbyte * lpUserID, IN DWORD dwFlags, OUT Extbyte *
lpAccessName, IN OUT LPDWORD lpBufferSize, OUT LPDWORD lpResult)
{
if (XEUNICODE_P)
- return RegSaveKeyW (hKey, (LPCWSTR) lpFile, lpSecurityAttributes);
+ return WNetUseConnectionW (hwndOwner, lpNetResource, (IN LPCWSTR) lpPassword, (IN
LPCWSTR) lpUserID, dwFlags, (OUT LPWSTR) lpAccessName, lpBufferSize, lpResult);
else
- return RegSaveKeyA (hKey, (LPCSTR) lpFile, lpSecurityAttributes);
+ return WNetUseConnectionA (hwndOwner, (IN LPNETRESOURCEA) lpNetResource, (IN LPCSTR)
lpPassword, (IN LPCSTR) lpUserID, dwFlags, (OUT LPSTR) lpAccessName, lpBufferSize,
lpResult);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeRegSetValue (HKEY hKey, const Extbyte * lpSubKey, DWORD dwType, const Extbyte *
lpData, DWORD cbData)
+/* NOTE: contains split-simple LPNETRESOURCE */
+DWORD
+qxeWNetConnectionDialog1 (IN OUT LPCONNECTDLGSTRUCTW lpConnDlgStruct)
{
if (XEUNICODE_P)
- return RegSetValueW (hKey, (LPCWSTR) lpSubKey, dwType, (LPCWSTR) lpData, cbData);
+ return WNetConnectionDialog1W (lpConnDlgStruct);
else
- return RegSetValueA (hKey, (LPCSTR) lpSubKey, dwType, (LPCSTR) lpData, cbData);
+ return WNetConnectionDialog1A ((IN OUT LPCONNECTDLGSTRUCTA) lpConnDlgStruct);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeRegSetValueEx (HKEY hKey, const Extbyte * lpValueName, DWORD Reserved, DWORD dwType,
CONST BYTE* lpData, DWORD cbData)
+DWORD
+qxeWNetDisconnectDialog1 (IN LPDISCDLGSTRUCTW lpConnDlgStruct)
{
if (XEUNICODE_P)
- return RegSetValueExW (hKey, (LPCWSTR) lpValueName, Reserved, dwType, lpData,
cbData);
+ return WNetDisconnectDialog1W (lpConnDlgStruct);
else
- return RegSetValueExA (hKey, (LPCSTR) lpValueName, Reserved, dwType, lpData,
cbData);
+ return WNetDisconnectDialog1A ((IN LPDISCDLGSTRUCTA) lpConnDlgStruct);
}
-LONG
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeRegUnLoadKey (HKEY hKey, const Extbyte * lpSubKey)
+DWORD
+qxeWNetOpenEnum (IN DWORD dwScope, IN DWORD dwType, IN DWORD dwUsage, IN LPNETRESOURCEW
lpNetResource, OUT LPHANDLE lphEnum)
{
if (XEUNICODE_P)
- return RegUnLoadKeyW (hKey, (LPCWSTR) lpSubKey);
+ return WNetOpenEnumW (dwScope, dwType, dwUsage, lpNetResource, lphEnum);
else
- return RegUnLoadKeyA (hKey, (LPCSTR) lpSubKey);
+ return WNetOpenEnumA (dwScope, dwType, dwUsage, (IN LPNETRESOURCEA) lpNetResource,
lphEnum);
}
-BOOL
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
-qxeInitiateSystemShutdown (Extbyte * lpMachineName, Extbyte * lpMessage, DWORD dwTimeout,
BOOL bForceAppsClosed, BOOL bRebootAfterShutdown)
+DWORD
+qxeWNetEnumResource (IN HANDLE hEnum, IN OUT LPDWORD lpcCount, OUT LPVOID lpBuffer, IN
OUT LPDWORD lpBufferSize)
{
if (XEUNICODE_P)
- return InitiateSystemShutdownW ((LPWSTR) lpMachineName, (LPWSTR) lpMessage,
dwTimeout, bForceAppsClosed, bRebootAfterShutdown);
+ return WNetEnumResourceW (hEnum, lpcCount, lpBuffer, lpBufferSize);
else
- return InitiateSystemShutdownA ((LPSTR) lpMachineName, (LPSTR) lpMessage, dwTimeout,
bForceAppsClosed, bRebootAfterShutdown);
+ return WNetEnumResourceA (hEnum, lpcCount, lpBuffer, lpBufferSize);
}
-BOOL
+#endif /* defined (HAVE_MS_WINDOWS) */
-qxeAbortSystemShutdown (Extbyte * lpMachineName)
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeWNetGetUniversalName (IN const Extbyte * lpLocalPath, IN DWORD dwInfoLevel, OUT LPVOID
lpBuffer, IN OUT LPDWORD lpBufferSize)
{
if (XEUNICODE_P)
- return AbortSystemShutdownW ((LPWSTR) lpMachineName);
+ return WNetGetUniversalNameW ((IN LPCWSTR) lpLocalPath, dwInfoLevel, lpBuffer,
lpBufferSize);
else
- return AbortSystemShutdownA ((LPSTR) lpMachineName);
+ return WNetGetUniversalNameA ((IN LPCSTR) lpLocalPath, dwInfoLevel, lpBuffer,
lpBufferSize);
}
-
-
-/*----------------------------------------------------------------------*/
-/* Processing file WINNLS.H */
-/*----------------------------------------------------------------------*/
-/* Error if GetCPInfoEx used: not used, not examined yet */
-
-/* Error if CompareString used: not used, not examined yet */
+#endif /* defined (HAVE_MS_WINDOWS) */
-/* Error if LCMapString used: not used, not examined yet */
+#if defined (HAVE_MS_WINDOWS)
-int
-qxeGetLocaleInfo (LCID Locale, LCTYPE LCType, Extbyte * lpLCData, int cchData)
+DWORD
+qxeWNetGetUser (IN const Extbyte * lpName, OUT Extbyte * lpUserName, IN OUT LPDWORD
lpnLength)
{
if (XEUNICODE_P)
- return GetLocaleInfoW (Locale, LCType, (LPWSTR) lpLCData, cchData);
+ return WNetGetUserW ((IN LPCWSTR) lpName, (OUT LPWSTR) lpUserName, lpnLength);
else
- return GetLocaleInfoA (Locale, LCType, (LPSTR) lpLCData, cchData);
+ return WNetGetUserA ((IN LPCSTR) lpName, (OUT LPSTR) lpUserName, lpnLength);
}
-BOOL
-qxeSetLocaleInfo (LCID Locale, LCTYPE LCType, const Extbyte * lpLCData)
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+
+DWORD
+qxeWNetGetProviderName (IN DWORD dwNetType, OUT Extbyte * lpProviderName, IN OUT LPDWORD
lpBufferSize)
{
if (XEUNICODE_P)
- return SetLocaleInfoW (Locale, LCType, (LPCWSTR) lpLCData);
+ return WNetGetProviderNameW (dwNetType, (OUT LPWSTR) lpProviderName, lpBufferSize);
else
- return SetLocaleInfoA (Locale, LCType, (LPCSTR) lpLCData);
+ return WNetGetProviderNameA (dwNetType, (OUT LPSTR) lpProviderName, lpBufferSize);
}
-
-/* Error if GetTimeFormat used: not used, not examined yet */
-/* Error if GetDateFormat used: not used, not examined yet */
-
-/* Error if GetNumberFormat used: not used, not examined yet */
-
-/* Error if GetCurrencyFormat used: not used, not examined yet */
-
-/* Error if EnumCalendarInfo used: not used, not examined yet */
+#endif /* defined (HAVE_MS_WINDOWS) */
-/* Error if EnumCalendarInfoEx used: not used, not examined yet */
+#if defined (HAVE_MS_WINDOWS)
-/* Error if EnumTimeFormats used: not used, not examined yet */
+DWORD
+qxeWNetGetNetworkInformation (IN const Extbyte * lpProvider, OUT LPNETINFOSTRUCT
lpNetInfoStruct)
+{
+ if (XEUNICODE_P)
+ return WNetGetNetworkInformationW ((IN LPCWSTR) lpProvider, lpNetInfoStruct);
+ else
+ return WNetGetNetworkInformationA ((IN LPCSTR) lpProvider, lpNetInfoStruct);
+}
-/* Error if EnumDateFormats used: not used, not examined yet */
+#endif /* defined (HAVE_MS_WINDOWS) */
-/* Error if EnumDateFormatsEx used: not used, not examined yet */
+#if defined (HAVE_MS_WINDOWS)
-/* Error if GetStringTypeEx used: not used, not examined yet */
+DWORD
+qxeWNetGetLastError (OUT LPDWORD lpError, OUT Extbyte * lpErrorBuf, IN DWORD
nErrorBufSize, OUT Extbyte * lpNameBuf, IN DWORD nNameBufSize)
+{
+ if (XEUNICODE_P)
+ return WNetGetLastErrorW (lpError, (OUT LPWSTR) lpErrorBuf, nErrorBufSize, (OUT
LPWSTR) lpNameBuf, nNameBufSize);
+ else
+ return WNetGetLastErrorA (lpError, (OUT LPSTR) lpErrorBuf, nErrorBufSize, (OUT LPSTR)
lpNameBuf, nNameBufSize);
+}
-/* Error if GetStringType used: no such fun; A and W versions have different nos. of args
*/
+#endif /* defined (HAVE_MS_WINDOWS) */
-/* Error if FoldString used: not used, not examined yet */
+#if defined (HAVE_MS_WINDOWS)
-/* Error if EnumSystemLocales used: not used, not examined yet */
+DWORD
+qxeMultinetGetConnectionPerformance (IN LPNETRESOURCEW lpNetResource, OUT
LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct)
+{
+ if (XEUNICODE_P)
+ return MultinetGetConnectionPerformanceW (lpNetResource, lpNetConnectInfoStruct);
+ else
+ return MultinetGetConnectionPerformanceA ((IN LPNETRESOURCEA) lpNetResource,
lpNetConnectInfoStruct);
+}
-/* Error if EnumSystemCodePages used: not used, not examined yet */
+#endif /* defined (HAVE_MS_WINDOWS) */
/*----------------------------------------------------------------------*/
-/* Processing file IME.H */
+/* Processing file DDEML.H */
/*----------------------------------------------------------------------*/
-/* Error if SendIMEMessageEx used: obsolete, no docs available */
+UINT
+qxeDdeInitialize (IN OUT LPDWORD pidInst, IN PFNCALLBACK pfnCallback, IN DWORD afCmd, IN
DWORD ulRes)
+{
+ if (XEUNICODE_P)
+ return DdeInitializeW (pidInst, pfnCallback, afCmd, ulRes);
+ else
+ return DdeInitializeA (pidInst, pfnCallback, afCmd, ulRes);
+}
+
+/* Skipping DdeCreateStringHandle because error in Cygwin prototype */
+
+DWORD
+qxeDdeQueryString (IN DWORD idInst, IN HSZ hsz, IN OUT Extbyte * psz, IN DWORD cchMax, IN
int iCodePage)
+{
+ if (XEUNICODE_P)
+ return DdeQueryStringW (idInst, hsz, (IN OUT LPWSTR) psz, cchMax, iCodePage);
+ else
+ return DdeQueryStringA (idInst, hsz, (IN OUT LPSTR) psz, cchMax, iCodePage);
+}
/*----------------------------------------------------------------------*/
@@ -2178,21 +2234,21 @@
/*----------------------------------------------------------------------*/
int
-qxeAddFontResource (const Extbyte * arg1)
+qxeAddFontResource (IN const Extbyte * arg1)
{
if (XEUNICODE_P)
- return AddFontResourceW ((LPCWSTR) arg1);
+ return AddFontResourceW ((IN LPCWSTR) arg1);
else
- return AddFontResourceA ((LPCSTR) arg1);
+ return AddFontResourceA ((IN LPCSTR) arg1);
}
HMETAFILE
-qxeCopyMetaFile (HMETAFILE arg1, const Extbyte * arg2)
+qxeCopyMetaFile (IN HMETAFILE arg1, IN const Extbyte * arg2)
{
if (XEUNICODE_P)
- return CopyMetaFileW (arg1, (LPCWSTR) arg2);
+ return CopyMetaFileW (arg1, (IN LPCWSTR) arg2);
else
- return CopyMetaFileA (arg1, (LPCSTR) arg2);
+ return CopyMetaFileA (arg1, (IN LPCSTR) arg2);
}
/* Skipping CreateDC because split-sized DEVMODE */
@@ -2200,32 +2256,32 @@
/* Skipping CreateFontIndirect because split-sized LOGFONT */
HFONT
-qxeCreateFont (int arg1, int arg2, int arg3, int arg4, int arg5, DWORD arg6, DWORD arg7,
DWORD arg8, DWORD arg9, DWORD arg10, DWORD arg11, DWORD arg12, DWORD arg13, const Extbyte
* arg14)
+qxeCreateFont (IN int arg1, IN int arg2, IN int arg3, IN int arg4, IN int arg5, IN DWORD
arg6, IN DWORD arg7, IN DWORD arg8, IN DWORD arg9, IN DWORD arg10, IN DWORD arg11, IN
DWORD arg12, IN DWORD arg13, IN const Extbyte * arg14)
{
if (XEUNICODE_P)
- return CreateFontW (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
arg11, arg12, arg13, (LPCWSTR) arg14);
+ return CreateFontW (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
arg11, arg12, arg13, (IN LPCWSTR) arg14);
else
- return CreateFontA (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
arg11, arg12, arg13, (LPCSTR) arg14);
+ return CreateFontA (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
arg11, arg12, arg13, (IN LPCSTR) arg14);
}
/* Skipping CreateIC because split-sized DEVMODE */
HDC
-qxeCreateMetaFile (const Extbyte * arg1)
+qxeCreateMetaFile (IN const Extbyte * arg1)
{
if (XEUNICODE_P)
- return CreateMetaFileW ((LPCWSTR) arg1);
+ return CreateMetaFileW ((IN LPCWSTR) arg1);
else
- return CreateMetaFileA ((LPCSTR) arg1);
+ return CreateMetaFileA ((IN LPCSTR) arg1);
}
BOOL
-qxeCreateScalableFontResource (DWORD arg1, const Extbyte * arg2, const Extbyte * arg3,
const Extbyte * arg4)
+qxeCreateScalableFontResource (IN DWORD arg1, IN const Extbyte * arg2, IN const Extbyte *
arg3, IN const Extbyte * arg4)
{
if (XEUNICODE_P)
- return CreateScalableFontResourceW (arg1, (LPCWSTR) arg2, (LPCWSTR) arg3, (LPCWSTR)
arg4);
+ return CreateScalableFontResourceW (arg1, (IN LPCWSTR) arg2, (IN LPCWSTR) arg3, (IN
LPCWSTR) arg4);
else
- return CreateScalableFontResourceA (arg1, (LPCSTR) arg2, (LPCSTR) arg3, (LPCSTR)
arg4);
+ return CreateScalableFontResourceA (arg1, (IN LPCSTR) arg2, (IN LPCSTR) arg3, (IN
LPCSTR) arg4);
}
/* Skipping DeviceCapabilities because split-sized DEVMODE */
@@ -2237,7 +2293,7 @@
/* Error if EnumFonts used: split-complex FONTENUMPROC */
BOOL
-qxeGetCharWidth (HDC arg1, UINT arg2, UINT arg3, LPINT arg4)
+qxeGetCharWidth (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPINT arg4)
{
if (XEUNICODE_P)
return GetCharWidthW (arg1, arg2, arg3, arg4);
@@ -2246,7 +2302,7 @@
}
BOOL
-qxeGetCharWidth32 (HDC arg1, UINT arg2, UINT arg3, LPINT arg4)
+qxeGetCharWidth32 (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPINT arg4)
{
if (XEUNICODE_P)
return GetCharWidth32W (arg1, arg2, arg3, arg4);
@@ -2255,7 +2311,7 @@
}
BOOL
-qxeGetCharWidthFloat (HDC arg1, UINT arg2, UINT arg3, PFLOAT arg4)
+qxeGetCharWidthFloat (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT PFLOAT arg4)
{
if (XEUNICODE_P)
return GetCharWidthFloatW (arg1, arg2, arg3, arg4);
@@ -2264,7 +2320,7 @@
}
BOOL
-qxeGetCharABCWidths (HDC arg1, UINT arg2, UINT arg3, LPABC arg4)
+qxeGetCharABCWidths (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPABC arg4)
{
if (XEUNICODE_P)
return GetCharABCWidthsW (arg1, arg2, arg3, arg4);
@@ -2273,7 +2329,7 @@
}
BOOL
-qxeGetCharABCWidthsFloat (HDC arg1, UINT arg2, UINT arg3, LPABCFLOAT arg4)
+qxeGetCharABCWidthsFloat (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPABCFLOAT arg4)
{
if (XEUNICODE_P)
return GetCharABCWidthsFloatW (arg1, arg2, arg3, arg4);
@@ -2282,7 +2338,7 @@
}
DWORD
-qxeGetGlyphOutline (HDC arg1, UINT arg2, UINT arg3, LPGLYPHMETRICS arg4, DWORD arg5,
LPVOID arg6, CONST MAT2 * arg7)
+qxeGetGlyphOutline (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPGLYPHMETRICS arg4, IN
DWORD arg5, OUT LPVOID arg6, IN CONST MAT2 * arg7)
{
if (XEUNICODE_P)
return GetGlyphOutlineW (arg1, arg2, arg3, arg4, arg5, arg6, arg7);
@@ -2291,51 +2347,51 @@
}
HMETAFILE
-qxeGetMetaFile (const Extbyte * arg1)
+qxeGetMetaFile (IN const Extbyte * arg1)
{
if (XEUNICODE_P)
- return GetMetaFileW ((LPCWSTR) arg1);
+ return GetMetaFileW ((IN LPCWSTR) arg1);
else
- return GetMetaFileA ((LPCSTR) arg1);
+ return GetMetaFileA ((IN LPCSTR) arg1);
}
/* Error if GetOutlineTextMetrics used: split-sized LPOUTLINETEXTMETRIC */
BOOL
-qxeGetTextExtentPoint (HDC arg1, const Extbyte * arg2, int arg3, LPSIZE arg4)
+qxeGetTextExtentPoint (IN HDC arg1, IN const Extbyte * arg2, IN int arg3, OUT LPSIZE
arg4)
{
if (XEUNICODE_P)
- return GetTextExtentPointW (arg1, (LPCWSTR) arg2, arg3, arg4);
+ return GetTextExtentPointW (arg1, (IN LPCWSTR) arg2, arg3, arg4);
else
- return GetTextExtentPointA (arg1, (LPCSTR) arg2, arg3, arg4);
+ return GetTextExtentPointA (arg1, (IN LPCSTR) arg2, arg3, arg4);
}
BOOL
-qxeGetTextExtentPoint32 (HDC arg1, const Extbyte * arg2, int arg3, LPSIZE arg4)
+qxeGetTextExtentPoint32 (IN HDC arg1, IN const Extbyte * arg2, IN int arg3, OUT LPSIZE
arg4)
{
if (XEUNICODE_P)
- return GetTextExtentPoint32W (arg1, (LPCWSTR) arg2, arg3, arg4);
+ return GetTextExtentPoint32W (arg1, (IN LPCWSTR) arg2, arg3, arg4);
else
- return GetTextExtentPoint32A (arg1, (LPCSTR) arg2, arg3, arg4);
+ return GetTextExtentPoint32A (arg1, (IN LPCSTR) arg2, arg3, arg4);
}
BOOL
-qxeGetTextExtentExPoint (HDC arg1, const Extbyte * arg2, int arg3, int arg4, LPINT arg5,
LPINT arg6, LPSIZE arg7)
+qxeGetTextExtentExPoint (IN HDC arg1, IN const Extbyte * arg2, IN int arg3, IN int arg4,
OUT LPINT arg5, OUT LPINT arg6, OUT LPSIZE arg7)
{
if (XEUNICODE_P)
- return GetTextExtentExPointW (arg1, (LPCWSTR) arg2, arg3, arg4, arg5, arg6, arg7);
+ return GetTextExtentExPointW (arg1, (IN LPCWSTR) arg2, arg3, arg4, arg5, arg6,
arg7);
else
- return GetTextExtentExPointA (arg1, (LPCSTR) arg2, arg3, arg4, arg5, arg6, arg7);
+ return GetTextExtentExPointA (arg1, (IN LPCSTR) arg2, arg3, arg4, arg5, arg6, arg7);
}
/* NOTE: NT 4.0+ only */
DWORD
-qxeGetCharacterPlacement (HDC arg1, const Extbyte * arg2, int arg3, int arg4,
LPGCP_RESULTSW arg5, DWORD arg6)
+qxeGetCharacterPlacement (IN HDC arg1, IN const Extbyte * arg2, IN int arg3, IN int arg4,
IN OUT LPGCP_RESULTSW arg5, IN DWORD arg6)
{
if (XEUNICODE_P)
- return GetCharacterPlacementW (arg1, (LPCWSTR) arg2, arg3, arg4, arg5, arg6);
+ return GetCharacterPlacementW (arg1, (IN LPCWSTR) arg2, arg3, arg4, arg5, arg6);
else
- return GetCharacterPlacementA (arg1, (LPCSTR) arg2, arg3, arg4, (LPGCP_RESULTSA)
arg5, arg6);
+ return GetCharacterPlacementA (arg1, (IN LPCSTR) arg2, arg3, arg4, (IN OUT
LPGCP_RESULTSA) arg5, arg6);
}
/* Error if GetGlyphIndices used: NT 5.0+ only */
@@ -2349,101 +2405,101 @@
/* Skipping ResetDC because split-sized DEVMODE */
BOOL
-qxeRemoveFontResource (const Extbyte * arg1)
+qxeRemoveFontResource (IN const Extbyte * arg1)
{
if (XEUNICODE_P)
- return RemoveFontResourceW ((LPCWSTR) arg1);
+ return RemoveFontResourceW ((IN LPCWSTR) arg1);
else
- return RemoveFontResourceA ((LPCSTR) arg1);
+ return RemoveFontResourceA ((IN LPCSTR) arg1);
}
HENHMETAFILE
-qxeCopyEnhMetaFile (HENHMETAFILE arg1, const Extbyte * arg2)
+qxeCopyEnhMetaFile (IN HENHMETAFILE arg1, IN const Extbyte * arg2)
{
if (XEUNICODE_P)
- return CopyEnhMetaFileW (arg1, (LPCWSTR) arg2);
+ return CopyEnhMetaFileW (arg1, (IN LPCWSTR) arg2);
else
- return CopyEnhMetaFileA (arg1, (LPCSTR) arg2);
+ return CopyEnhMetaFileA (arg1, (IN LPCSTR) arg2);
}
HDC
-qxeCreateEnhMetaFile (HDC arg1, const Extbyte * arg2, CONST RECT * arg3, const Extbyte *
arg4)
+qxeCreateEnhMetaFile (IN HDC arg1, IN const Extbyte * arg2, IN CONST RECT * arg3, IN
const Extbyte * arg4)
{
if (XEUNICODE_P)
- return CreateEnhMetaFileW (arg1, (LPCWSTR) arg2, arg3, (LPCWSTR) arg4);
+ return CreateEnhMetaFileW (arg1, (IN LPCWSTR) arg2, arg3, (IN LPCWSTR) arg4);
else
- return CreateEnhMetaFileA (arg1, (LPCSTR) arg2, arg3, (LPCSTR) arg4);
+ return CreateEnhMetaFileA (arg1, (IN LPCSTR) arg2, arg3, (IN LPCSTR) arg4);
}
HENHMETAFILE
-qxeGetEnhMetaFile (const Extbyte * arg1)
+qxeGetEnhMetaFile (IN const Extbyte * arg1)
{
if (XEUNICODE_P)
- return GetEnhMetaFileW ((LPCWSTR) arg1);
+ return GetEnhMetaFileW ((IN LPCWSTR) arg1);
else
- return GetEnhMetaFileA ((LPCSTR) arg1);
+ return GetEnhMetaFileA ((IN LPCSTR) arg1);
}
UINT
-qxeGetEnhMetaFileDescription (HENHMETAFILE arg1, UINT arg2, Extbyte * arg3)
+qxeGetEnhMetaFileDescription (IN HENHMETAFILE arg1, IN UINT arg2, OUT Extbyte * arg3)
{
if (XEUNICODE_P)
- return GetEnhMetaFileDescriptionW (arg1, arg2, (LPWSTR) arg3);
+ return GetEnhMetaFileDescriptionW (arg1, arg2, (OUT LPWSTR) arg3);
else
- return GetEnhMetaFileDescriptionA (arg1, arg2, (LPSTR) arg3);
+ return GetEnhMetaFileDescriptionA (arg1, arg2, (OUT LPSTR) arg3);
}
/* Skipping GetTextMetrics because split-sized LPTEXTMETRIC */
int
-qxeStartDoc (HDC arg1, CONST DOCINFOW * arg2)
+qxeStartDoc (IN HDC arg1, IN CONST DOCINFOW * arg2)
{
if (XEUNICODE_P)
return StartDocW (arg1, arg2);
else
- return StartDocA (arg1, (CONST DOCINFOA *) arg2);
+ return StartDocA (arg1, (IN CONST DOCINFOA *) arg2);
}
/* Skipping GetObject because split-sized LOGFONT */
BOOL
-qxeTextOut (HDC arg1, int arg2, int arg3, const Extbyte * arg4, int arg5)
+qxeTextOut (IN HDC arg1, IN int arg2, IN int arg3, IN const Extbyte * arg4, IN int arg5)
{
if (XEUNICODE_P)
- return TextOutW (arg1, arg2, arg3, (LPCWSTR) arg4, arg5);
+ return TextOutW (arg1, arg2, arg3, (IN LPCWSTR) arg4, arg5);
else
- return TextOutA (arg1, arg2, arg3, (LPCSTR) arg4, arg5);
+ return TextOutA (arg1, arg2, arg3, (IN LPCSTR) arg4, arg5);
}
BOOL
-qxeExtTextOut (HDC arg1, int arg2, int arg3, UINT arg4, CONST RECT * arg5, const Extbyte
* arg6, UINT arg7, CONST INT * arg8)
+qxeExtTextOut (IN HDC arg1, IN int arg2, IN int arg3, IN UINT arg4, IN CONST RECT * arg5,
IN const Extbyte * arg6, IN UINT arg7, IN CONST INT * arg8)
{
if (XEUNICODE_P)
- return ExtTextOutW (arg1, arg2, arg3, arg4, arg5, (LPCWSTR) arg6, arg7, arg8);
+ return ExtTextOutW (arg1, arg2, arg3, arg4, arg5, (IN LPCWSTR) arg6, arg7, arg8);
else
- return ExtTextOutA (arg1, arg2, arg3, arg4, arg5, (LPCSTR) arg6, arg7, arg8);
+ return ExtTextOutA (arg1, arg2, arg3, arg4, arg5, (IN LPCSTR) arg6, arg7, arg8);
}
BOOL
-qxePolyTextOut (HDC arg1, CONST POLYTEXTW * arg2, int arg3)
+qxePolyTextOut (IN HDC arg1, IN CONST POLYTEXTW * arg2, IN int arg3)
{
if (XEUNICODE_P)
return PolyTextOutW (arg1, arg2, arg3);
else
- return PolyTextOutA (arg1, (CONST POLYTEXTA *) arg2, arg3);
+ return PolyTextOutA (arg1, (IN CONST POLYTEXTA *) arg2, arg3);
}
int
-qxeGetTextFace (HDC arg1, int arg2, Extbyte * arg3)
+qxeGetTextFace (IN HDC arg1, IN int arg2, OUT Extbyte * arg3)
{
if (XEUNICODE_P)
- return GetTextFaceW (arg1, arg2, (LPWSTR) arg3);
+ return GetTextFaceW (arg1, arg2, (OUT LPWSTR) arg3);
else
- return GetTextFaceA (arg1, arg2, (LPSTR) arg3);
+ return GetTextFaceA (arg1, arg2, (OUT LPSTR) arg3);
}
DWORD
-qxeGetKerningPairs (HDC arg1, DWORD arg2, LPKERNINGPAIR arg3)
+qxeGetKerningPairs (IN HDC arg1, IN DWORD arg2, OUT LPKERNINGPAIR arg3)
{
if (XEUNICODE_P)
return GetKerningPairsW (arg1, arg2, arg3);
@@ -2459,22 +2515,22 @@
/* NOTE: NT 4.0+ only */
BOOL
-qxeSetICMProfile (HDC arg1, Extbyte * arg2)
+qxeSetICMProfile (IN HDC arg1, IN Extbyte * arg2)
{
if (XEUNICODE_P)
- return SetICMProfileW (arg1, (LPWSTR) arg2);
+ return SetICMProfileW (arg1, (IN LPWSTR) arg2);
else
- return SetICMProfileA (arg1, (LPSTR) arg2);
+ return SetICMProfileA (arg1, (IN LPSTR) arg2);
}
/* NOTE: NT 4.0+ only */
int
-qxeEnumICMProfiles (HDC arg1, ICMENUMPROCW arg2, LPARAM arg3)
+qxeEnumICMProfiles (IN HDC arg1, IN ICMENUMPROCW arg2, IN LPARAM arg3)
{
if (XEUNICODE_P)
return EnumICMProfilesW (arg1, arg2, arg3);
else
- return EnumICMProfilesA (arg1, (ICMENUMPROCA) arg2, arg3);
+ return EnumICMProfilesA (arg1, (IN ICMENUMPROCA) arg2, arg3);
}
/* Skipping UpdateICMRegKey because NT 4.0+ only, error in Cygwin prototype */
@@ -2485,303 +2541,372 @@
/*----------------------------------------------------------------------*/
-/* Processing file SHLOBJ.H */
+/* Processing file WINNLS.H */
/*----------------------------------------------------------------------*/
+/* Error if GetCPInfoEx used: not used, not examined yet */
+
+/* Error if CompareString used: not used, not examined yet */
+
+/* Error if LCMapString used: not used, not examined yet */
+
+int
+qxeGetLocaleInfo (IN LCID Locale, IN LCTYPE LCType, OUT Extbyte * lpLCData, IN int
cchData)
+{
+ if (XEUNICODE_P)
+ return GetLocaleInfoW (Locale, LCType, (OUT LPWSTR) lpLCData, cchData);
+ else
+ return GetLocaleInfoA (Locale, LCType, (OUT LPSTR) lpLCData, cchData);
+}
+
BOOL
-qxeSHGetPathFromIDList (LPCITEMIDLIST pidl, Extbyte * pszPath)
+qxeSetLocaleInfo (IN LCID Locale, IN LCTYPE LCType, IN const Extbyte * lpLCData)
{
if (XEUNICODE_P)
- return SHGetPathFromIDListW (pidl, (LPWSTR) pszPath);
+ return SetLocaleInfoW (Locale, LCType, (IN LPCWSTR) lpLCData);
else
- return SHGetPathFromIDListA (pidl, (LPSTR) pszPath);
+ return SetLocaleInfoA (Locale, LCType, (IN LPCSTR) lpLCData);
}
-/* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin
libraries */
+/* Error if GetTimeFormat used: not used, not examined yet */
-/* Skipping SHBrowseForFolder because need to intercept callback for SendMessage */
+/* Error if GetDateFormat used: not used, not examined yet */
+
+/* Error if GetNumberFormat used: not used, not examined yet */
+
+/* Error if GetCurrencyFormat used: not used, not examined yet */
+
+/* Error if EnumCalendarInfo used: not used, not examined yet */
+
+/* Error if EnumCalendarInfoEx used: not used, not examined yet */
+
+/* Error if EnumTimeFormats used: not used, not examined yet */
+
+/* Error if EnumDateFormats used: not used, not examined yet */
+
+/* Error if EnumDateFormatsEx used: not used, not examined yet */
+
+/* Error if GetStringTypeEx used: not used, not examined yet */
+
+/* Error if GetStringType used: no such fun; A and W versions have different nos. of args
*/
-/* Skipping SHGetDataFromIDList because split-sized WIN32_FIND_DATA or split-simple
NETRESOURCE, missing from Cygwin libraries */
+/* Error if FoldString used: not used, not examined yet */
+
+/* Error if EnumSystemLocales used: not used, not examined yet */
+
+/* Error if EnumSystemCodePages used: not used, not examined yet */
/*----------------------------------------------------------------------*/
-/* Processing file COMMDLG.H */
+/* Processing file WINREG.H */
/*----------------------------------------------------------------------*/
-BOOL
-qxeGetOpenFileName (LPOPENFILENAMEW arg1)
+/* Skipping RegConnectRegistry because error in Cygwin prototype */
+
+LONG
+
+qxeRegCreateKey (IN HKEY hKey, IN const Extbyte * lpSubKey, OUT PHKEY phkResult)
{
if (XEUNICODE_P)
- return GetOpenFileNameW (arg1);
+ return RegCreateKeyW (hKey, (IN LPCWSTR) lpSubKey, phkResult);
else
- return GetOpenFileNameA ((LPOPENFILENAMEA) arg1);
+ return RegCreateKeyA (hKey, (IN LPCSTR) lpSubKey, phkResult);
}
-BOOL
-qxeGetSaveFileName (LPOPENFILENAMEW arg1)
+LONG
+
+qxeRegCreateKeyEx (IN HKEY hKey, IN const Extbyte * lpSubKey, IN DWORD Reserved, IN
Extbyte * lpClass, IN DWORD dwOptions, IN REGSAM samDesired, IN LPSECURITY_ATTRIBUTES
lpSecurityAttributes, OUT PHKEY phkResult, OUT LPDWORD lpdwDisposition)
{
if (XEUNICODE_P)
- return GetSaveFileNameW (arg1);
+ return RegCreateKeyExW (hKey, (IN LPCWSTR) lpSubKey, Reserved, (IN LPWSTR) lpClass,
dwOptions, samDesired, lpSecurityAttributes, phkResult, lpdwDisposition);
else
- return GetSaveFileNameA ((LPOPENFILENAMEA) arg1);
+ return RegCreateKeyExA (hKey, (IN LPCSTR) lpSubKey, Reserved, (IN LPSTR) lpClass,
dwOptions, samDesired, lpSecurityAttributes, phkResult, lpdwDisposition);
}
-short
-qxeGetFileTitle (const Extbyte * arg1, Extbyte * arg2, WORD arg3)
+LONG
+
+qxeRegDeleteKey (IN HKEY hKey, IN const Extbyte * lpSubKey)
{
if (XEUNICODE_P)
- return GetFileTitleW ((LPCWSTR) arg1, (LPWSTR) arg2, arg3);
+ return RegDeleteKeyW (hKey, (IN LPCWSTR) lpSubKey);
else
- return GetFileTitleA ((LPCSTR) arg1, (LPSTR) arg2, arg3);
+ return RegDeleteKeyA (hKey, (IN LPCSTR) lpSubKey);
}
-BOOL
-qxeChooseColor (LPCHOOSECOLORW arg1)
+LONG
+
+qxeRegDeleteValue (IN HKEY hKey, IN const Extbyte * lpValueName)
{
if (XEUNICODE_P)
- return ChooseColorW (arg1);
+ return RegDeleteValueW (hKey, (IN LPCWSTR) lpValueName);
else
- return ChooseColorA ((LPCHOOSECOLORA) arg1);
+ return RegDeleteValueA (hKey, (IN LPCSTR) lpValueName);
}
-HWND
-qxeFindText (LPFINDREPLACEW arg1)
+LONG
+
+qxeRegEnumKey (IN HKEY hKey, IN DWORD dwIndex, OUT Extbyte * lpName, IN DWORD cbName)
{
if (XEUNICODE_P)
- return FindTextW (arg1);
+ return RegEnumKeyW (hKey, dwIndex, (OUT LPWSTR) lpName, cbName);
else
- return FindTextA ((LPFINDREPLACEA) arg1);
+ return RegEnumKeyA (hKey, dwIndex, (OUT LPSTR) lpName, cbName);
}
-HWND
-qxeReplaceText (LPFINDREPLACEW arg1)
+LONG
+
+qxeRegEnumKeyEx (IN HKEY hKey, IN DWORD dwIndex, OUT Extbyte * lpName, IN OUT LPDWORD
lpcbName, IN LPDWORD lpReserved, IN OUT Extbyte * lpClass, IN OUT LPDWORD lpcbClass, OUT
PFILETIME lpftLastWriteTime)
{
if (XEUNICODE_P)
- return ReplaceTextW (arg1);
+ return RegEnumKeyExW (hKey, dwIndex, (OUT LPWSTR) lpName, lpcbName, lpReserved, (IN
OUT LPWSTR) lpClass, lpcbClass, lpftLastWriteTime);
else
- return ReplaceTextA ((LPFINDREPLACEA) arg1);
+ return RegEnumKeyExA (hKey, dwIndex, (OUT LPSTR) lpName, lpcbName, lpReserved, (IN
OUT LPSTR) lpClass, lpcbClass, lpftLastWriteTime);
}
-/* Error if AfxReplaceText used: mac only */
+LONG
-/* Error if ChooseFont used: split-sized LPLOGFONT in LPCHOOSEFONT */
+qxeRegEnumValue (IN HKEY hKey, IN DWORD dwIndex, OUT Extbyte * lpValueName, IN OUT
LPDWORD lpcbValueName, IN LPDWORD lpReserved, OUT LPDWORD lpType, OUT LPBYTE lpData, IN
OUT LPDWORD lpcbData)
+{
+ if (XEUNICODE_P)
+ return RegEnumValueW (hKey, dwIndex, (OUT LPWSTR) lpValueName, lpcbValueName,
lpReserved, lpType, lpData, lpcbData);
+ else
+ return RegEnumValueA (hKey, dwIndex, (OUT LPSTR) lpValueName, lpcbValueName,
lpReserved, lpType, lpData, lpcbData);
+}
-/* Skipping PrintDlg because LPPRINTDLG with split-sized DEVMODE handle */
+LONG
-/* Skipping PageSetupDlg because LPPAGESETUPDLG with split-sized DEVMODE handle */
+qxeRegLoadKey (IN HKEY hKey, IN const Extbyte * lpSubKey, IN const Extbyte * lpFile)
+{
+ if (XEUNICODE_P)
+ return RegLoadKeyW (hKey, (IN LPCWSTR) lpSubKey, (IN LPCWSTR) lpFile);
+ else
+ return RegLoadKeyA (hKey, (IN LPCSTR) lpSubKey, (IN LPCSTR) lpFile);
+}
+LONG
-/*----------------------------------------------------------------------*/
-/* Processing file IMM.H */
-/*----------------------------------------------------------------------*/
+qxeRegOpenKey (IN HKEY hKey, IN const Extbyte * lpSubKey, OUT PHKEY phkResult)
+{
+ if (XEUNICODE_P)
+ return RegOpenKeyW (hKey, (IN LPCWSTR) lpSubKey, phkResult);
+ else
+ return RegOpenKeyA (hKey, (IN LPCSTR) lpSubKey, phkResult);
+}
-#if defined (HAVE_MS_WINDOWS)
+LONG
-HKL
-qxeImmInstallIME (const Extbyte * lpszIMEFileName, const Extbyte * lpszLayoutText)
+qxeRegOpenKeyEx (IN HKEY hKey, IN const Extbyte * lpSubKey, IN DWORD ulOptions, IN REGSAM
samDesired, OUT PHKEY phkResult)
+{
+ if (XEUNICODE_P)
+ return RegOpenKeyExW (hKey, (IN LPCWSTR) lpSubKey, ulOptions, samDesired,
phkResult);
+ else
+ return RegOpenKeyExA (hKey, (IN LPCSTR) lpSubKey, ulOptions, samDesired, phkResult);
+}
+
+LONG
+
+qxeRegQueryInfoKey (IN HKEY hKey, OUT Extbyte * lpClass, IN OUT LPDWORD lpcbClass, IN
LPDWORD lpReserved, OUT LPDWORD lpcSubKeys, OUT LPDWORD lpcbMaxSubKeyLen, OUT LPDWORD
lpcbMaxClassLen, OUT LPDWORD lpcValues, OUT LPDWORD lpcbMaxValueNameLen, OUT LPDWORD
lpcbMaxValueLen, OUT LPDWORD lpcbSecurityDescriptor, OUT PFILETIME lpftLastWriteTime)
+{
+ if (XEUNICODE_P)
+ return RegQueryInfoKeyW (hKey, (OUT LPWSTR) lpClass, lpcbClass, lpReserved,
lpcSubKeys, lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen,
lpcbMaxValueLen, lpcbSecurityDescriptor, lpftLastWriteTime);
+ else
+ return RegQueryInfoKeyA (hKey, (OUT LPSTR) lpClass, lpcbClass, lpReserved,
lpcSubKeys, lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen,
lpcbMaxValueLen, lpcbSecurityDescriptor, lpftLastWriteTime);
+}
+
+LONG
+
+qxeRegQueryValue (IN HKEY hKey, IN const Extbyte * lpSubKey, OUT Extbyte * lpValue, IN
OUT PLONG lpcbValue)
+{
+ if (XEUNICODE_P)
+ return RegQueryValueW (hKey, (IN LPCWSTR) lpSubKey, (OUT LPWSTR) lpValue,
lpcbValue);
+ else
+ return RegQueryValueA (hKey, (IN LPCSTR) lpSubKey, (OUT LPSTR) lpValue, lpcbValue);
+}
+
+LONG
+
+qxeRegQueryMultipleValues (IN HKEY hKey, OUT PVALENTW val_list, IN DWORD num_vals, OUT
Extbyte * lpValueBuf, IN OUT LPDWORD ldwTotsize)
+{
+ if (XEUNICODE_P)
+ return RegQueryMultipleValuesW (hKey, val_list, num_vals, (OUT LPWSTR) lpValueBuf,
ldwTotsize);
+ else
+ return RegQueryMultipleValuesA (hKey, (OUT PVALENTA) val_list, num_vals, (OUT LPSTR)
lpValueBuf, ldwTotsize);
+}
+
+LONG
+
+qxeRegQueryValueEx (IN HKEY hKey, IN const Extbyte * lpValueName, IN LPDWORD lpReserved,
OUT LPDWORD lpType, IN OUT LPBYTE lpData, IN OUT LPDWORD lpcbData)
{
if (XEUNICODE_P)
- return ImmInstallIMEW ((LPCWSTR) lpszIMEFileName, (LPCWSTR) lpszLayoutText);
+ return RegQueryValueExW (hKey, (IN LPCWSTR) lpValueName, lpReserved, lpType, lpData,
lpcbData);
else
- return ImmInstallIMEA ((LPCSTR) lpszIMEFileName, (LPCSTR) lpszLayoutText);
+ return RegQueryValueExA (hKey, (IN LPCSTR) lpValueName, lpReserved, lpType, lpData,
lpcbData);
}
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
+LONG
-UINT
-qxeImmGetDescription (HKL arg1, Extbyte * arg2, UINT uBufLen)
+qxeRegReplaceKey (IN HKEY hKey, IN const Extbyte * lpSubKey, IN const Extbyte *
lpNewFile, IN const Extbyte * lpOldFile)
{
if (XEUNICODE_P)
- return ImmGetDescriptionW (arg1, (LPWSTR) arg2, uBufLen);
+ return RegReplaceKeyW (hKey, (IN LPCWSTR) lpSubKey, (IN LPCWSTR) lpNewFile, (IN
LPCWSTR) lpOldFile);
else
- return ImmGetDescriptionA (arg1, (LPSTR) arg2, uBufLen);
+ return RegReplaceKeyA (hKey, (IN LPCSTR) lpSubKey, (IN LPCSTR) lpNewFile, (IN LPCSTR)
lpOldFile);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
+LONG
-UINT
-qxeImmGetIMEFileName (HKL arg1, Extbyte * arg2, UINT uBufLen)
+qxeRegRestoreKey (IN HKEY hKey, IN const Extbyte * lpFile, IN DWORD dwFlags)
{
if (XEUNICODE_P)
- return ImmGetIMEFileNameW (arg1, (LPWSTR) arg2, uBufLen);
+ return RegRestoreKeyW (hKey, (IN LPCWSTR) lpFile, dwFlags);
else
- return ImmGetIMEFileNameA (arg1, (LPSTR) arg2, uBufLen);
+ return RegRestoreKeyA (hKey, (IN LPCSTR) lpFile, dwFlags);
}
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-
LONG
-qxeImmGetCompositionString (HIMC arg1, DWORD arg2, LPVOID arg3, DWORD arg4)
+
+qxeRegSaveKey (IN HKEY hKey, IN const Extbyte * lpFile, IN LPSECURITY_ATTRIBUTES
lpSecurityAttributes)
{
if (XEUNICODE_P)
- return ImmGetCompositionStringW (arg1, arg2, arg3, arg4);
+ return RegSaveKeyW (hKey, (IN LPCWSTR) lpFile, lpSecurityAttributes);
else
- return ImmGetCompositionStringA (arg1, arg2, arg3, arg4);
+ return RegSaveKeyA (hKey, (IN LPCSTR) lpFile, lpSecurityAttributes);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
+LONG
-DWORD
-qxeImmGetCandidateListCount (HIMC arg1, LPDWORD lpdwListCount)
+qxeRegSetValue (IN HKEY hKey, IN const Extbyte * lpSubKey, IN DWORD dwType, IN const
Extbyte * lpData, IN DWORD cbData)
{
if (XEUNICODE_P)
- return ImmGetCandidateListCountW (arg1, lpdwListCount);
+ return RegSetValueW (hKey, (IN LPCWSTR) lpSubKey, dwType, (IN LPCWSTR) lpData,
cbData);
else
- return ImmGetCandidateListCountA (arg1, lpdwListCount);
+ return RegSetValueA (hKey, (IN LPCSTR) lpSubKey, dwType, (IN LPCSTR) lpData,
cbData);
}
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
+LONG
-DWORD
-qxeImmGetCandidateList (HIMC arg1, DWORD deIndex, LPCANDIDATELIST arg3, DWORD dwBufLen)
+qxeRegSetValueEx (IN HKEY hKey, IN const Extbyte * lpValueName, IN DWORD Reserved, IN
DWORD dwType, IN CONST BYTE* lpData, IN DWORD cbData)
{
if (XEUNICODE_P)
- return ImmGetCandidateListW (arg1, deIndex, arg3, dwBufLen);
+ return RegSetValueExW (hKey, (IN LPCWSTR) lpValueName, Reserved, dwType, lpData,
cbData);
else
- return ImmGetCandidateListA (arg1, deIndex, arg3, dwBufLen);
+ return RegSetValueExA (hKey, (IN LPCSTR) lpValueName, Reserved, dwType, lpData,
cbData);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
+LONG
-DWORD
-qxeImmGetGuideLine (HIMC arg1, DWORD dwIndex, Extbyte * arg3, DWORD dwBufLen)
+qxeRegUnLoadKey (IN HKEY hKey, IN const Extbyte * lpSubKey)
{
if (XEUNICODE_P)
- return ImmGetGuideLineW (arg1, dwIndex, (LPWSTR) arg3, dwBufLen);
+ return RegUnLoadKeyW (hKey, (IN LPCWSTR) lpSubKey);
else
- return ImmGetGuideLineA (arg1, dwIndex, (LPSTR) arg3, dwBufLen);
+ return RegUnLoadKeyA (hKey, (IN LPCSTR) lpSubKey);
}
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-
-/* Skipping ImmGetCompositionFont because split-sized LOGFONT */
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-
-/* Skipping ImmSetCompositionFont because split-sized LOGFONT */
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-
-/* NOTE: // split-simple REGISTERWORD */
BOOL
-qxeImmConfigureIME (HKL arg1, HWND arg2, DWORD arg3, LPVOID arg4)
+
+qxeInitiateSystemShutdown (IN Extbyte * lpMachineName, IN Extbyte * lpMessage, IN DWORD
dwTimeout, IN BOOL bForceAppsClosed, IN BOOL bRebootAfterShutdown)
{
if (XEUNICODE_P)
- return ImmConfigureIMEW (arg1, arg2, arg3, arg4);
+ return InitiateSystemShutdownW ((IN LPWSTR) lpMachineName, (IN LPWSTR) lpMessage,
dwTimeout, bForceAppsClosed, bRebootAfterShutdown);
else
- return ImmConfigureIMEA (arg1, arg2, arg3, arg4);
+ return InitiateSystemShutdownA ((IN LPSTR) lpMachineName, (IN LPSTR) lpMessage,
dwTimeout, bForceAppsClosed, bRebootAfterShutdown);
}
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
+BOOL
-/* NOTE: // strings of various sorts */
-LRESULT
-qxeImmEscape (HKL arg1, HIMC arg2, UINT arg3, LPVOID arg4)
+qxeAbortSystemShutdown (IN Extbyte * lpMachineName)
{
if (XEUNICODE_P)
- return ImmEscapeW (arg1, arg2, arg3, arg4);
+ return AbortSystemShutdownW ((IN LPWSTR) lpMachineName);
else
- return ImmEscapeA (arg1, arg2, arg3, arg4);
+ return AbortSystemShutdownA ((IN LPSTR) lpMachineName);
}
-#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
+/*----------------------------------------------------------------------*/
+/* Processing file COMMDLG.H */
+/*----------------------------------------------------------------------*/
-DWORD
-qxeImmGetConversionList (HKL arg1, HIMC arg2, const Extbyte * arg3, LPCANDIDATELIST arg4,
DWORD dwBufLen, UINT uFlag)
+BOOL
+qxeGetOpenFileName (LPOPENFILENAMEW arg1)
{
if (XEUNICODE_P)
- return ImmGetConversionListW (arg1, arg2, (LPCWSTR) arg3, arg4, dwBufLen, uFlag);
+ return GetOpenFileNameW (arg1);
else
- return ImmGetConversionListA (arg1, arg2, (LPCSTR) arg3, arg4, dwBufLen, uFlag);
+ return GetOpenFileNameA ((LPOPENFILENAMEA) arg1);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
-
-BOOL
-qxeImmIsUIMessage (HWND arg1, UINT arg2, WPARAM arg3, LPARAM arg4)
+BOOL
+qxeGetSaveFileName (LPOPENFILENAMEW arg1)
{
if (XEUNICODE_P)
- return ImmIsUIMessageW (arg1, arg2, arg3, arg4);
+ return GetSaveFileNameW (arg1);
else
- return ImmIsUIMessageA (arg1, arg2, arg3, arg4);
+ return GetSaveFileNameA ((LPOPENFILENAMEA) arg1);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-BOOL
-qxeImmRegisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const Extbyte *
lpszRegister)
+short
+qxeGetFileTitle (const Extbyte * arg1, Extbyte * arg2, WORD arg3)
{
if (XEUNICODE_P)
- return ImmRegisterWordW (arg1, (LPCWSTR) lpszReading, arg3, (LPCWSTR) lpszRegister);
+ return GetFileTitleW ((LPCWSTR) arg1, (LPWSTR) arg2, arg3);
else
- return ImmRegisterWordA (arg1, (LPCSTR) lpszReading, arg3, (LPCSTR) lpszRegister);
+ return GetFileTitleA ((LPCSTR) arg1, (LPSTR) arg2, arg3);
}
-#endif /* defined (HAVE_MS_WINDOWS) */
+BOOL
+qxeChooseColor (LPCHOOSECOLORW arg1)
+{
+ if (XEUNICODE_P)
+ return ChooseColorW (arg1);
+ else
+ return ChooseColorA ((LPCHOOSECOLORA) arg1);
+}
-#if defined (HAVE_MS_WINDOWS)
+HWND
+qxeFindText (LPFINDREPLACEW arg1)
+{
+ if (XEUNICODE_P)
+ return FindTextW (arg1);
+ else
+ return FindTextA ((LPFINDREPLACEA) arg1);
+}
-BOOL
-qxeImmUnregisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const Extbyte *
lpszUnregister)
+HWND
+qxeReplaceText (LPFINDREPLACEW arg1)
{
if (XEUNICODE_P)
- return ImmUnregisterWordW (arg1, (LPCWSTR) lpszReading, arg3, (LPCWSTR)
lpszUnregister);
+ return ReplaceTextW (arg1);
else
- return ImmUnregisterWordA (arg1, (LPCSTR) lpszReading, arg3, (LPCSTR)
lpszUnregister);
+ return ReplaceTextA ((LPFINDREPLACEA) arg1);
}
-#endif /* defined (HAVE_MS_WINDOWS) */
+/* Error if AfxReplaceText used: mac only */
-#if defined (HAVE_MS_WINDOWS)
+/* Error if ChooseFont used: split-sized LPLOGFONT in LPCHOOSEFONT */
-/* Error if ImmGetRegisterWordStyle used: split-sized STYLEBUF */
+/* Skipping PrintDlg because LPPRINTDLG with split-sized DEVMODE handle */
-#endif /* defined (HAVE_MS_WINDOWS) */
+/* Skipping PageSetupDlg because LPPAGESETUPDLG with split-sized DEVMODE handle */
-#if defined (HAVE_MS_WINDOWS)
-UINT
-qxeImmEnumRegisterWord (HKL arg1, REGISTERWORDENUMPROCW arg2, const Extbyte *
lpszReading, DWORD arg4, const Extbyte * lpszRegister, LPVOID arg6)
+/*----------------------------------------------------------------------*/
+/* Processing file SHLOBJ.H */
+/*----------------------------------------------------------------------*/
+
+BOOL
+qxeSHGetPathFromIDList (LPCITEMIDLIST pidl, Extbyte * pszPath)
{
if (XEUNICODE_P)
- return ImmEnumRegisterWordW (arg1, arg2, (LPCWSTR) lpszReading, arg4, (LPCWSTR)
lpszRegister, arg6);
+ return SHGetPathFromIDListW (pidl, (LPWSTR) pszPath);
else
- return ImmEnumRegisterWordA (arg1, (REGISTERWORDENUMPROCA) arg2, (LPCSTR)
lpszReading, arg4, (LPCSTR) lpszRegister, arg6);
+ return SHGetPathFromIDListA (pidl, (LPSTR) pszPath);
}
-
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-/* Error if ImmGetImeMenuItems used: split-sized IMEMENUITEMINFO */
+/* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin
libraries */
-#endif /* defined (HAVE_MS_WINDOWS) */
+/* Skipping SHBrowseForFolder because need to intercept callback for SendMessage */
/*----------------------------------------------------------------------*/
@@ -2789,21 +2914,21 @@
/*----------------------------------------------------------------------*/
BOOL
-qxeGetBinaryType (const Extbyte * lpApplicationName, LPDWORD lpBinaryType)
+qxeGetBinaryType (IN const Extbyte * lpApplicationName, OUT LPDWORD lpBinaryType)
{
if (XEUNICODE_P)
- return GetBinaryTypeW ((LPCWSTR) lpApplicationName, lpBinaryType);
+ return GetBinaryTypeW ((IN LPCWSTR) lpApplicationName, lpBinaryType);
else
- return GetBinaryTypeA ((LPCSTR) lpApplicationName, lpBinaryType);
+ return GetBinaryTypeA ((IN LPCSTR) lpApplicationName, lpBinaryType);
}
DWORD
-qxeGetShortPathName (const Extbyte * lpszLongPath, Extbyte * lpszShortPath, DWORD
cchBuffer)
+qxeGetShortPathName (IN const Extbyte * lpszLongPath, OUT Extbyte * lpszShortPath, IN
DWORD cchBuffer)
{
if (XEUNICODE_P)
- return GetShortPathNameW ((LPCWSTR) lpszLongPath, (LPWSTR) lpszShortPath,
cchBuffer);
+ return GetShortPathNameW ((IN LPCWSTR) lpszLongPath, (OUT LPWSTR) lpszShortPath,
cchBuffer);
else
- return GetShortPathNameA ((LPCSTR) lpszLongPath, (LPSTR) lpszShortPath, cchBuffer);
+ return GetShortPathNameA ((IN LPCSTR) lpszLongPath, (OUT LPSTR) lpszShortPath,
cchBuffer);
}
/* Error if GetLongPathName used: Win98/2K+ only */
@@ -2811,30 +2936,30 @@
/* Skipping GetEnvironmentStrings because misnamed ANSI version of the function */
BOOL
-qxeFreeEnvironmentStrings (Extbyte * arg1)
+qxeFreeEnvironmentStrings (IN Extbyte * arg1)
{
if (XEUNICODE_P)
- return FreeEnvironmentStringsW ((LPWSTR) arg1);
+ return FreeEnvironmentStringsW ((IN LPWSTR) arg1);
else
- return FreeEnvironmentStringsA ((LPSTR) arg1);
+ return FreeEnvironmentStringsA ((IN LPSTR) arg1);
}
DWORD
-qxeFormatMessage (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId,
Extbyte * lpBuffer, DWORD nSize, va_list * Arguments)
+qxeFormatMessage (IN DWORD dwFlags, IN LPCVOID lpSource, IN DWORD dwMessageId, IN DWORD
dwLanguageId, OUT Extbyte * lpBuffer, IN DWORD nSize, IN va_list * Arguments)
{
if (XEUNICODE_P)
- return FormatMessageW (dwFlags, lpSource, dwMessageId, dwLanguageId, (LPWSTR)
lpBuffer, nSize, Arguments);
+ return FormatMessageW (dwFlags, lpSource, dwMessageId, dwLanguageId, (OUT LPWSTR)
lpBuffer, nSize, Arguments);
else
- return FormatMessageA (dwFlags, lpSource, dwMessageId, dwLanguageId, (LPSTR)
lpBuffer, nSize, Arguments);
+ return FormatMessageA (dwFlags, lpSource, dwMessageId, dwLanguageId, (OUT LPSTR)
lpBuffer, nSize, Arguments);
}
HANDLE
-qxeCreateMailslot (const Extbyte * lpName, DWORD nMaxMessageSize, DWORD lReadTimeout,
LPSECURITY_ATTRIBUTES lpSecurityAttributes)
+qxeCreateMailslot (IN const Extbyte * lpName, IN DWORD nMaxMessageSize, IN DWORD
lReadTimeout, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
{
if (XEUNICODE_P)
- return CreateMailslotW ((LPCWSTR) lpName, nMaxMessageSize, lReadTimeout,
lpSecurityAttributes);
+ return CreateMailslotW ((IN LPCWSTR) lpName, nMaxMessageSize, lReadTimeout,
lpSecurityAttributes);
else
- return CreateMailslotA ((LPCSTR) lpName, nMaxMessageSize, lReadTimeout,
lpSecurityAttributes);
+ return CreateMailslotA ((IN LPCSTR) lpName, nMaxMessageSize, lReadTimeout,
lpSecurityAttributes);
}
#if !defined (CYGWIN_HEADERS)
@@ -2849,224 +2974,220 @@
#endif /* !defined (CYGWIN_HEADERS) */
-/* Error if OpenRaw used: error "The procedure entry point OpenRawW could not be
located in the dynamic link library ADVAPI32.dll." */
-
-/* Error if QueryRecoveryAgents used: split-sized LPRECOVERY_AGENT_INFORMATION */
-
int
-qxelstrcmp (const Extbyte * lpString1, const Extbyte * lpString2)
+qxelstrcmp (IN const Extbyte * lpString1, IN const Extbyte * lpString2)
{
if (XEUNICODE_P)
- return lstrcmpW ((LPCWSTR) lpString1, (LPCWSTR) lpString2);
+ return lstrcmpW ((IN LPCWSTR) lpString1, (IN LPCWSTR) lpString2);
else
- return lstrcmpA ((LPCSTR) lpString1, (LPCSTR) lpString2);
+ return lstrcmpA ((IN LPCSTR) lpString1, (IN LPCSTR) lpString2);
}
int
-qxelstrcmpi (const Extbyte * lpString1, const Extbyte * lpString2)
+qxelstrcmpi (IN const Extbyte * lpString1, IN const Extbyte * lpString2)
{
if (XEUNICODE_P)
- return lstrcmpiW ((LPCWSTR) lpString1, (LPCWSTR) lpString2);
+ return lstrcmpiW ((IN LPCWSTR) lpString1, (IN LPCWSTR) lpString2);
else
- return lstrcmpiA ((LPCSTR) lpString1, (LPCSTR) lpString2);
+ return lstrcmpiA ((IN LPCSTR) lpString1, (IN LPCSTR) lpString2);
}
Extbyte *
-qxelstrcpyn (Extbyte * lpString1, const Extbyte * lpString2, int iMaxLength)
+qxelstrcpyn (OUT Extbyte * lpString1, IN const Extbyte * lpString2, IN int iMaxLength)
{
if (XEUNICODE_P)
- return (Extbyte *) lstrcpynW ((LPWSTR) lpString1, (LPCWSTR) lpString2, iMaxLength);
+ return (Extbyte *) lstrcpynW ((OUT LPWSTR) lpString1, (IN LPCWSTR) lpString2,
iMaxLength);
else
- return (Extbyte *) lstrcpynA ((LPSTR) lpString1, (LPCSTR) lpString2, iMaxLength);
+ return (Extbyte *) lstrcpynA ((OUT LPSTR) lpString1, (IN LPCSTR) lpString2,
iMaxLength);
}
Extbyte *
-qxelstrcpy (Extbyte * lpString1, const Extbyte * lpString2)
+qxelstrcpy (OUT Extbyte * lpString1, IN const Extbyte * lpString2)
{
if (XEUNICODE_P)
- return (Extbyte *) lstrcpyW ((LPWSTR) lpString1, (LPCWSTR) lpString2);
+ return (Extbyte *) lstrcpyW ((OUT LPWSTR) lpString1, (IN LPCWSTR) lpString2);
else
- return (Extbyte *) lstrcpyA ((LPSTR) lpString1, (LPCSTR) lpString2);
+ return (Extbyte *) lstrcpyA ((OUT LPSTR) lpString1, (IN LPCSTR) lpString2);
}
Extbyte *
-qxelstrcat (Extbyte * lpString1, const Extbyte * lpString2)
+qxelstrcat (IN OUT Extbyte * lpString1, IN const Extbyte * lpString2)
{
if (XEUNICODE_P)
- return (Extbyte *) lstrcatW ((LPWSTR) lpString1, (LPCWSTR) lpString2);
+ return (Extbyte *) lstrcatW ((IN OUT LPWSTR) lpString1, (IN LPCWSTR) lpString2);
else
- return (Extbyte *) lstrcatA ((LPSTR) lpString1, (LPCSTR) lpString2);
+ return (Extbyte *) lstrcatA ((IN OUT LPSTR) lpString1, (IN LPCSTR) lpString2);
}
int
-qxelstrlen (const Extbyte * lpString)
+qxelstrlen (IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return lstrlenW ((LPCWSTR) lpString);
+ return lstrlenW ((IN LPCWSTR) lpString);
else
- return lstrlenA ((LPCSTR) lpString);
+ return lstrlenA ((IN LPCSTR) lpString);
}
HANDLE
-qxeCreateMutex (LPSECURITY_ATTRIBUTES lpMutexAttributes, BOOL bInitialOwner, const
Extbyte * lpName)
+qxeCreateMutex (IN LPSECURITY_ATTRIBUTES lpMutexAttributes, IN BOOL bInitialOwner, IN
const Extbyte * lpName)
{
if (XEUNICODE_P)
- return CreateMutexW (lpMutexAttributes, bInitialOwner, (LPCWSTR) lpName);
+ return CreateMutexW (lpMutexAttributes, bInitialOwner, (IN LPCWSTR) lpName);
else
- return CreateMutexA (lpMutexAttributes, bInitialOwner, (LPCSTR) lpName);
+ return CreateMutexA (lpMutexAttributes, bInitialOwner, (IN LPCSTR) lpName);
}
HANDLE
-qxeOpenMutex (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName)
+qxeOpenMutex (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const Extbyte *
lpName)
{
if (XEUNICODE_P)
- return OpenMutexW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpName);
+ return OpenMutexW (dwDesiredAccess, bInheritHandle, (IN LPCWSTR) lpName);
else
- return OpenMutexA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpName);
+ return OpenMutexA (dwDesiredAccess, bInheritHandle, (IN LPCSTR) lpName);
}
HANDLE
-qxeCreateEvent (LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL
bInitialState, const Extbyte * lpName)
+qxeCreateEvent (IN LPSECURITY_ATTRIBUTES lpEventAttributes, IN BOOL bManualReset, IN BOOL
bInitialState, IN const Extbyte * lpName)
{
if (XEUNICODE_P)
- return CreateEventW (lpEventAttributes, bManualReset, bInitialState, (LPCWSTR)
lpName);
+ return CreateEventW (lpEventAttributes, bManualReset, bInitialState, (IN LPCWSTR)
lpName);
else
- return CreateEventA (lpEventAttributes, bManualReset, bInitialState, (LPCSTR)
lpName);
+ return CreateEventA (lpEventAttributes, bManualReset, bInitialState, (IN LPCSTR)
lpName);
}
HANDLE
-qxeOpenEvent (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName)
+qxeOpenEvent (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const Extbyte *
lpName)
{
if (XEUNICODE_P)
- return OpenEventW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpName);
+ return OpenEventW (dwDesiredAccess, bInheritHandle, (IN LPCWSTR) lpName);
else
- return OpenEventA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpName);
+ return OpenEventA (dwDesiredAccess, bInheritHandle, (IN LPCSTR) lpName);
}
HANDLE
-qxeCreateSemaphore (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG
lMaximumCount, const Extbyte * lpName)
+qxeCreateSemaphore (IN LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, IN LONG
lInitialCount, IN LONG lMaximumCount, IN const Extbyte * lpName)
{
if (XEUNICODE_P)
- return CreateSemaphoreW (lpSemaphoreAttributes, lInitialCount, lMaximumCount,
(LPCWSTR) lpName);
+ return CreateSemaphoreW (lpSemaphoreAttributes, lInitialCount, lMaximumCount, (IN
LPCWSTR) lpName);
else
- return CreateSemaphoreA (lpSemaphoreAttributes, lInitialCount, lMaximumCount,
(LPCSTR) lpName);
+ return CreateSemaphoreA (lpSemaphoreAttributes, lInitialCount, lMaximumCount, (IN
LPCSTR) lpName);
}
HANDLE
-qxeOpenSemaphore (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName)
+qxeOpenSemaphore (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const Extbyte *
lpName)
{
if (XEUNICODE_P)
- return OpenSemaphoreW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpName);
+ return OpenSemaphoreW (dwDesiredAccess, bInheritHandle, (IN LPCWSTR) lpName);
else
- return OpenSemaphoreA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpName);
+ return OpenSemaphoreA (dwDesiredAccess, bInheritHandle, (IN LPCSTR) lpName);
}
HANDLE
-qxeCreateWaitableTimer (LPSECURITY_ATTRIBUTES lpTimerAttributes, BOOL bManualReset, const
Extbyte * lpTimerName)
+qxeCreateWaitableTimer (IN LPSECURITY_ATTRIBUTES lpTimerAttributes, IN BOOL bManualReset,
IN const Extbyte * lpTimerName)
{
if (XEUNICODE_P)
- return CreateWaitableTimerW (lpTimerAttributes, bManualReset, (LPCWSTR)
lpTimerName);
+ return CreateWaitableTimerW (lpTimerAttributes, bManualReset, (IN LPCWSTR)
lpTimerName);
else
- return CreateWaitableTimerA (lpTimerAttributes, bManualReset, (LPCSTR) lpTimerName);
+ return CreateWaitableTimerA (lpTimerAttributes, bManualReset, (IN LPCSTR)
lpTimerName);
}
HANDLE
-qxeOpenWaitableTimer (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte *
lpTimerName)
+qxeOpenWaitableTimer (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const Extbyte
* lpTimerName)
{
if (XEUNICODE_P)
- return OpenWaitableTimerW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpTimerName);
+ return OpenWaitableTimerW (dwDesiredAccess, bInheritHandle, (IN LPCWSTR)
lpTimerName);
else
- return OpenWaitableTimerA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpTimerName);
+ return OpenWaitableTimerA (dwDesiredAccess, bInheritHandle, (IN LPCSTR)
lpTimerName);
}
HANDLE
-qxeCreateFileMapping (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD
flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, const Extbyte * lpName)
+qxeCreateFileMapping (IN HANDLE hFile, IN LPSECURITY_ATTRIBUTES lpFileMappingAttributes,
IN DWORD flProtect, IN DWORD dwMaximumSizeHigh, IN DWORD dwMaximumSizeLow, IN const
Extbyte * lpName)
{
if (XEUNICODE_P)
- return CreateFileMappingW (hFile, lpFileMappingAttributes, flProtect,
dwMaximumSizeHigh, dwMaximumSizeLow, (LPCWSTR) lpName);
+ return CreateFileMappingW (hFile, lpFileMappingAttributes, flProtect,
dwMaximumSizeHigh, dwMaximumSizeLow, (IN LPCWSTR) lpName);
else
- return CreateFileMappingA (hFile, lpFileMappingAttributes, flProtect,
dwMaximumSizeHigh, dwMaximumSizeLow, (LPCSTR) lpName);
+ return CreateFileMappingA (hFile, lpFileMappingAttributes, flProtect,
dwMaximumSizeHigh, dwMaximumSizeLow, (IN LPCSTR) lpName);
}
HANDLE
-qxeOpenFileMapping (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte * lpName)
+qxeOpenFileMapping (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const Extbyte *
lpName)
{
if (XEUNICODE_P)
- return OpenFileMappingW (dwDesiredAccess, bInheritHandle, (LPCWSTR) lpName);
+ return OpenFileMappingW (dwDesiredAccess, bInheritHandle, (IN LPCWSTR) lpName);
else
- return OpenFileMappingA (dwDesiredAccess, bInheritHandle, (LPCSTR) lpName);
+ return OpenFileMappingA (dwDesiredAccess, bInheritHandle, (IN LPCSTR) lpName);
}
DWORD
-qxeGetLogicalDriveStrings (DWORD nBufferLength, Extbyte * lpBuffer)
+qxeGetLogicalDriveStrings (IN DWORD nBufferLength, OUT Extbyte * lpBuffer)
{
if (XEUNICODE_P)
- return GetLogicalDriveStringsW (nBufferLength, (LPWSTR) lpBuffer);
+ return GetLogicalDriveStringsW (nBufferLength, (OUT LPWSTR) lpBuffer);
else
- return GetLogicalDriveStringsA (nBufferLength, (LPSTR) lpBuffer);
+ return GetLogicalDriveStringsA (nBufferLength, (OUT LPSTR) lpBuffer);
}
HMODULE
-qxeLoadLibrary (const Extbyte * lpLibFileName)
+qxeLoadLibrary (IN const Extbyte * lpLibFileName)
{
if (XEUNICODE_P)
- return LoadLibraryW ((LPCWSTR) lpLibFileName);
+ return LoadLibraryW ((IN LPCWSTR) lpLibFileName);
else
- return LoadLibraryA ((LPCSTR) lpLibFileName);
+ return LoadLibraryA ((IN LPCSTR) lpLibFileName);
}
HMODULE
-qxeLoadLibraryEx (const Extbyte * lpLibFileName, HANDLE hFile, DWORD dwFlags)
+qxeLoadLibraryEx (IN const Extbyte * lpLibFileName, IN HANDLE hFile, IN DWORD dwFlags)
{
if (XEUNICODE_P)
- return LoadLibraryExW ((LPCWSTR) lpLibFileName, hFile, dwFlags);
+ return LoadLibraryExW ((IN LPCWSTR) lpLibFileName, hFile, dwFlags);
else
- return LoadLibraryExA ((LPCSTR) lpLibFileName, hFile, dwFlags);
+ return LoadLibraryExA ((IN LPCSTR) lpLibFileName, hFile, dwFlags);
}
DWORD
-qxeGetModuleFileName (HMODULE hModule, Extbyte * lpFilename, DWORD nSize)
+qxeGetModuleFileName (IN HMODULE hModule, OUT Extbyte * lpFilename, IN DWORD nSize)
{
if (XEUNICODE_P)
- return GetModuleFileNameW (hModule, (LPWSTR) lpFilename, nSize);
+ return GetModuleFileNameW (hModule, (OUT LPWSTR) lpFilename, nSize);
else
- return GetModuleFileNameA (hModule, (LPSTR) lpFilename, nSize);
+ return GetModuleFileNameA (hModule, (OUT LPSTR) lpFilename, nSize);
}
HMODULE
-qxeGetModuleHandle (const Extbyte * lpModuleName)
+qxeGetModuleHandle (IN const Extbyte * lpModuleName)
{
if (XEUNICODE_P)
- return GetModuleHandleW ((LPCWSTR) lpModuleName);
+ return GetModuleHandleW ((IN LPCWSTR) lpModuleName);
else
- return GetModuleHandleA ((LPCSTR) lpModuleName);
+ return GetModuleHandleA ((IN LPCSTR) lpModuleName);
}
BOOL
-qxeCreateProcess (const Extbyte * lpApplicationName, Extbyte * lpCommandLine,
LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL
bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, const Extbyte *
lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION
lpProcessInformation)
+qxeCreateProcess (IN const Extbyte * lpApplicationName, IN Extbyte * lpCommandLine, IN
LPSECURITY_ATTRIBUTES lpProcessAttributes, IN LPSECURITY_ATTRIBUTES lpThreadAttributes, IN
BOOL bInheritHandles, IN DWORD dwCreationFlags, IN LPVOID lpEnvironment, IN const Extbyte
* lpCurrentDirectory, IN LPSTARTUPINFOW lpStartupInfo, OUT LPPROCESS_INFORMATION
lpProcessInformation)
{
if (XEUNICODE_P)
- return CreateProcessW ((LPCWSTR) lpApplicationName, (LPWSTR) lpCommandLine,
lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment,
(LPCWSTR) lpCurrentDirectory, lpStartupInfo, lpProcessInformation);
+ return CreateProcessW ((IN LPCWSTR) lpApplicationName, (IN LPWSTR) lpCommandLine,
lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment,
(IN LPCWSTR) lpCurrentDirectory, lpStartupInfo, lpProcessInformation);
else
- return CreateProcessA ((LPCSTR) lpApplicationName, (LPSTR) lpCommandLine,
lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment,
(LPCSTR) lpCurrentDirectory, (LPSTARTUPINFOA) lpStartupInfo, lpProcessInformation);
+ return CreateProcessA ((IN LPCSTR) lpApplicationName, (IN LPSTR) lpCommandLine,
lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment,
(IN LPCSTR) lpCurrentDirectory, (IN LPSTARTUPINFOA) lpStartupInfo, lpProcessInformation);
}
VOID
-qxeFatalAppExit (UINT uAction, const Extbyte * lpMessageText)
+qxeFatalAppExit (IN UINT uAction, IN const Extbyte * lpMessageText)
{
if (XEUNICODE_P)
- FatalAppExitW (uAction, (LPCWSTR) lpMessageText);
+ FatalAppExitW (uAction, (IN LPCWSTR) lpMessageText);
else
- FatalAppExitA (uAction, (LPCSTR) lpMessageText);
+ FatalAppExitA (uAction, (IN LPCSTR) lpMessageText);
}
VOID
-qxeGetStartupInfo (LPSTARTUPINFOW lpStartupInfo)
+qxeGetStartupInfo (OUT LPSTARTUPINFOW lpStartupInfo)
{
if (XEUNICODE_P)
GetStartupInfoW (lpStartupInfo);
else
- GetStartupInfoA ((LPSTARTUPINFOA) lpStartupInfo);
+ GetStartupInfoA ((OUT LPSTARTUPINFOA) lpStartupInfo);
}
Extbyte *
@@ -3079,79 +3200,85 @@
}
DWORD
-qxeGetEnvironmentVariable (const Extbyte * lpName, Extbyte * lpBuffer, DWORD nSize)
+qxeGetEnvironmentVariable (IN const Extbyte * lpName, OUT Extbyte * lpBuffer, IN DWORD
nSize)
{
if (XEUNICODE_P)
- return GetEnvironmentVariableW ((LPCWSTR) lpName, (LPWSTR) lpBuffer, nSize);
+ return GetEnvironmentVariableW ((IN LPCWSTR) lpName, (OUT LPWSTR) lpBuffer, nSize);
else
- return GetEnvironmentVariableA ((LPCSTR) lpName, (LPSTR) lpBuffer, nSize);
+ return GetEnvironmentVariableA ((IN LPCSTR) lpName, (OUT LPSTR) lpBuffer, nSize);
}
BOOL
-qxeSetEnvironmentVariable (const Extbyte * lpName, const Extbyte * lpValue)
+qxeSetEnvironmentVariable (IN const Extbyte * lpName, IN const Extbyte * lpValue)
{
if (XEUNICODE_P)
- return SetEnvironmentVariableW ((LPCWSTR) lpName, (LPCWSTR) lpValue);
+ return SetEnvironmentVariableW ((IN LPCWSTR) lpName, (IN LPCWSTR) lpValue);
else
- return SetEnvironmentVariableA ((LPCSTR) lpName, (LPCSTR) lpValue);
+ return SetEnvironmentVariableA ((IN LPCSTR) lpName, (IN LPCSTR) lpValue);
}
DWORD
-qxeExpandEnvironmentStrings (const Extbyte * lpSrc, Extbyte * lpDst, DWORD nSize)
+qxeExpandEnvironmentStrings (IN const Extbyte * lpSrc, OUT Extbyte * lpDst, IN DWORD
nSize)
{
if (XEUNICODE_P)
- return ExpandEnvironmentStringsW ((LPCWSTR) lpSrc, (LPWSTR) lpDst, nSize);
+ return ExpandEnvironmentStringsW ((IN LPCWSTR) lpSrc, (OUT LPWSTR) lpDst, nSize);
else
- return ExpandEnvironmentStringsA ((LPCSTR) lpSrc, (LPSTR) lpDst, nSize);
+ return ExpandEnvironmentStringsA ((IN LPCSTR) lpSrc, (OUT LPSTR) lpDst, nSize);
}
VOID
-qxeOutputDebugString (const Extbyte * lpOutputString)
+qxeOutputDebugString (IN const Extbyte * lpOutputString)
{
if (XEUNICODE_P)
- OutputDebugStringW ((LPCWSTR) lpOutputString);
+ OutputDebugStringW ((IN LPCWSTR) lpOutputString);
else
- OutputDebugStringA ((LPCSTR) lpOutputString);
+ OutputDebugStringA ((IN LPCSTR) lpOutputString);
}
HRSRC
-qxeFindResource (HMODULE hModule, const Extbyte * lpName, const Extbyte * lpType)
+qxeFindResource (IN HMODULE hModule, IN const Extbyte * lpName, IN const Extbyte *
lpType)
{
if (XEUNICODE_P)
- return FindResourceW (hModule, (LPCWSTR) lpName, (LPCWSTR) lpType);
+ return FindResourceW (hModule, (IN LPCWSTR) lpName, (IN LPCWSTR) lpType);
else
- return FindResourceA (hModule, (LPCSTR) lpName, (LPCSTR) lpType);
+ return FindResourceA (hModule, (IN LPCSTR) lpName, (IN LPCSTR) lpType);
}
HRSRC
-qxeFindResourceEx (HMODULE hModule, const Extbyte * lpType, const Extbyte * lpName, WORD
wLanguage)
+qxeFindResourceEx (IN HMODULE hModule, IN const Extbyte * lpType, IN const Extbyte *
lpName, IN WORD wLanguage)
{
if (XEUNICODE_P)
- return FindResourceExW (hModule, (LPCWSTR) lpType, (LPCWSTR) lpName, wLanguage);
+ return FindResourceExW (hModule, (IN LPCWSTR) lpType, (IN LPCWSTR) lpName,
wLanguage);
else
- return FindResourceExA (hModule, (LPCSTR) lpType, (LPCSTR) lpName, wLanguage);
+ return FindResourceExA (hModule, (IN LPCSTR) lpType, (IN LPCSTR) lpName, wLanguage);
}
+/* Skipping EnumResourceTypes because different prototypes in VC6 and VC7 */
+
+/* Skipping EnumResourceNames because different prototypes in VC6 and VC7 */
+
+/* Skipping EnumResourceLanguages because different prototypes in VC6 and VC7 */
+
HANDLE
-qxeBeginUpdateResource (const Extbyte * pFileName, BOOL bDeleteExistingResources)
+qxeBeginUpdateResource (IN const Extbyte * pFileName, IN BOOL bDeleteExistingResources)
{
if (XEUNICODE_P)
- return BeginUpdateResourceW ((LPCWSTR) pFileName, bDeleteExistingResources);
+ return BeginUpdateResourceW ((IN LPCWSTR) pFileName, bDeleteExistingResources);
else
- return BeginUpdateResourceA ((LPCSTR) pFileName, bDeleteExistingResources);
+ return BeginUpdateResourceA ((IN LPCSTR) pFileName, bDeleteExistingResources);
}
BOOL
-qxeUpdateResource (HANDLE hUpdate, const Extbyte * lpType, const Extbyte * lpName, WORD
wLanguage, LPVOID lpData, DWORD cbData)
+qxeUpdateResource (IN HANDLE hUpdate, IN const Extbyte * lpType, IN const Extbyte *
lpName, IN WORD wLanguage, IN LPVOID lpData, IN DWORD cbData)
{
if (XEUNICODE_P)
- return UpdateResourceW (hUpdate, (LPCWSTR) lpType, (LPCWSTR) lpName, wLanguage,
lpData, cbData);
+ return UpdateResourceW (hUpdate, (IN LPCWSTR) lpType, (IN LPCWSTR) lpName, wLanguage,
lpData, cbData);
else
- return UpdateResourceA (hUpdate, (LPCSTR) lpType, (LPCSTR) lpName, wLanguage, lpData,
cbData);
+ return UpdateResourceA (hUpdate, (IN LPCSTR) lpType, (IN LPCSTR) lpName, wLanguage,
lpData, cbData);
}
BOOL
-qxeEndUpdateResource (HANDLE hUpdate, BOOL fDiscard)
+qxeEndUpdateResource (IN HANDLE hUpdate, IN BOOL fDiscard)
{
if (XEUNICODE_P)
return EndUpdateResourceW (hUpdate, fDiscard);
@@ -3160,363 +3287,363 @@
}
ATOM
-qxeGlobalAddAtom (const Extbyte * lpString)
+qxeGlobalAddAtom (IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return GlobalAddAtomW ((LPCWSTR) lpString);
+ return GlobalAddAtomW ((IN LPCWSTR) lpString);
else
- return GlobalAddAtomA ((LPCSTR) lpString);
+ return GlobalAddAtomA ((IN LPCSTR) lpString);
}
ATOM
-qxeGlobalFindAtom (const Extbyte * lpString)
+qxeGlobalFindAtom (IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return GlobalFindAtomW ((LPCWSTR) lpString);
+ return GlobalFindAtomW ((IN LPCWSTR) lpString);
else
- return GlobalFindAtomA ((LPCSTR) lpString);
+ return GlobalFindAtomA ((IN LPCSTR) lpString);
}
UINT
-qxeGlobalGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize)
+qxeGlobalGetAtomName (IN ATOM nAtom, OUT Extbyte * lpBuffer, IN int nSize)
{
if (XEUNICODE_P)
- return GlobalGetAtomNameW (nAtom, (LPWSTR) lpBuffer, nSize);
+ return GlobalGetAtomNameW (nAtom, (OUT LPWSTR) lpBuffer, nSize);
else
- return GlobalGetAtomNameA (nAtom, (LPSTR) lpBuffer, nSize);
+ return GlobalGetAtomNameA (nAtom, (OUT LPSTR) lpBuffer, nSize);
}
ATOM
-qxeAddAtom (const Extbyte * lpString)
+qxeAddAtom (IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return AddAtomW ((LPCWSTR) lpString);
+ return AddAtomW ((IN LPCWSTR) lpString);
else
- return AddAtomA ((LPCSTR) lpString);
+ return AddAtomA ((IN LPCSTR) lpString);
}
ATOM
-qxeFindAtom (const Extbyte * lpString)
+qxeFindAtom (IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return FindAtomW ((LPCWSTR) lpString);
+ return FindAtomW ((IN LPCWSTR) lpString);
else
- return FindAtomA ((LPCSTR) lpString);
+ return FindAtomA ((IN LPCSTR) lpString);
}
UINT
-qxeGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize)
+qxeGetAtomName (IN ATOM nAtom, OUT Extbyte * lpBuffer, IN int nSize)
{
if (XEUNICODE_P)
- return GetAtomNameW (nAtom, (LPWSTR) lpBuffer, nSize);
+ return GetAtomNameW (nAtom, (OUT LPWSTR) lpBuffer, nSize);
else
- return GetAtomNameA (nAtom, (LPSTR) lpBuffer, nSize);
+ return GetAtomNameA (nAtom, (OUT LPSTR) lpBuffer, nSize);
}
UINT
-qxeGetProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT nDefault)
+qxeGetProfileInt (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName, IN INT
nDefault)
{
if (XEUNICODE_P)
- return GetProfileIntW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, nDefault);
+ return GetProfileIntW ((IN LPCWSTR) lpAppName, (IN LPCWSTR) lpKeyName, nDefault);
else
- return GetProfileIntA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, nDefault);
+ return GetProfileIntA ((IN LPCSTR) lpAppName, (IN LPCSTR) lpKeyName, nDefault);
}
DWORD
-qxeGetProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const Extbyte
* lpDefault, Extbyte * lpReturnedString, DWORD nSize)
+qxeGetProfileString (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName, IN const
Extbyte * lpDefault, OUT Extbyte * lpReturnedString, IN DWORD nSize)
{
if (XEUNICODE_P)
- return GetProfileStringW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, (LPCWSTR)
lpDefault, (LPWSTR) lpReturnedString, nSize);
+ return GetProfileStringW ((IN LPCWSTR) lpAppName, (IN LPCWSTR) lpKeyName, (IN
LPCWSTR) lpDefault, (OUT LPWSTR) lpReturnedString, nSize);
else
- return GetProfileStringA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, (LPCSTR) lpDefault,
(LPSTR) lpReturnedString, nSize);
+ return GetProfileStringA ((IN LPCSTR) lpAppName, (IN LPCSTR) lpKeyName, (IN LPCSTR)
lpDefault, (OUT LPSTR) lpReturnedString, nSize);
}
BOOL
-qxeWriteProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const
Extbyte * lpString)
+qxeWriteProfileString (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName, IN
const Extbyte * lpString)
{
if (XEUNICODE_P)
- return WriteProfileStringW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, (LPCWSTR)
lpString);
+ return WriteProfileStringW ((IN LPCWSTR) lpAppName, (IN LPCWSTR) lpKeyName, (IN
LPCWSTR) lpString);
else
- return WriteProfileStringA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, (LPCSTR)
lpString);
+ return WriteProfileStringA ((IN LPCSTR) lpAppName, (IN LPCSTR) lpKeyName, (IN LPCSTR)
lpString);
}
DWORD
-qxeGetProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString, DWORD
nSize)
+qxeGetProfileSection (IN const Extbyte * lpAppName, OUT Extbyte * lpReturnedString, IN
DWORD nSize)
{
if (XEUNICODE_P)
- return GetProfileSectionW ((LPCWSTR) lpAppName, (LPWSTR) lpReturnedString, nSize);
+ return GetProfileSectionW ((IN LPCWSTR) lpAppName, (OUT LPWSTR) lpReturnedString,
nSize);
else
- return GetProfileSectionA ((LPCSTR) lpAppName, (LPSTR) lpReturnedString, nSize);
+ return GetProfileSectionA ((IN LPCSTR) lpAppName, (OUT LPSTR) lpReturnedString,
nSize);
}
BOOL
-qxeWriteProfileSection (const Extbyte * lpAppName, const Extbyte * lpString)
+qxeWriteProfileSection (IN const Extbyte * lpAppName, IN const Extbyte * lpString)
{
if (XEUNICODE_P)
- return WriteProfileSectionW ((LPCWSTR) lpAppName, (LPCWSTR) lpString);
+ return WriteProfileSectionW ((IN LPCWSTR) lpAppName, (IN LPCWSTR) lpString);
else
- return WriteProfileSectionA ((LPCSTR) lpAppName, (LPCSTR) lpString);
+ return WriteProfileSectionA ((IN LPCSTR) lpAppName, (IN LPCSTR) lpString);
}
UINT
-qxeGetPrivateProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT
nDefault, const Extbyte * lpFileName)
+qxeGetPrivateProfileInt (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName, IN
INT nDefault, IN const Extbyte * lpFileName)
{
if (XEUNICODE_P)
- return GetPrivateProfileIntW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, nDefault,
(LPCWSTR) lpFileName);
+ return GetPrivateProfileIntW ((IN LPCWSTR) lpAppName, (IN LPCWSTR) lpKeyName,
nDefault, (IN LPCWSTR) lpFileName);
else
- return GetPrivateProfileIntA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, nDefault,
(LPCSTR) lpFileName);
+ return GetPrivateProfileIntA ((IN LPCSTR) lpAppName, (IN LPCSTR) lpKeyName, nDefault,
(IN LPCSTR) lpFileName);
}
DWORD
-qxeGetPrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const
Extbyte * lpDefault, Extbyte * lpReturnedString, DWORD nSize, const Extbyte * lpFileName)
+qxeGetPrivateProfileString (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName,
IN const Extbyte * lpDefault, OUT Extbyte * lpReturnedString, IN DWORD nSize, IN const
Extbyte * lpFileName)
{
if (XEUNICODE_P)
- return GetPrivateProfileStringW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName, (LPCWSTR)
lpDefault, (LPWSTR) lpReturnedString, nSize, (LPCWSTR) lpFileName);
+ return GetPrivateProfileStringW ((IN LPCWSTR) lpAppName, (IN LPCWSTR) lpKeyName, (IN
LPCWSTR) lpDefault, (OUT LPWSTR) lpReturnedString, nSize, (IN LPCWSTR) lpFileName);
else
- return GetPrivateProfileStringA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, (LPCSTR)
lpDefault, (LPSTR) lpReturnedString, nSize, (LPCSTR) lpFileName);
+ return GetPrivateProfileStringA ((IN LPCSTR) lpAppName, (IN LPCSTR) lpKeyName, (IN
LPCSTR) lpDefault, (OUT LPSTR) lpReturnedString, nSize, (IN LPCSTR) lpFileName);
}
BOOL
-qxeWritePrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const
Extbyte * lpString, const Extbyte * lpFileName)
+qxeWritePrivateProfileString (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName,
IN const Extbyte * lpString, IN const Extbyte * lpFileName)
{
if (XEUNICODE_P)
- return WritePrivateProfileStringW ((LPCWSTR) lpAppName, (LPCWSTR) lpKeyName,
(LPCWSTR) lpString, (LPCWSTR) lpFileName);
+ return WritePrivateProfileStringW ((IN LPCWSTR) lpAppName, (IN LPCWSTR) lpKeyName,
(IN LPCWSTR) lpString, (IN LPCWSTR) lpFileName);
else
- return WritePrivateProfileStringA ((LPCSTR) lpAppName, (LPCSTR) lpKeyName, (LPCSTR)
lpString, (LPCSTR) lpFileName);
+ return WritePrivateProfileStringA ((IN LPCSTR) lpAppName, (IN LPCSTR) lpKeyName, (IN
LPCSTR) lpString, (IN LPCSTR) lpFileName);
}
DWORD
-qxeGetPrivateProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString, DWORD
nSize, const Extbyte * lpFileName)
+qxeGetPrivateProfileSection (IN const Extbyte * lpAppName, OUT Extbyte *
lpReturnedString, IN DWORD nSize, IN const Extbyte * lpFileName)
{
if (XEUNICODE_P)
- return GetPrivateProfileSectionW ((LPCWSTR) lpAppName, (LPWSTR) lpReturnedString,
nSize, (LPCWSTR) lpFileName);
+ return GetPrivateProfileSectionW ((IN LPCWSTR) lpAppName, (OUT LPWSTR)
lpReturnedString, nSize, (IN LPCWSTR) lpFileName);
else
- return GetPrivateProfileSectionA ((LPCSTR) lpAppName, (LPSTR) lpReturnedString,
nSize, (LPCSTR) lpFileName);
+ return GetPrivateProfileSectionA ((IN LPCSTR) lpAppName, (OUT LPSTR)
lpReturnedString, nSize, (IN LPCSTR) lpFileName);
}
BOOL
-qxeWritePrivateProfileSection (const Extbyte * lpAppName, const Extbyte * lpString, const
Extbyte * lpFileName)
+qxeWritePrivateProfileSection (IN const Extbyte * lpAppName, IN const Extbyte * lpString,
IN const Extbyte * lpFileName)
{
if (XEUNICODE_P)
- return WritePrivateProfileSectionW ((LPCWSTR) lpAppName, (LPCWSTR) lpString,
(LPCWSTR) lpFileName);
+ return WritePrivateProfileSectionW ((IN LPCWSTR) lpAppName, (IN LPCWSTR) lpString,
(IN LPCWSTR) lpFileName);
else
- return WritePrivateProfileSectionA ((LPCSTR) lpAppName, (LPCSTR) lpString, (LPCSTR)
lpFileName);
+ return WritePrivateProfileSectionA ((IN LPCSTR) lpAppName, (IN LPCSTR) lpString, (IN
LPCSTR) lpFileName);
}
DWORD
-qxeGetPrivateProfileSectionNames (Extbyte * lpszReturnBuffer, DWORD nSize, const Extbyte
* lpFileName)
+qxeGetPrivateProfileSectionNames (OUT Extbyte * lpszReturnBuffer, IN DWORD nSize, IN
const Extbyte * lpFileName)
{
if (XEUNICODE_P)
- return GetPrivateProfileSectionNamesW ((LPWSTR) lpszReturnBuffer, nSize, (LPCWSTR)
lpFileName);
+ return GetPrivateProfileSectionNamesW ((OUT LPWSTR) lpszReturnBuffer, nSize, (IN
LPCWSTR) lpFileName);
else
- return GetPrivateProfileSectionNamesA ((LPSTR) lpszReturnBuffer, nSize, (LPCSTR)
lpFileName);
+ return GetPrivateProfileSectionNamesA ((OUT LPSTR) lpszReturnBuffer, nSize, (IN
LPCSTR) lpFileName);
}
BOOL
-qxeGetPrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey, LPVOID
lpStruct, UINT uSizeStruct, const Extbyte * szFile)
+qxeGetPrivateProfileStruct (IN const Extbyte * lpszSection, IN const Extbyte * lpszKey,
OUT LPVOID lpStruct, IN UINT uSizeStruct, IN const Extbyte * szFile)
{
if (XEUNICODE_P)
- return GetPrivateProfileStructW ((LPCWSTR) lpszSection, (LPCWSTR) lpszKey, lpStruct,
uSizeStruct, (LPCWSTR) szFile);
+ return GetPrivateProfileStructW ((IN LPCWSTR) lpszSection, (IN LPCWSTR) lpszKey,
lpStruct, uSizeStruct, (IN LPCWSTR) szFile);
else
- return GetPrivateProfileStructA ((LPCSTR) lpszSection, (LPCSTR) lpszKey, lpStruct,
uSizeStruct, (LPCSTR) szFile);
+ return GetPrivateProfileStructA ((IN LPCSTR) lpszSection, (IN LPCSTR) lpszKey,
lpStruct, uSizeStruct, (IN LPCSTR) szFile);
}
BOOL
-qxeWritePrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey,
LPVOID lpStruct, UINT uSizeStruct, const Extbyte * szFile)
+qxeWritePrivateProfileStruct (IN const Extbyte * lpszSection, IN const Extbyte * lpszKey,
IN LPVOID lpStruct, IN UINT uSizeStruct, IN const Extbyte * szFile)
{
if (XEUNICODE_P)
- return WritePrivateProfileStructW ((LPCWSTR) lpszSection, (LPCWSTR) lpszKey,
lpStruct, uSizeStruct, (LPCWSTR) szFile);
+ return WritePrivateProfileStructW ((IN LPCWSTR) lpszSection, (IN LPCWSTR) lpszKey,
lpStruct, uSizeStruct, (IN LPCWSTR) szFile);
else
- return WritePrivateProfileStructA ((LPCSTR) lpszSection, (LPCSTR) lpszKey, lpStruct,
uSizeStruct, (LPCSTR) szFile);
+ return WritePrivateProfileStructA ((IN LPCSTR) lpszSection, (IN LPCSTR) lpszKey,
lpStruct, uSizeStruct, (IN LPCSTR) szFile);
}
UINT
-qxeGetDriveType (const Extbyte * lpRootPathName)
+qxeGetDriveType (IN const Extbyte * lpRootPathName)
{
if (XEUNICODE_P)
- return GetDriveTypeW ((LPCWSTR) lpRootPathName);
+ return GetDriveTypeW ((IN LPCWSTR) lpRootPathName);
else
- return GetDriveTypeA ((LPCSTR) lpRootPathName);
+ return GetDriveTypeA ((IN LPCSTR) lpRootPathName);
}
UINT
-qxeGetSystemDirectory (Extbyte * lpBuffer, UINT uSize)
+qxeGetSystemDirectory (OUT Extbyte * lpBuffer, IN UINT uSize)
{
if (XEUNICODE_P)
- return GetSystemDirectoryW ((LPWSTR) lpBuffer, uSize);
+ return GetSystemDirectoryW ((OUT LPWSTR) lpBuffer, uSize);
else
- return GetSystemDirectoryA ((LPSTR) lpBuffer, uSize);
+ return GetSystemDirectoryA ((OUT LPSTR) lpBuffer, uSize);
}
DWORD
-qxeGetTempPath (DWORD nBufferLength, Extbyte * lpBuffer)
+qxeGetTempPath (IN DWORD nBufferLength, OUT Extbyte * lpBuffer)
{
if (XEUNICODE_P)
- return GetTempPathW (nBufferLength, (LPWSTR) lpBuffer);
+ return GetTempPathW (nBufferLength, (OUT LPWSTR) lpBuffer);
else
- return GetTempPathA (nBufferLength, (LPSTR) lpBuffer);
+ return GetTempPathA (nBufferLength, (OUT LPSTR) lpBuffer);
}
UINT
-qxeGetTempFileName (const Extbyte * lpPathName, const Extbyte * lpPrefixString, UINT
uUnique, Extbyte * lpTempFileName)
+qxeGetTempFileName (IN const Extbyte * lpPathName, IN const Extbyte * lpPrefixString, IN
UINT uUnique, OUT Extbyte * lpTempFileName)
{
if (XEUNICODE_P)
- return GetTempFileNameW ((LPCWSTR) lpPathName, (LPCWSTR) lpPrefixString, uUnique,
(LPWSTR) lpTempFileName);
+ return GetTempFileNameW ((IN LPCWSTR) lpPathName, (IN LPCWSTR) lpPrefixString,
uUnique, (OUT LPWSTR) lpTempFileName);
else
- return GetTempFileNameA ((LPCSTR) lpPathName, (LPCSTR) lpPrefixString, uUnique,
(LPSTR) lpTempFileName);
+ return GetTempFileNameA ((IN LPCSTR) lpPathName, (IN LPCSTR) lpPrefixString, uUnique,
(OUT LPSTR) lpTempFileName);
}
UINT
-qxeGetWindowsDirectory (Extbyte * lpBuffer, UINT uSize)
+qxeGetWindowsDirectory (OUT Extbyte * lpBuffer, IN UINT uSize)
{
if (XEUNICODE_P)
- return GetWindowsDirectoryW ((LPWSTR) lpBuffer, uSize);
+ return GetWindowsDirectoryW ((OUT LPWSTR) lpBuffer, uSize);
else
- return GetWindowsDirectoryA ((LPSTR) lpBuffer, uSize);
+ return GetWindowsDirectoryA ((OUT LPSTR) lpBuffer, uSize);
}
BOOL
-qxeSetCurrentDirectory (const Extbyte * lpPathName)
+qxeSetCurrentDirectory (IN const Extbyte * lpPathName)
{
if (XEUNICODE_P)
- return SetCurrentDirectoryW ((LPCWSTR) lpPathName);
+ return SetCurrentDirectoryW ((IN LPCWSTR) lpPathName);
else
- return SetCurrentDirectoryA ((LPCSTR) lpPathName);
+ return SetCurrentDirectoryA ((IN LPCSTR) lpPathName);
}
DWORD
-qxeGetCurrentDirectory (DWORD nBufferLength, Extbyte * lpBuffer)
+qxeGetCurrentDirectory (IN DWORD nBufferLength, OUT Extbyte * lpBuffer)
{
if (XEUNICODE_P)
- return GetCurrentDirectoryW (nBufferLength, (LPWSTR) lpBuffer);
+ return GetCurrentDirectoryW (nBufferLength, (OUT LPWSTR) lpBuffer);
else
- return GetCurrentDirectoryA (nBufferLength, (LPSTR) lpBuffer);
+ return GetCurrentDirectoryA (nBufferLength, (OUT LPSTR) lpBuffer);
}
BOOL
-qxeGetDiskFreeSpace (const Extbyte * lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD
lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters)
+qxeGetDiskFreeSpace (IN const Extbyte * lpRootPathName, OUT LPDWORD lpSectorsPerCluster,
OUT LPDWORD lpBytesPerSector, OUT LPDWORD lpNumberOfFreeClusters, OUT LPDWORD
lpTotalNumberOfClusters)
{
if (XEUNICODE_P)
- return GetDiskFreeSpaceW ((LPCWSTR) lpRootPathName, lpSectorsPerCluster,
lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters);
+ return GetDiskFreeSpaceW ((IN LPCWSTR) lpRootPathName, lpSectorsPerCluster,
lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters);
else
- return GetDiskFreeSpaceA ((LPCSTR) lpRootPathName, lpSectorsPerCluster,
lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters);
+ return GetDiskFreeSpaceA ((IN LPCSTR) lpRootPathName, lpSectorsPerCluster,
lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters);
}
BOOL
-qxeGetDiskFreeSpaceEx (const Extbyte * lpDirectoryName, PULARGE_INTEGER
lpFreeBytesAvailableToCaller, PULARGE_INTEGER lpTotalNumberOfBytes, PULARGE_INTEGER
lpTotalNumberOfFreeBytes)
+qxeGetDiskFreeSpaceEx (IN const Extbyte * lpDirectoryName, OUT PULARGE_INTEGER
lpFreeBytesAvailableToCaller, OUT PULARGE_INTEGER lpTotalNumberOfBytes, OUT
PULARGE_INTEGER lpTotalNumberOfFreeBytes)
{
if (XEUNICODE_P)
- return GetDiskFreeSpaceExW ((LPCWSTR) lpDirectoryName, lpFreeBytesAvailableToCaller,
lpTotalNumberOfBytes, lpTotalNumberOfFreeBytes);
+ return GetDiskFreeSpaceExW ((IN LPCWSTR) lpDirectoryName,
lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes, lpTotalNumberOfFreeBytes);
else
- return GetDiskFreeSpaceExA ((LPCSTR) lpDirectoryName, lpFreeBytesAvailableToCaller,
lpTotalNumberOfBytes, lpTotalNumberOfFreeBytes);
+ return GetDiskFreeSpaceExA ((IN LPCSTR) lpDirectoryName,
lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes, lpTotalNumberOfFreeBytes);
}
BOOL
-qxeCreateDirectory (const Extbyte * lpPathName, LPSECURITY_ATTRIBUTES
lpSecurityAttributes)
+qxeCreateDirectory (IN const Extbyte * lpPathName, IN LPSECURITY_ATTRIBUTES
lpSecurityAttributes)
{
if (XEUNICODE_P)
- return CreateDirectoryW ((LPCWSTR) lpPathName, lpSecurityAttributes);
+ return CreateDirectoryW ((IN LPCWSTR) lpPathName, lpSecurityAttributes);
else
- return CreateDirectoryA ((LPCSTR) lpPathName, lpSecurityAttributes);
+ return CreateDirectoryA ((IN LPCSTR) lpPathName, lpSecurityAttributes);
}
BOOL
-qxeCreateDirectoryEx (const Extbyte * lpTemplateDirectory, const Extbyte *
lpNewDirectory, LPSECURITY_ATTRIBUTES lpSecurityAttributes)
+qxeCreateDirectoryEx (IN const Extbyte * lpTemplateDirectory, IN const Extbyte *
lpNewDirectory, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
{
if (XEUNICODE_P)
- return CreateDirectoryExW ((LPCWSTR) lpTemplateDirectory, (LPCWSTR) lpNewDirectory,
lpSecurityAttributes);
+ return CreateDirectoryExW ((IN LPCWSTR) lpTemplateDirectory, (IN LPCWSTR)
lpNewDirectory, lpSecurityAttributes);
else
- return CreateDirectoryExA ((LPCSTR) lpTemplateDirectory, (LPCSTR) lpNewDirectory,
lpSecurityAttributes);
+ return CreateDirectoryExA ((IN LPCSTR) lpTemplateDirectory, (IN LPCSTR)
lpNewDirectory, lpSecurityAttributes);
}
BOOL
-qxeRemoveDirectory (const Extbyte * lpPathName)
+qxeRemoveDirectory (IN const Extbyte * lpPathName)
{
if (XEUNICODE_P)
- return RemoveDirectoryW ((LPCWSTR) lpPathName);
+ return RemoveDirectoryW ((IN LPCWSTR) lpPathName);
else
- return RemoveDirectoryA ((LPCSTR) lpPathName);
+ return RemoveDirectoryA ((IN LPCSTR) lpPathName);
}
DWORD
-qxeGetFullPathName (const Extbyte * lpFileName, DWORD nBufferLength, Extbyte * lpBuffer,
Extbyte * * lpFilePart)
+qxeGetFullPathName (IN const Extbyte * lpFileName, IN DWORD nBufferLength, OUT Extbyte *
lpBuffer, OUT Extbyte * * lpFilePart)
{
if (XEUNICODE_P)
- return GetFullPathNameW ((LPCWSTR) lpFileName, nBufferLength, (LPWSTR) lpBuffer,
(LPWSTR *) lpFilePart);
+ return GetFullPathNameW ((IN LPCWSTR) lpFileName, nBufferLength, (OUT LPWSTR)
lpBuffer, (OUT LPWSTR *) lpFilePart);
else
- return GetFullPathNameA ((LPCSTR) lpFileName, nBufferLength, (LPSTR) lpBuffer, (LPSTR
*) lpFilePart);
+ return GetFullPathNameA ((IN LPCSTR) lpFileName, nBufferLength, (OUT LPSTR) lpBuffer,
(OUT LPSTR *) lpFilePart);
}
BOOL
-qxeDefineDosDevice (DWORD dwFlags, const Extbyte * lpDeviceName, const Extbyte *
lpTargetPath)
+qxeDefineDosDevice (IN DWORD dwFlags, IN const Extbyte * lpDeviceName, IN const Extbyte *
lpTargetPath)
{
if (XEUNICODE_P)
- return DefineDosDeviceW (dwFlags, (LPCWSTR) lpDeviceName, (LPCWSTR) lpTargetPath);
+ return DefineDosDeviceW (dwFlags, (IN LPCWSTR) lpDeviceName, (IN LPCWSTR)
lpTargetPath);
else
- return DefineDosDeviceA (dwFlags, (LPCSTR) lpDeviceName, (LPCSTR) lpTargetPath);
+ return DefineDosDeviceA (dwFlags, (IN LPCSTR) lpDeviceName, (IN LPCSTR)
lpTargetPath);
}
DWORD
-qxeQueryDosDevice (const Extbyte * lpDeviceName, Extbyte * lpTargetPath, DWORD ucchMax)
+qxeQueryDosDevice (IN const Extbyte * lpDeviceName, OUT Extbyte * lpTargetPath, IN DWORD
ucchMax)
{
if (XEUNICODE_P)
- return QueryDosDeviceW ((LPCWSTR) lpDeviceName, (LPWSTR) lpTargetPath, ucchMax);
+ return QueryDosDeviceW ((IN LPCWSTR) lpDeviceName, (OUT LPWSTR) lpTargetPath,
ucchMax);
else
- return QueryDosDeviceA ((LPCSTR) lpDeviceName, (LPSTR) lpTargetPath, ucchMax);
+ return QueryDosDeviceA ((IN LPCSTR) lpDeviceName, (OUT LPSTR) lpTargetPath,
ucchMax);
}
HANDLE
-qxeCreateFile (const Extbyte * lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode,
LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD
dwFlagsAndAttributes, HANDLE hTemplateFile)
+qxeCreateFile (IN const Extbyte * lpFileName, IN DWORD dwDesiredAccess, IN DWORD
dwShareMode, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes, IN DWORD
dwCreationDisposition, IN DWORD dwFlagsAndAttributes, IN HANDLE hTemplateFile)
{
if (XEUNICODE_P)
- return CreateFileW ((LPCWSTR) lpFileName, dwDesiredAccess, dwShareMode,
lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile);
+ return CreateFileW ((IN LPCWSTR) lpFileName, dwDesiredAccess, dwShareMode,
lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile);
else
- return CreateFileA ((LPCSTR) lpFileName, dwDesiredAccess, dwShareMode,
lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile);
+ return CreateFileA ((IN LPCSTR) lpFileName, dwDesiredAccess, dwShareMode,
lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile);
}
BOOL
-qxeSetFileAttributes (const Extbyte * lpFileName, DWORD dwFileAttributes)
+qxeSetFileAttributes (IN const Extbyte * lpFileName, IN DWORD dwFileAttributes)
{
if (XEUNICODE_P)
- return SetFileAttributesW ((LPCWSTR) lpFileName, dwFileAttributes);
+ return SetFileAttributesW ((IN LPCWSTR) lpFileName, dwFileAttributes);
else
- return SetFileAttributesA ((LPCSTR) lpFileName, dwFileAttributes);
+ return SetFileAttributesA ((IN LPCSTR) lpFileName, dwFileAttributes);
}
DWORD
-qxeGetFileAttributes (const Extbyte * lpFileName)
+qxeGetFileAttributes (IN const Extbyte * lpFileName)
{
if (XEUNICODE_P)
- return GetFileAttributesW ((LPCWSTR) lpFileName);
+ return GetFileAttributesW ((IN LPCWSTR) lpFileName);
else
- return GetFileAttributesA ((LPCSTR) lpFileName);
+ return GetFileAttributesA ((IN LPCSTR) lpFileName);
}
BOOL
-qxeGetFileAttributesEx (const Extbyte * lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId,
LPVOID lpFileInformation)
+qxeGetFileAttributesEx (IN const Extbyte * lpFileName, IN GET_FILEEX_INFO_LEVELS
fInfoLevelId, OUT LPVOID lpFileInformation)
{
if (XEUNICODE_P)
- return GetFileAttributesExW ((LPCWSTR) lpFileName, fInfoLevelId, lpFileInformation);
+ return GetFileAttributesExW ((IN LPCWSTR) lpFileName, fInfoLevelId,
lpFileInformation);
else
- return GetFileAttributesExA ((LPCSTR) lpFileName, fInfoLevelId, lpFileInformation);
+ return GetFileAttributesExA ((IN LPCSTR) lpFileName, fInfoLevelId,
lpFileInformation);
}
DWORD
-qxeGetCompressedFileSize (const Extbyte * lpFileName, LPDWORD lpFileSizeHigh)
+qxeGetCompressedFileSize (IN const Extbyte * lpFileName, OUT LPDWORD lpFileSizeHigh)
{
if (XEUNICODE_P)
- return GetCompressedFileSizeW ((LPCWSTR) lpFileName, lpFileSizeHigh);
+ return GetCompressedFileSizeW ((IN LPCWSTR) lpFileName, lpFileSizeHigh);
else
- return GetCompressedFileSizeA ((LPCSTR) lpFileName, lpFileSizeHigh);
+ return GetCompressedFileSizeA ((IN LPCSTR) lpFileName, lpFileSizeHigh);
}
BOOL
-qxeDeleteFile (const Extbyte * lpFileName)
+qxeDeleteFile (IN const Extbyte * lpFileName)
{
if (XEUNICODE_P)
- return DeleteFileW ((LPCWSTR) lpFileName);
+ return DeleteFileW ((IN LPCWSTR) lpFileName);
else
- return DeleteFileA ((LPCSTR) lpFileName);
+ return DeleteFileA ((IN LPCSTR) lpFileName);
}
/* Error if FindFirstFileEx used: split-sized LPWIN32_FIND_DATA; not used, NT 4.0+ only
*/
@@ -3526,49 +3653,49 @@
/* Skipping FindNextFile because split-sized LPWIN32_FIND_DATA */
DWORD
-qxeSearchPath (const Extbyte * lpPath, const Extbyte * lpFileName, const Extbyte *
lpExtension, DWORD nBufferLength, Extbyte * lpBuffer, Extbyte * * lpFilePart)
+qxeSearchPath (IN const Extbyte * lpPath, IN const Extbyte * lpFileName, IN const Extbyte
* lpExtension, IN DWORD nBufferLength, OUT Extbyte * lpBuffer, OUT Extbyte * *
lpFilePart)
{
if (XEUNICODE_P)
- return SearchPathW ((LPCWSTR) lpPath, (LPCWSTR) lpFileName, (LPCWSTR) lpExtension,
nBufferLength, (LPWSTR) lpBuffer, (LPWSTR *) lpFilePart);
+ return SearchPathW ((IN LPCWSTR) lpPath, (IN LPCWSTR) lpFileName, (IN LPCWSTR)
lpExtension, nBufferLength, (OUT LPWSTR) lpBuffer, (OUT LPWSTR *) lpFilePart);
else
- return SearchPathA ((LPCSTR) lpPath, (LPCSTR) lpFileName, (LPCSTR) lpExtension,
nBufferLength, (LPSTR) lpBuffer, (LPSTR *) lpFilePart);
+ return SearchPathA ((IN LPCSTR) lpPath, (IN LPCSTR) lpFileName, (IN LPCSTR)
lpExtension, nBufferLength, (OUT LPSTR) lpBuffer, (OUT LPSTR *) lpFilePart);
}
BOOL
-qxeCopyFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, BOOL
bFailIfExists)
+qxeCopyFile (IN const Extbyte * lpExistingFileName, IN const Extbyte * lpNewFileName, IN
BOOL bFailIfExists)
{
if (XEUNICODE_P)
- return CopyFileW ((LPCWSTR) lpExistingFileName, (LPCWSTR) lpNewFileName,
bFailIfExists);
+ return CopyFileW ((IN LPCWSTR) lpExistingFileName, (IN LPCWSTR) lpNewFileName,
bFailIfExists);
else
- return CopyFileA ((LPCSTR) lpExistingFileName, (LPCSTR) lpNewFileName,
bFailIfExists);
+ return CopyFileA ((IN LPCSTR) lpExistingFileName, (IN LPCSTR) lpNewFileName,
bFailIfExists);
}
/* NOTE: NT 4.0+ only */
BOOL
-qxeCopyFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName,
LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags)
+qxeCopyFileEx (IN const Extbyte * lpExistingFileName, IN const Extbyte * lpNewFileName,
IN LPPROGRESS_ROUTINE lpProgressRoutine, IN LPVOID lpData, IN LPBOOL pbCancel, IN DWORD
dwCopyFlags)
{
if (XEUNICODE_P)
- return CopyFileExW ((LPCWSTR) lpExistingFileName, (LPCWSTR) lpNewFileName,
lpProgressRoutine, lpData, pbCancel, dwCopyFlags);
+ return CopyFileExW ((IN LPCWSTR) lpExistingFileName, (IN LPCWSTR) lpNewFileName,
lpProgressRoutine, lpData, pbCancel, dwCopyFlags);
else
- return CopyFileExA ((LPCSTR) lpExistingFileName, (LPCSTR) lpNewFileName,
lpProgressRoutine, lpData, pbCancel, dwCopyFlags);
+ return CopyFileExA ((IN LPCSTR) lpExistingFileName, (IN LPCSTR) lpNewFileName,
lpProgressRoutine, lpData, pbCancel, dwCopyFlags);
}
BOOL
-qxeMoveFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName)
+qxeMoveFile (IN const Extbyte * lpExistingFileName, IN const Extbyte * lpNewFileName)
{
if (XEUNICODE_P)
- return MoveFileW ((LPCWSTR) lpExistingFileName, (LPCWSTR) lpNewFileName);
+ return MoveFileW ((IN LPCWSTR) lpExistingFileName, (IN LPCWSTR) lpNewFileName);
else
- return MoveFileA ((LPCSTR) lpExistingFileName, (LPCSTR) lpNewFileName);
+ return MoveFileA ((IN LPCSTR) lpExistingFileName, (IN LPCSTR) lpNewFileName);
}
BOOL
-qxeMoveFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, DWORD
dwFlags)
+qxeMoveFileEx (IN const Extbyte * lpExistingFileName, IN const Extbyte * lpNewFileName,
IN DWORD dwFlags)
{
if (XEUNICODE_P)
- return MoveFileExW ((LPCWSTR) lpExistingFileName, (LPCWSTR) lpNewFileName, dwFlags);
+ return MoveFileExW ((IN LPCWSTR) lpExistingFileName, (IN LPCWSTR) lpNewFileName,
dwFlags);
else
- return MoveFileExA ((LPCSTR) lpExistingFileName, (LPCSTR) lpNewFileName, dwFlags);
+ return MoveFileExA ((IN LPCSTR) lpExistingFileName, (IN LPCSTR) lpNewFileName,
dwFlags);
}
/* Error if MoveFileWithProgress used: NT 5.0+ only */
@@ -3576,106 +3703,106 @@
/* Error if CreateHardLink used: NT 5.0+ only */
HANDLE
-qxeCreateNamedPipe (const Extbyte * lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD
nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut,
LPSECURITY_ATTRIBUTES lpSecurityAttributes)
+qxeCreateNamedPipe (IN const Extbyte * lpName, IN DWORD dwOpenMode, IN DWORD dwPipeMode,
IN DWORD nMaxInstances, IN DWORD nOutBufferSize, IN DWORD nInBufferSize, IN DWORD
nDefaultTimeOut, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
{
if (XEUNICODE_P)
- return CreateNamedPipeW ((LPCWSTR) lpName, dwOpenMode, dwPipeMode, nMaxInstances,
nOutBufferSize, nInBufferSize, nDefaultTimeOut, lpSecurityAttributes);
+ return CreateNamedPipeW ((IN LPCWSTR) lpName, dwOpenMode, dwPipeMode, nMaxInstances,
nOutBufferSize, nInBufferSize, nDefaultTimeOut, lpSecurityAttributes);
else
- return CreateNamedPipeA ((LPCSTR) lpName, dwOpenMode, dwPipeMode, nMaxInstances,
nOutBufferSize, nInBufferSize, nDefaultTimeOut, lpSecurityAttributes);
+ return CreateNamedPipeA ((IN LPCSTR) lpName, dwOpenMode, dwPipeMode, nMaxInstances,
nOutBufferSize, nInBufferSize, nDefaultTimeOut, lpSecurityAttributes);
}
BOOL
-qxeGetNamedPipeHandleState (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances,
LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, Extbyte * lpUserName, DWORD
nMaxUserNameSize)
+qxeGetNamedPipeHandleState (IN HANDLE hNamedPipe, OUT LPDWORD lpState, OUT LPDWORD
lpCurInstances, OUT LPDWORD lpMaxCollectionCount, OUT LPDWORD lpCollectDataTimeout, OUT
Extbyte * lpUserName, IN DWORD nMaxUserNameSize)
{
if (XEUNICODE_P)
- return GetNamedPipeHandleStateW (hNamedPipe, lpState, lpCurInstances,
lpMaxCollectionCount, lpCollectDataTimeout, (LPWSTR) lpUserName, nMaxUserNameSize);
+ return GetNamedPipeHandleStateW (hNamedPipe, lpState, lpCurInstances,
lpMaxCollectionCount, lpCollectDataTimeout, (OUT LPWSTR) lpUserName, nMaxUserNameSize);
else
- return GetNamedPipeHandleStateA (hNamedPipe, lpState, lpCurInstances,
lpMaxCollectionCount, lpCollectDataTimeout, (LPSTR) lpUserName, nMaxUserNameSize);
+ return GetNamedPipeHandleStateA (hNamedPipe, lpState, lpCurInstances,
lpMaxCollectionCount, lpCollectDataTimeout, (OUT LPSTR) lpUserName, nMaxUserNameSize);
}
BOOL
-qxeCallNamedPipe (const Extbyte * lpNamedPipeName, LPVOID lpInBuffer, DWORD
nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD
nTimeOut)
+qxeCallNamedPipe (IN const Extbyte * lpNamedPipeName, IN LPVOID lpInBuffer, IN DWORD
nInBufferSize, OUT LPVOID lpOutBuffer, IN DWORD nOutBufferSize, OUT LPDWORD lpBytesRead,
IN DWORD nTimeOut)
{
if (XEUNICODE_P)
- return CallNamedPipeW ((LPCWSTR) lpNamedPipeName, lpInBuffer, nInBufferSize,
lpOutBuffer, nOutBufferSize, lpBytesRead, nTimeOut);
+ return CallNamedPipeW ((IN LPCWSTR) lpNamedPipeName, lpInBuffer, nInBufferSize,
lpOutBuffer, nOutBufferSize, lpBytesRead, nTimeOut);
else
- return CallNamedPipeA ((LPCSTR) lpNamedPipeName, lpInBuffer, nInBufferSize,
lpOutBuffer, nOutBufferSize, lpBytesRead, nTimeOut);
+ return CallNamedPipeA ((IN LPCSTR) lpNamedPipeName, lpInBuffer, nInBufferSize,
lpOutBuffer, nOutBufferSize, lpBytesRead, nTimeOut);
}
BOOL
-qxeWaitNamedPipe (const Extbyte * lpNamedPipeName, DWORD nTimeOut)
+qxeWaitNamedPipe (IN const Extbyte * lpNamedPipeName, IN DWORD nTimeOut)
{
if (XEUNICODE_P)
- return WaitNamedPipeW ((LPCWSTR) lpNamedPipeName, nTimeOut);
+ return WaitNamedPipeW ((IN LPCWSTR) lpNamedPipeName, nTimeOut);
else
- return WaitNamedPipeA ((LPCSTR) lpNamedPipeName, nTimeOut);
+ return WaitNamedPipeA ((IN LPCSTR) lpNamedPipeName, nTimeOut);
}
BOOL
-qxeSetVolumeLabel (const Extbyte * lpRootPathName, const Extbyte * lpVolumeName)
+qxeSetVolumeLabel (IN const Extbyte * lpRootPathName, IN const Extbyte * lpVolumeName)
{
if (XEUNICODE_P)
- return SetVolumeLabelW ((LPCWSTR) lpRootPathName, (LPCWSTR) lpVolumeName);
+ return SetVolumeLabelW ((IN LPCWSTR) lpRootPathName, (IN LPCWSTR) lpVolumeName);
else
- return SetVolumeLabelA ((LPCSTR) lpRootPathName, (LPCSTR) lpVolumeName);
+ return SetVolumeLabelA ((IN LPCSTR) lpRootPathName, (IN LPCSTR) lpVolumeName);
}
BOOL
-qxeGetVolumeInformation (const Extbyte * lpRootPathName, Extbyte * lpVolumeNameBuffer,
DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength,
LPDWORD lpFileSystemFlags, Extbyte * lpFileSystemNameBuffer, DWORD nFileSystemNameSize)
+qxeGetVolumeInformation (IN const Extbyte * lpRootPathName, OUT Extbyte *
lpVolumeNameBuffer, IN DWORD nVolumeNameSize, OUT LPDWORD lpVolumeSerialNumber, OUT
LPDWORD lpMaximumComponentLength, OUT LPDWORD lpFileSystemFlags, OUT Extbyte *
lpFileSystemNameBuffer, IN DWORD nFileSystemNameSize)
{
if (XEUNICODE_P)
- return GetVolumeInformationW ((LPCWSTR) lpRootPathName, (LPWSTR) lpVolumeNameBuffer,
nVolumeNameSize, lpVolumeSerialNumber, lpMaximumComponentLength, lpFileSystemFlags,
(LPWSTR) lpFileSystemNameBuffer, nFileSystemNameSize);
+ return GetVolumeInformationW ((IN LPCWSTR) lpRootPathName, (OUT LPWSTR)
lpVolumeNameBuffer, nVolumeNameSize, lpVolumeSerialNumber, lpMaximumComponentLength,
lpFileSystemFlags, (OUT LPWSTR) lpFileSystemNameBuffer, nFileSystemNameSize);
else
- return GetVolumeInformationA ((LPCSTR) lpRootPathName, (LPSTR) lpVolumeNameBuffer,
nVolumeNameSize, lpVolumeSerialNumber, lpMaximumComponentLength, lpFileSystemFlags,
(LPSTR) lpFileSystemNameBuffer, nFileSystemNameSize);
+ return GetVolumeInformationA ((IN LPCSTR) lpRootPathName, (OUT LPSTR)
lpVolumeNameBuffer, nVolumeNameSize, lpVolumeSerialNumber, lpMaximumComponentLength,
lpFileSystemFlags, (OUT LPSTR) lpFileSystemNameBuffer, nFileSystemNameSize);
}
BOOL
-qxeClearEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName)
+qxeClearEventLog (IN HANDLE hEventLog, IN const Extbyte * lpBackupFileName)
{
if (XEUNICODE_P)
- return ClearEventLogW (hEventLog, (LPCWSTR) lpBackupFileName);
+ return ClearEventLogW (hEventLog, (IN LPCWSTR) lpBackupFileName);
else
- return ClearEventLogA (hEventLog, (LPCSTR) lpBackupFileName);
+ return ClearEventLogA (hEventLog, (IN LPCSTR) lpBackupFileName);
}
BOOL
-qxeBackupEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName)
+qxeBackupEventLog (IN HANDLE hEventLog, IN const Extbyte * lpBackupFileName)
{
if (XEUNICODE_P)
- return BackupEventLogW (hEventLog, (LPCWSTR) lpBackupFileName);
+ return BackupEventLogW (hEventLog, (IN LPCWSTR) lpBackupFileName);
else
- return BackupEventLogA (hEventLog, (LPCSTR) lpBackupFileName);
+ return BackupEventLogA (hEventLog, (IN LPCSTR) lpBackupFileName);
}
HANDLE
-qxeOpenEventLog (const Extbyte * lpUNCServerName, const Extbyte * lpSourceName)
+qxeOpenEventLog (IN const Extbyte * lpUNCServerName, IN const Extbyte * lpSourceName)
{
if (XEUNICODE_P)
- return OpenEventLogW ((LPCWSTR) lpUNCServerName, (LPCWSTR) lpSourceName);
+ return OpenEventLogW ((IN LPCWSTR) lpUNCServerName, (IN LPCWSTR) lpSourceName);
else
- return OpenEventLogA ((LPCSTR) lpUNCServerName, (LPCSTR) lpSourceName);
+ return OpenEventLogA ((IN LPCSTR) lpUNCServerName, (IN LPCSTR) lpSourceName);
}
HANDLE
-qxeRegisterEventSource (const Extbyte * lpUNCServerName, const Extbyte * lpSourceName)
+qxeRegisterEventSource (IN const Extbyte * lpUNCServerName, IN const Extbyte *
lpSourceName)
{
if (XEUNICODE_P)
- return RegisterEventSourceW ((LPCWSTR) lpUNCServerName, (LPCWSTR) lpSourceName);
+ return RegisterEventSourceW ((IN LPCWSTR) lpUNCServerName, (IN LPCWSTR)
lpSourceName);
else
- return RegisterEventSourceA ((LPCSTR) lpUNCServerName, (LPCSTR) lpSourceName);
+ return RegisterEventSourceA ((IN LPCSTR) lpUNCServerName, (IN LPCSTR) lpSourceName);
}
HANDLE
-qxeOpenBackupEventLog (const Extbyte * lpUNCServerName, const Extbyte * lpFileName)
+qxeOpenBackupEventLog (IN const Extbyte * lpUNCServerName, IN const Extbyte *
lpFileName)
{
if (XEUNICODE_P)
- return OpenBackupEventLogW ((LPCWSTR) lpUNCServerName, (LPCWSTR) lpFileName);
+ return OpenBackupEventLogW ((IN LPCWSTR) lpUNCServerName, (IN LPCWSTR) lpFileName);
else
- return OpenBackupEventLogA ((LPCSTR) lpUNCServerName, (LPCSTR) lpFileName);
+ return OpenBackupEventLogA ((IN LPCSTR) lpUNCServerName, (IN LPCSTR) lpFileName);
}
BOOL
-qxeReadEventLog (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID
lpBuffer, DWORD nNumberOfBytesToRead, DWORD * pnBytesRead, DWORD *
pnMinNumberOfBytesNeeded)
+qxeReadEventLog (IN HANDLE hEventLog, IN DWORD dwReadFlags, IN DWORD dwRecordOffset, OUT
LPVOID lpBuffer, IN DWORD nNumberOfBytesToRead, OUT DWORD * pnBytesRead, OUT DWORD
* pnMinNumberOfBytesNeeded)
{
if (XEUNICODE_P)
return ReadEventLogW (hEventLog, dwReadFlags, dwRecordOffset, lpBuffer,
nNumberOfBytesToRead, pnBytesRead, pnMinNumberOfBytesNeeded);
@@ -3684,21 +3811,21 @@
}
BOOL
-qxeReportEvent (HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dwEventID, PSID
lpUserSid, WORD wNumStrings, DWORD dwDataSize, const Extbyte * * lpStrings, LPVOID
lpRawData)
+qxeReportEvent (IN HANDLE hEventLog, IN WORD wType, IN WORD wCategory, IN DWORD
dwEventID, IN PSID lpUserSid, IN WORD wNumStrings, IN DWORD dwDataSize, IN const Extbyte *
* lpStrings, IN LPVOID lpRawData)
{
if (XEUNICODE_P)
- return ReportEventW (hEventLog, wType, wCategory, dwEventID, lpUserSid, wNumStrings,
dwDataSize, (LPCWSTR *) lpStrings, lpRawData);
+ return ReportEventW (hEventLog, wType, wCategory, dwEventID, lpUserSid, wNumStrings,
dwDataSize, (IN LPCWSTR *) lpStrings, lpRawData);
else
- return ReportEventA (hEventLog, wType, wCategory, dwEventID, lpUserSid, wNumStrings,
dwDataSize, (LPCSTR *) lpStrings, lpRawData);
+ return ReportEventA (hEventLog, wType, wCategory, dwEventID, lpUserSid, wNumStrings,
dwDataSize, (IN LPCSTR *) lpStrings, lpRawData);
}
BOOL
-qxeAccessCheckAndAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte *
ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD
DesiredAccess, PGENERIC_MAPPING GenericMapping, BOOL ObjectCreation, LPDWORD
GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose)
+qxeAccessCheckAndAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId, IN
Extbyte * ObjectTypeName, IN Extbyte * ObjectName, IN PSECURITY_DESCRIPTOR
SecurityDescriptor, IN DWORD DesiredAccess, IN PGENERIC_MAPPING GenericMapping, IN BOOL
ObjectCreation, OUT LPDWORD GrantedAccess, OUT LPBOOL AccessStatus, OUT LPBOOL
pfGenerateOnClose)
{
if (XEUNICODE_P)
- return AccessCheckAndAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, (LPWSTR)
ObjectTypeName, (LPWSTR) ObjectName, SecurityDescriptor, DesiredAccess, GenericMapping,
ObjectCreation, GrantedAccess, AccessStatus, pfGenerateOnClose);
+ return AccessCheckAndAuditAlarmW ((IN LPCWSTR) SubsystemName, HandleId, (IN LPWSTR)
ObjectTypeName, (IN LPWSTR) ObjectName, SecurityDescriptor, DesiredAccess, GenericMapping,
ObjectCreation, GrantedAccess, AccessStatus, pfGenerateOnClose);
else
- return AccessCheckAndAuditAlarmA ((LPCSTR) SubsystemName, HandleId, (LPSTR)
ObjectTypeName, (LPSTR) ObjectName, SecurityDescriptor, DesiredAccess, GenericMapping,
ObjectCreation, GrantedAccess, AccessStatus, pfGenerateOnClose);
+ return AccessCheckAndAuditAlarmA ((IN LPCSTR) SubsystemName, HandleId, (IN LPSTR)
ObjectTypeName, (IN LPSTR) ObjectName, SecurityDescriptor, DesiredAccess, GenericMapping,
ObjectCreation, GrantedAccess, AccessStatus, pfGenerateOnClose);
}
/* Error if AccessCheckByTypeAndAuditAlarm used: NT 5.0+ only */
@@ -3706,221 +3833,221 @@
/* Error if AccessCheckByTypeResultListAndAuditAlarm used: NT 5.0+ only */
BOOL
-qxeObjectOpenAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte *
ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE
ClientToken, DWORD DesiredAccess, DWORD GrantedAccess, PPRIVILEGE_SET Privileges, BOOL
ObjectCreation, BOOL AccessGranted, LPBOOL GenerateOnClose)
+qxeObjectOpenAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId, IN Extbyte
* ObjectTypeName, IN Extbyte * ObjectName, IN PSECURITY_DESCRIPTOR pSecurityDescriptor, IN
HANDLE ClientToken, IN DWORD DesiredAccess, IN DWORD GrantedAccess, IN PPRIVILEGE_SET
Privileges, IN BOOL ObjectCreation, IN BOOL AccessGranted, OUT LPBOOL GenerateOnClose)
{
if (XEUNICODE_P)
- return ObjectOpenAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, (LPWSTR)
ObjectTypeName, (LPWSTR) ObjectName, pSecurityDescriptor, ClientToken, DesiredAccess,
GrantedAccess, Privileges, ObjectCreation, AccessGranted, GenerateOnClose);
+ return ObjectOpenAuditAlarmW ((IN LPCWSTR) SubsystemName, HandleId, (IN LPWSTR)
ObjectTypeName, (IN LPWSTR) ObjectName, pSecurityDescriptor, ClientToken, DesiredAccess,
GrantedAccess, Privileges, ObjectCreation, AccessGranted, GenerateOnClose);
else
- return ObjectOpenAuditAlarmA ((LPCSTR) SubsystemName, HandleId, (LPSTR)
ObjectTypeName, (LPSTR) ObjectName, pSecurityDescriptor, ClientToken, DesiredAccess,
GrantedAccess, Privileges, ObjectCreation, AccessGranted, GenerateOnClose);
+ return ObjectOpenAuditAlarmA ((IN LPCSTR) SubsystemName, HandleId, (IN LPSTR)
ObjectTypeName, (IN LPSTR) ObjectName, pSecurityDescriptor, ClientToken, DesiredAccess,
GrantedAccess, Privileges, ObjectCreation, AccessGranted, GenerateOnClose);
}
BOOL
-qxeObjectPrivilegeAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, HANDLE
ClientToken, DWORD DesiredAccess, PPRIVILEGE_SET Privileges, BOOL AccessGranted)
+qxeObjectPrivilegeAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId, IN
HANDLE ClientToken, IN DWORD DesiredAccess, IN PPRIVILEGE_SET Privileges, IN BOOL
AccessGranted)
{
if (XEUNICODE_P)
- return ObjectPrivilegeAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, ClientToken,
DesiredAccess, Privileges, AccessGranted);
+ return ObjectPrivilegeAuditAlarmW ((IN LPCWSTR) SubsystemName, HandleId, ClientToken,
DesiredAccess, Privileges, AccessGranted);
else
- return ObjectPrivilegeAuditAlarmA ((LPCSTR) SubsystemName, HandleId, ClientToken,
DesiredAccess, Privileges, AccessGranted);
+ return ObjectPrivilegeAuditAlarmA ((IN LPCSTR) SubsystemName, HandleId, ClientToken,
DesiredAccess, Privileges, AccessGranted);
}
BOOL
-qxeObjectCloseAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, BOOL
GenerateOnClose)
+qxeObjectCloseAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId, IN BOOL
GenerateOnClose)
{
if (XEUNICODE_P)
- return ObjectCloseAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, GenerateOnClose);
+ return ObjectCloseAuditAlarmW ((IN LPCWSTR) SubsystemName, HandleId,
GenerateOnClose);
else
- return ObjectCloseAuditAlarmA ((LPCSTR) SubsystemName, HandleId, GenerateOnClose);
+ return ObjectCloseAuditAlarmA ((IN LPCSTR) SubsystemName, HandleId,
GenerateOnClose);
}
BOOL
-qxeObjectDeleteAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, BOOL
GenerateOnClose)
+qxeObjectDeleteAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId, IN BOOL
GenerateOnClose)
{
if (XEUNICODE_P)
- return ObjectDeleteAuditAlarmW ((LPCWSTR) SubsystemName, HandleId, GenerateOnClose);
+ return ObjectDeleteAuditAlarmW ((IN LPCWSTR) SubsystemName, HandleId,
GenerateOnClose);
else
- return ObjectDeleteAuditAlarmA ((LPCSTR) SubsystemName, HandleId, GenerateOnClose);
+ return ObjectDeleteAuditAlarmA ((IN LPCSTR) SubsystemName, HandleId,
GenerateOnClose);
}
BOOL
-qxePrivilegedServiceAuditAlarm (const Extbyte * SubsystemName, const Extbyte *
ServiceName, HANDLE ClientToken, PPRIVILEGE_SET Privileges, BOOL AccessGranted)
+qxePrivilegedServiceAuditAlarm (IN const Extbyte * SubsystemName, IN const Extbyte *
ServiceName, IN HANDLE ClientToken, IN PPRIVILEGE_SET Privileges, IN BOOL AccessGranted)
{
if (XEUNICODE_P)
- return PrivilegedServiceAuditAlarmW ((LPCWSTR) SubsystemName, (LPCWSTR) ServiceName,
ClientToken, Privileges, AccessGranted);
+ return PrivilegedServiceAuditAlarmW ((IN LPCWSTR) SubsystemName, (IN LPCWSTR)
ServiceName, ClientToken, Privileges, AccessGranted);
else
- return PrivilegedServiceAuditAlarmA ((LPCSTR) SubsystemName, (LPCSTR) ServiceName,
ClientToken, Privileges, AccessGranted);
+ return PrivilegedServiceAuditAlarmA ((IN LPCSTR) SubsystemName, (IN LPCSTR)
ServiceName, ClientToken, Privileges, AccessGranted);
}
BOOL
-qxeSetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION SecurityInformation,
PSECURITY_DESCRIPTOR pSecurityDescriptor)
+qxeSetFileSecurity (IN const Extbyte * lpFileName, IN SECURITY_INFORMATION
SecurityInformation, IN PSECURITY_DESCRIPTOR pSecurityDescriptor)
{
if (XEUNICODE_P)
- return SetFileSecurityW ((LPCWSTR) lpFileName, SecurityInformation,
pSecurityDescriptor);
+ return SetFileSecurityW ((IN LPCWSTR) lpFileName, SecurityInformation,
pSecurityDescriptor);
else
- return SetFileSecurityA ((LPCSTR) lpFileName, SecurityInformation,
pSecurityDescriptor);
+ return SetFileSecurityA ((IN LPCSTR) lpFileName, SecurityInformation,
pSecurityDescriptor);
}
BOOL
-qxeGetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION
RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD
lpnLengthNeeded)
+qxeGetFileSecurity (IN const Extbyte * lpFileName, IN SECURITY_INFORMATION
RequestedInformation, OUT PSECURITY_DESCRIPTOR pSecurityDescriptor, IN DWORD nLength, OUT
LPDWORD lpnLengthNeeded)
{
if (XEUNICODE_P)
- return GetFileSecurityW ((LPCWSTR) lpFileName, RequestedInformation,
pSecurityDescriptor, nLength, lpnLengthNeeded);
+ return GetFileSecurityW ((IN LPCWSTR) lpFileName, RequestedInformation,
pSecurityDescriptor, nLength, lpnLengthNeeded);
else
- return GetFileSecurityA ((LPCSTR) lpFileName, RequestedInformation,
pSecurityDescriptor, nLength, lpnLengthNeeded);
+ return GetFileSecurityA ((IN LPCSTR) lpFileName, RequestedInformation,
pSecurityDescriptor, nLength, lpnLengthNeeded);
}
HANDLE
-qxeFindFirstChangeNotification (const Extbyte * lpPathName, BOOL bWatchSubtree, DWORD
dwNotifyFilter)
+qxeFindFirstChangeNotification (IN const Extbyte * lpPathName, IN BOOL bWatchSubtree, IN
DWORD dwNotifyFilter)
{
if (XEUNICODE_P)
- return FindFirstChangeNotificationW ((LPCWSTR) lpPathName, bWatchSubtree,
dwNotifyFilter);
+ return FindFirstChangeNotificationW ((IN LPCWSTR) lpPathName, bWatchSubtree,
dwNotifyFilter);
else
- return FindFirstChangeNotificationA ((LPCSTR) lpPathName, bWatchSubtree,
dwNotifyFilter);
+ return FindFirstChangeNotificationA ((IN LPCSTR) lpPathName, bWatchSubtree,
dwNotifyFilter);
}
/* Error if ReadDirectoryChanges used: Unicode-only */
BOOL
-qxeIsBadStringPtr (const Extbyte * lpsz, UINT ucchMax)
+qxeIsBadStringPtr (IN const Extbyte * lpsz, IN UINT_PTR ucchMax)
{
if (XEUNICODE_P)
- return IsBadStringPtrW ((LPCWSTR) lpsz, ucchMax);
+ return IsBadStringPtrW ((IN LPCWSTR) lpsz, ucchMax);
else
- return IsBadStringPtrA ((LPCSTR) lpsz, ucchMax);
+ return IsBadStringPtrA ((IN LPCSTR) lpsz, ucchMax);
}
BOOL
-qxeLookupAccountSid (const Extbyte * lpSystemName, PSID Sid, Extbyte * Name, LPDWORD
cbName, Extbyte * ReferencedDomainName, LPDWORD cbReferencedDomainName, PSID_NAME_USE
peUse)
+qxeLookupAccountSid (IN const Extbyte * lpSystemName, IN PSID Sid, OUT Extbyte * Name, IN
OUT LPDWORD cbName, OUT Extbyte * ReferencedDomainName, IN OUT LPDWORD
cbReferencedDomainName, OUT PSID_NAME_USE peUse)
{
if (XEUNICODE_P)
- return LookupAccountSidW ((LPCWSTR) lpSystemName, Sid, (LPWSTR) Name, cbName,
(LPWSTR) ReferencedDomainName, cbReferencedDomainName, peUse);
+ return LookupAccountSidW ((IN LPCWSTR) lpSystemName, Sid, (OUT LPWSTR) Name, cbName,
(OUT LPWSTR) ReferencedDomainName, cbReferencedDomainName, peUse);
else
- return LookupAccountSidA ((LPCSTR) lpSystemName, Sid, (LPSTR) Name, cbName, (LPSTR)
ReferencedDomainName, cbReferencedDomainName, peUse);
+ return LookupAccountSidA ((IN LPCSTR) lpSystemName, Sid, (OUT LPSTR) Name, cbName,
(OUT LPSTR) ReferencedDomainName, cbReferencedDomainName, peUse);
}
BOOL
-qxeLookupAccountName (const Extbyte * lpSystemName, const Extbyte * lpAccountName, PSID
Sid, LPDWORD cbSid, Extbyte * ReferencedDomainName, LPDWORD cbReferencedDomainName,
PSID_NAME_USE peUse)
+qxeLookupAccountName (IN const Extbyte * lpSystemName, IN const Extbyte * lpAccountName,
OUT PSID Sid, IN OUT LPDWORD cbSid, OUT Extbyte * ReferencedDomainName, IN OUT LPDWORD
cbReferencedDomainName, OUT PSID_NAME_USE peUse)
{
if (XEUNICODE_P)
- return LookupAccountNameW ((LPCWSTR) lpSystemName, (LPCWSTR) lpAccountName, Sid,
cbSid, (LPWSTR) ReferencedDomainName, cbReferencedDomainName, peUse);
+ return LookupAccountNameW ((IN LPCWSTR) lpSystemName, (IN LPCWSTR) lpAccountName,
Sid, cbSid, (OUT LPWSTR) ReferencedDomainName, cbReferencedDomainName, peUse);
else
- return LookupAccountNameA ((LPCSTR) lpSystemName, (LPCSTR) lpAccountName, Sid, cbSid,
(LPSTR) ReferencedDomainName, cbReferencedDomainName, peUse);
+ return LookupAccountNameA ((IN LPCSTR) lpSystemName, (IN LPCSTR) lpAccountName, Sid,
cbSid, (OUT LPSTR) ReferencedDomainName, cbReferencedDomainName, peUse);
}
BOOL
-qxeLookupPrivilegeValue (const Extbyte * lpSystemName, const Extbyte * lpName, PLUID
lpLuid)
+qxeLookupPrivilegeValue (IN const Extbyte * lpSystemName, IN const Extbyte * lpName, OUT
PLUID lpLuid)
{
if (XEUNICODE_P)
- return LookupPrivilegeValueW ((LPCWSTR) lpSystemName, (LPCWSTR) lpName, lpLuid);
+ return LookupPrivilegeValueW ((IN LPCWSTR) lpSystemName, (IN LPCWSTR) lpName,
lpLuid);
else
- return LookupPrivilegeValueA ((LPCSTR) lpSystemName, (LPCSTR) lpName, lpLuid);
+ return LookupPrivilegeValueA ((IN LPCSTR) lpSystemName, (IN LPCSTR) lpName, lpLuid);
}
BOOL
-qxeLookupPrivilegeName (const Extbyte * lpSystemName, PLUID lpLuid, Extbyte * lpName,
LPDWORD cbName)
+qxeLookupPrivilegeName (IN const Extbyte * lpSystemName, IN PLUID lpLuid, OUT Extbyte *
lpName, IN OUT LPDWORD cbName)
{
if (XEUNICODE_P)
- return LookupPrivilegeNameW ((LPCWSTR) lpSystemName, lpLuid, (LPWSTR) lpName,
cbName);
+ return LookupPrivilegeNameW ((IN LPCWSTR) lpSystemName, lpLuid, (OUT LPWSTR) lpName,
cbName);
else
- return LookupPrivilegeNameA ((LPCSTR) lpSystemName, lpLuid, (LPSTR) lpName, cbName);
+ return LookupPrivilegeNameA ((IN LPCSTR) lpSystemName, lpLuid, (OUT LPSTR) lpName,
cbName);
}
BOOL
-qxeLookupPrivilegeDisplayName (const Extbyte * lpSystemName, const Extbyte * lpName,
Extbyte * lpDisplayName, LPDWORD cbDisplayName, LPDWORD lpLanguageId)
+qxeLookupPrivilegeDisplayName (IN const Extbyte * lpSystemName, IN const Extbyte *
lpName, OUT Extbyte * lpDisplayName, IN OUT LPDWORD cbDisplayName, OUT LPDWORD
lpLanguageId)
{
if (XEUNICODE_P)
- return LookupPrivilegeDisplayNameW ((LPCWSTR) lpSystemName, (LPCWSTR) lpName,
(LPWSTR) lpDisplayName, cbDisplayName, lpLanguageId);
+ return LookupPrivilegeDisplayNameW ((IN LPCWSTR) lpSystemName, (IN LPCWSTR) lpName,
(OUT LPWSTR) lpDisplayName, cbDisplayName, lpLanguageId);
else
- return LookupPrivilegeDisplayNameA ((LPCSTR) lpSystemName, (LPCSTR) lpName, (LPSTR)
lpDisplayName, cbDisplayName, lpLanguageId);
+ return LookupPrivilegeDisplayNameA ((IN LPCSTR) lpSystemName, (IN LPCSTR) lpName,
(OUT LPSTR) lpDisplayName, cbDisplayName, lpLanguageId);
}
BOOL
-qxeBuildCommDCB (const Extbyte * lpDef, LPDCB lpDCB)
+qxeBuildCommDCB (IN const Extbyte * lpDef, OUT LPDCB lpDCB)
{
if (XEUNICODE_P)
- return BuildCommDCBW ((LPCWSTR) lpDef, lpDCB);
+ return BuildCommDCBW ((IN LPCWSTR) lpDef, lpDCB);
else
- return BuildCommDCBA ((LPCSTR) lpDef, lpDCB);
+ return BuildCommDCBA ((IN LPCSTR) lpDef, lpDCB);
}
BOOL
-qxeBuildCommDCBAndTimeouts (const Extbyte * lpDef, LPDCB lpDCB, LPCOMMTIMEOUTS
lpCommTimeouts)
+qxeBuildCommDCBAndTimeouts (IN const Extbyte * lpDef, OUT LPDCB lpDCB, IN LPCOMMTIMEOUTS
lpCommTimeouts)
{
if (XEUNICODE_P)
- return BuildCommDCBAndTimeoutsW ((LPCWSTR) lpDef, lpDCB, lpCommTimeouts);
+ return BuildCommDCBAndTimeoutsW ((IN LPCWSTR) lpDef, lpDCB, lpCommTimeouts);
else
- return BuildCommDCBAndTimeoutsA ((LPCSTR) lpDef, lpDCB, lpCommTimeouts);
+ return BuildCommDCBAndTimeoutsA ((IN LPCSTR) lpDef, lpDCB, lpCommTimeouts);
}
BOOL
-qxeCommConfigDialog (const Extbyte * lpszName, HWND hWnd, LPCOMMCONFIG lpCC)
+qxeCommConfigDialog (IN const Extbyte * lpszName, IN HWND hWnd, IN OUT LPCOMMCONFIG
lpCC)
{
if (XEUNICODE_P)
- return CommConfigDialogW ((LPCWSTR) lpszName, hWnd, lpCC);
+ return CommConfigDialogW ((IN LPCWSTR) lpszName, hWnd, lpCC);
else
- return CommConfigDialogA ((LPCSTR) lpszName, hWnd, lpCC);
+ return CommConfigDialogA ((IN LPCSTR) lpszName, hWnd, lpCC);
}
BOOL
-qxeGetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, LPDWORD lpdwSize)
+qxeGetDefaultCommConfig (IN const Extbyte * lpszName, OUT LPCOMMCONFIG lpCC, IN OUT
LPDWORD lpdwSize)
{
if (XEUNICODE_P)
- return GetDefaultCommConfigW ((LPCWSTR) lpszName, lpCC, lpdwSize);
+ return GetDefaultCommConfigW ((IN LPCWSTR) lpszName, lpCC, lpdwSize);
else
- return GetDefaultCommConfigA ((LPCSTR) lpszName, lpCC, lpdwSize);
+ return GetDefaultCommConfigA ((IN LPCSTR) lpszName, lpCC, lpdwSize);
}
BOOL
-qxeSetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, DWORD dwSize)
+qxeSetDefaultCommConfig (IN const Extbyte * lpszName, IN LPCOMMCONFIG lpCC, IN DWORD
dwSize)
{
if (XEUNICODE_P)
- return SetDefaultCommConfigW ((LPCWSTR) lpszName, lpCC, dwSize);
+ return SetDefaultCommConfigW ((IN LPCWSTR) lpszName, lpCC, dwSize);
else
- return SetDefaultCommConfigA ((LPCSTR) lpszName, lpCC, dwSize);
+ return SetDefaultCommConfigA ((IN LPCSTR) lpszName, lpCC, dwSize);
}
BOOL
-qxeGetComputerName (Extbyte * lpBuffer, LPDWORD nSize)
+qxeGetComputerName (OUT Extbyte * lpBuffer, IN OUT LPDWORD nSize)
{
if (XEUNICODE_P)
- return GetComputerNameW ((LPWSTR) lpBuffer, nSize);
+ return GetComputerNameW ((OUT LPWSTR) lpBuffer, nSize);
else
- return GetComputerNameA ((LPSTR) lpBuffer, nSize);
+ return GetComputerNameA ((OUT LPSTR) lpBuffer, nSize);
}
BOOL
-qxeSetComputerName (const Extbyte * lpComputerName)
+qxeSetComputerName (IN const Extbyte * lpComputerName)
{
if (XEUNICODE_P)
- return SetComputerNameW ((LPCWSTR) lpComputerName);
+ return SetComputerNameW ((IN LPCWSTR) lpComputerName);
else
- return SetComputerNameA ((LPCSTR) lpComputerName);
+ return SetComputerNameA ((IN LPCSTR) lpComputerName);
}
BOOL
-qxeGetUserName (Extbyte * lpBuffer, LPDWORD nSize)
+qxeGetUserName (OUT Extbyte * lpBuffer, IN OUT LPDWORD nSize)
{
if (XEUNICODE_P)
- return GetUserNameW ((LPWSTR) lpBuffer, nSize);
+ return GetUserNameW ((OUT LPWSTR) lpBuffer, nSize);
else
- return GetUserNameA ((LPSTR) lpBuffer, nSize);
+ return GetUserNameA ((OUT LPSTR) lpBuffer, nSize);
}
BOOL
-qxeLogonUser (Extbyte * lpszUsername, Extbyte * lpszDomain, Extbyte * lpszPassword, DWORD
dwLogonType, DWORD dwLogonProvider, PHANDLE phToken)
+qxeLogonUser (IN const Extbyte * lpszUsername, IN const Extbyte * lpszDomain, IN const
Extbyte * lpszPassword, IN DWORD dwLogonType, IN DWORD dwLogonProvider, OUT PHANDLE
phToken)
{
if (XEUNICODE_P)
- return LogonUserW ((LPWSTR) lpszUsername, (LPWSTR) lpszDomain, (LPWSTR) lpszPassword,
dwLogonType, dwLogonProvider, phToken);
+ return LogonUserW ((IN LPCWSTR) lpszUsername, (IN LPCWSTR) lpszDomain, (IN LPCWSTR)
lpszPassword, dwLogonType, dwLogonProvider, phToken);
else
- return LogonUserA ((LPSTR) lpszUsername, (LPSTR) lpszDomain, (LPSTR) lpszPassword,
dwLogonType, dwLogonProvider, phToken);
+ return LogonUserA ((IN LPCSTR) lpszUsername, (IN LPCSTR) lpszDomain, (IN LPCSTR)
lpszPassword, dwLogonType, dwLogonProvider, phToken);
}
BOOL
-qxeCreateProcessAsUser (HANDLE hToken, const Extbyte * lpApplicationName, Extbyte *
lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES
lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment,
const Extbyte * lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION
lpProcessInformation)
+qxeCreateProcessAsUser (IN HANDLE hToken, IN const Extbyte * lpApplicationName, IN
Extbyte * lpCommandLine, IN LPSECURITY_ATTRIBUTES lpProcessAttributes, IN
LPSECURITY_ATTRIBUTES lpThreadAttributes, IN BOOL bInheritHandles, IN DWORD
dwCreationFlags, IN LPVOID lpEnvironment, IN const Extbyte * lpCurrentDirectory, IN
LPSTARTUPINFOW lpStartupInfo, OUT LPPROCESS_INFORMATION lpProcessInformation)
{
if (XEUNICODE_P)
- return CreateProcessAsUserW (hToken, (LPCWSTR) lpApplicationName, (LPWSTR)
lpCommandLine, lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags,
lpEnvironment, (LPCWSTR) lpCurrentDirectory, lpStartupInfo, lpProcessInformation);
+ return CreateProcessAsUserW (hToken, (IN LPCWSTR) lpApplicationName, (IN LPWSTR)
lpCommandLine, lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags,
lpEnvironment, (IN LPCWSTR) lpCurrentDirectory, lpStartupInfo, lpProcessInformation);
else
- return CreateProcessAsUserA (hToken, (LPCSTR) lpApplicationName, (LPSTR)
lpCommandLine, lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags,
lpEnvironment, (LPCSTR) lpCurrentDirectory, (LPSTARTUPINFOA) lpStartupInfo,
lpProcessInformation);
+ return CreateProcessAsUserA (hToken, (IN LPCSTR) lpApplicationName, (IN LPSTR)
lpCommandLine, lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags,
lpEnvironment, (IN LPCSTR) lpCurrentDirectory, (IN LPSTARTUPINFOA) lpStartupInfo,
lpProcessInformation);
}
/* Error if GetCurrentHwProfile used: split-sized LPHW_PROFILE_INFO; NT 4.0+ only */
@@ -3933,158 +4060,15 @@
/*----------------------------------------------------------------------*/
-/* Processing file MMSYSTEM.H */
+/* Processing file ACLAPI.h */
/*----------------------------------------------------------------------*/
-
-BOOL
-qxesndPlaySound (const Extbyte * pszSound, UINT fuSound)
-{
- if (XEUNICODE_P)
- return sndPlaySoundW ((LPCWSTR) pszSound, fuSound);
- else
- return sndPlaySoundA ((LPCSTR) pszSound, fuSound);
-}
-
-BOOL
-qxePlaySound (const Extbyte * pszSound, HMODULE hmod, DWORD fdwSound)
-{
- if (XEUNICODE_P)
- return PlaySoundW ((LPCWSTR) pszSound, hmod, fdwSound);
- else
- return PlaySoundA ((LPCSTR) pszSound, hmod, fdwSound);
-}
-
-/* Error if waveOutGetDevCaps used: split-sized LPWAVEOUTCAPS */
-
-MMRESULT
-qxewaveOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText)
-{
- if (XEUNICODE_P)
- return waveOutGetErrorTextW (mmrError, (LPWSTR) pszText, cchText);
- else
- return waveOutGetErrorTextA (mmrError, (LPSTR) pszText, cchText);
-}
-
-/* Error if waveInGetDevCaps used: split-sized LPWAVEINCAPS */
-
-MMRESULT
-qxewaveInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText)
-{
- if (XEUNICODE_P)
- return waveInGetErrorTextW (mmrError, (LPWSTR) pszText, cchText);
- else
- return waveInGetErrorTextA (mmrError, (LPSTR) pszText, cchText);
-}
-
-/* Error if midiOutGetDevCaps used: split-sized LPMIDIOUTCAPS */
-
-MMRESULT
-qxemidiOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText)
-{
- if (XEUNICODE_P)
- return midiOutGetErrorTextW (mmrError, (LPWSTR) pszText, cchText);
- else
- return midiOutGetErrorTextA (mmrError, (LPSTR) pszText, cchText);
-}
-
-/* Error if midiInGetDevCaps used: split-sized LPMIDIOUTCAPS */
-
-MMRESULT
-qxemidiInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText)
-{
- if (XEUNICODE_P)
- return midiInGetErrorTextW (mmrError, (LPWSTR) pszText, cchText);
- else
- return midiInGetErrorTextA (mmrError, (LPSTR) pszText, cchText);
-}
-
-/* Error if auxGetDevCaps used: split-sized LPAUXCAPS */
-/* Error if mixerGetDevCaps used: split-sized LPMIXERCAPS */
-
-/* Error if mixerGetLineInfo used: split-sized LPMIXERLINE */
-
-/* Error if mixerGetLineControls used: split-sized LPMIXERCONTROL */
-
-/* Error if mixerGetControlDetails used: split-sized LPMIXERCONTROL in
LPMIXERLINECONTROLS in LPMIXERCONTROLDETAILS */
-
-/* Error if joyGetDevCaps used: split-sized LPJOYCAPS */
-
-FOURCC
-qxemmioStringToFOURCC (const Extbyte * sz, UINT uFlags)
-{
- if (XEUNICODE_P)
- return mmioStringToFOURCCW ((LPCWSTR) sz, uFlags);
- else
- return mmioStringToFOURCCA ((LPCSTR) sz, uFlags);
-}
-
-LPMMIOPROC
-qxemmioInstallIOProc (FOURCC fccIOProc, LPMMIOPROC pIOProc, DWORD dwFlags)
-{
- if (XEUNICODE_P)
- return mmioInstallIOProcW (fccIOProc, pIOProc, dwFlags);
- else
- return mmioInstallIOProcA (fccIOProc, pIOProc, dwFlags);
-}
-
-HMMIO
-qxemmioOpen (Extbyte * pszFileName, LPMMIOINFO pmmioinfo, DWORD fdwOpen)
-{
- if (XEUNICODE_P)
- return mmioOpenW ((LPWSTR) pszFileName, pmmioinfo, fdwOpen);
- else
- return mmioOpenA ((LPSTR) pszFileName, pmmioinfo, fdwOpen);
-}
-
-MMRESULT
-qxemmioRename (const Extbyte * pszFileName, const Extbyte * pszNewFileName, LPCMMIOINFO
pmmioinfo, DWORD fdwRename)
-{
- if (XEUNICODE_P)
- return mmioRenameW ((LPCWSTR) pszFileName, (LPCWSTR) pszNewFileName, pmmioinfo,
fdwRename);
- else
- return mmioRenameA ((LPCSTR) pszFileName, (LPCSTR) pszNewFileName, pmmioinfo,
fdwRename);
-}
-
-MCIERROR
-qxemciSendCommand (MCIDEVICEID mciId, UINT uMsg, DWORD dwParam1, DWORD dwParam2)
-{
- if (XEUNICODE_P)
- return mciSendCommandW (mciId, uMsg, dwParam1, dwParam2);
- else
- return mciSendCommandA (mciId, uMsg, dwParam1, dwParam2);
-}
-
-MCIERROR
-qxemciSendString (const Extbyte * lpstrCommand, Extbyte * lpstrReturnString, UINT
uReturnLength, HWND hwndCallback)
-{
- if (XEUNICODE_P)
- return mciSendStringW ((LPCWSTR) lpstrCommand, (LPWSTR) lpstrReturnString,
uReturnLength, hwndCallback);
- else
- return mciSendStringA ((LPCSTR) lpstrCommand, (LPSTR) lpstrReturnString,
uReturnLength, hwndCallback);
-}
-
-MCIDEVICEID
-qxemciGetDeviceID (const Extbyte * pszDevice)
-{
- if (XEUNICODE_P)
- return mciGetDeviceIDW ((LPCWSTR) pszDevice);
- else
- return mciGetDeviceIDA ((LPCSTR) pszDevice);
-}
-
-#if !defined (MINGW)
-
-/* Error if mciGetDeviceIDFromElementID used: missing from Win98se version of
ADVAPI32.dll */
-
-#endif /* !defined (MINGW) */
-
-BOOL
-qxemciGetErrorString (MCIERROR mcierr, Extbyte * pszText, UINT cchText)
+DWORD
+qxeGetNamedSecurityInfo (IN Extbyte * pObjectName, IN SE_OBJECT_TYPE ObjectType, IN
SECURITY_INFORMATION SecurityInfo, OUT PSID * ppsidOwner, OUT PSID
* ppsidGroup, OUT PACL * ppDacl, OUT PACL *
ppSacl, OUT PSECURITY_DESCRIPTOR * ppSecurityDescriptor)
{
if (XEUNICODE_P)
- return mciGetErrorStringW (mcierr, (LPWSTR) pszText, cchText);
+ return GetNamedSecurityInfoW ((IN LPWSTR) pObjectName, ObjectType, SecurityInfo,
ppsidOwner, ppsidGroup, ppDacl, ppSacl, ppSecurityDescriptor);
else
- return mciGetErrorStringA (mcierr, (LPSTR) pszText, cchText);
+ return GetNamedSecurityInfoA ((IN LPSTR) pObjectName, ObjectType, SecurityInfo,
ppsidOwner, ppsidGroup, ppDacl, ppSacl, ppSecurityDescriptor);
}
Index: src/intl-auto-encap-win32.h
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/intl-auto-encap-win32.h,v
retrieving revision 1.10
diff -u -r1.10 intl-auto-encap-win32.h
--- src/intl-auto-encap-win32.h 2005/01/24 23:34:00 1.10
+++ src/intl-auto-encap-win32.h 2006/11/24 23:48:16
@@ -3,136 +3,52 @@
*/
-/* Processing file WINCON.H */
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef PeekConsoleInput
-#define PeekConsoleInput
error_use_qxePeekConsoleInput_or_PeekConsoleInputA_and_PeekConsoleInputW
-#endif
-BOOL qxePeekConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength,
LPDWORD lpNumberOfEventsRead);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ReadConsoleInput
-#define ReadConsoleInput
error_use_qxeReadConsoleInput_or_ReadConsoleInputA_and_ReadConsoleInputW
-#endif
-BOOL qxeReadConsoleInput (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength,
LPDWORD lpNumberOfEventsRead);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WriteConsoleInput
-#define WriteConsoleInput
error_use_qxeWriteConsoleInput_or_WriteConsoleInputA_and_WriteConsoleInputW
-#endif
-BOOL qxeWriteConsoleInput (HANDLE hConsoleInput, CONST INPUT_RECORD * lpBuffer, DWORD
nLength, LPDWORD lpNumberOfEventsWritten);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ReadConsoleOutput
-#define ReadConsoleOutput
error_use_qxeReadConsoleOutput_or_ReadConsoleOutputA_and_ReadConsoleOutputW
-#endif
-BOOL qxeReadConsoleOutput (HANDLE hConsoleOutput, PCHAR_INFO lpBuffer, COORD
dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpReadRegion);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WriteConsoleOutput
-#define WriteConsoleOutput
error_use_qxeWriteConsoleOutput_or_WriteConsoleOutputA_and_WriteConsoleOutputW
-#endif
-BOOL qxeWriteConsoleOutput (HANDLE hConsoleOutput, CONST CHAR_INFO * lpBuffer, COORD
dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpWriteRegion);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ReadConsoleOutputCharacter
-#define ReadConsoleOutputCharacter
error_use_qxeReadConsoleOutputCharacter_or_ReadConsoleOutputCharacterA_and_ReadConsoleOutputCharacterW
-#endif
-BOOL qxeReadConsoleOutputCharacter (HANDLE hConsoleOutput, Extbyte * lpCharacter, DWORD
nLength, COORD dwReadCoord, LPDWORD lpNumberOfCharsRead);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WriteConsoleOutputCharacter
-#define WriteConsoleOutputCharacter
error_use_qxeWriteConsoleOutputCharacter_or_WriteConsoleOutputCharacterA_and_WriteConsoleOutputCharacterW
-#endif
-BOOL qxeWriteConsoleOutputCharacter (HANDLE hConsoleOutput, const Extbyte * lpCharacter,
DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfCharsWritten);
-
-#undef FillConsoleOutputCharacter
-#define FillConsoleOutputCharacter error_split_CHAR
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ScrollConsoleScreenBuffer
-#define ScrollConsoleScreenBuffer
error_use_qxeScrollConsoleScreenBuffer_or_ScrollConsoleScreenBufferA_and_ScrollConsoleScreenBufferW
-#endif
-BOOL qxeScrollConsoleScreenBuffer (HANDLE hConsoleOutput, CONST SMALL_RECT *
lpScrollRectangle, CONST SMALL_RECT * lpClipRectangle, COORD dwDestinationOrigin, CONST
CHAR_INFO * lpFill);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef GetConsoleTitle
-#define GetConsoleTitle
error_use_qxeGetConsoleTitle_or_GetConsoleTitleA_and_GetConsoleTitleW
-#endif
-DWORD qxeGetConsoleTitle (Extbyte * lpConsoleTitle, DWORD nSize);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef SetConsoleTitle
-#define SetConsoleTitle
error_use_qxeSetConsoleTitle_or_SetConsoleTitleA_and_SetConsoleTitleW
-#endif
-BOOL qxeSetConsoleTitle (const Extbyte * lpConsoleTitle);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ReadConsole
-#define ReadConsole error_use_qxeReadConsole_or_ReadConsoleA_and_ReadConsoleW
-#endif
-BOOL qxeReadConsole (HANDLE hConsoleInput, LPVOID lpBuffer, DWORD nNumberOfCharsToRead,
LPDWORD lpNumberOfCharsRead, LPVOID lpReserved);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WriteConsole
-#define WriteConsole error_use_qxeWriteConsole_or_WriteConsoleA_and_WriteConsoleW
-#endif
-BOOL qxeWriteConsole (HANDLE hConsoleOutput, CONST VOID * lpBuffer, DWORD
nNumberOfCharsToWrite, LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved);
-
-
/* Processing file SHELLAPI.H */
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DragQueryFile
#define DragQueryFile error_use_qxeDragQueryFile_or_DragQueryFileA_and_DragQueryFileW
#endif
-UINT qxeDragQueryFile (HDROP arg1, UINT arg2, Extbyte * arg3, UINT arg4);
+UINT qxeDragQueryFile (HDROP arg1, UINT arg2, Extbyte * arg3, UINT arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ShellExecute
#define ShellExecute error_use_qxeShellExecute_or_ShellExecuteA_and_ShellExecuteW
#endif
-HINSTANCE qxeShellExecute (HWND hwnd, const Extbyte * lpOperation, const Extbyte *
lpFile, const Extbyte * lpParameters, const Extbyte * lpDirectory, INT nShowCmd);
+HINSTANCE qxeShellExecute (HWND hwnd, const Extbyte * lpOperation, const Extbyte *
lpFile, const Extbyte * lpParameters, const Extbyte * lpDirectory, INT nShowCmd);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FindExecutable
#define FindExecutable
error_use_qxeFindExecutable_or_FindExecutableA_and_FindExecutableW
#endif
-HINSTANCE qxeFindExecutable (const Extbyte * lpFile, const Extbyte * lpDirectory,
Extbyte * lpResult);
+HINSTANCE qxeFindExecutable (const Extbyte * lpFile, const Extbyte * lpDirectory, Extbyte
* lpResult);
-#undef CommandLineToArgv
-#define CommandLineToArgv error_Unicode_only
-
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ShellAbout
#define ShellAbout error_use_qxeShellAbout_or_ShellAboutA_and_ShellAboutW
#endif
-INT qxeShellAbout (HWND hWnd, const Extbyte * szApp, const Extbyte * szOtherStuff,
HICON hIcon);
+INT qxeShellAbout (HWND hWnd, const Extbyte * szApp, const Extbyte * szOtherStuff, HICON
hIcon);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ExtractAssociatedIcon
#define ExtractAssociatedIcon
error_use_qxeExtractAssociatedIcon_or_ExtractAssociatedIconA_and_ExtractAssociatedIconW
#endif
-HICON qxeExtractAssociatedIcon (HINSTANCE hInst, Extbyte * lpIconPath, LPWORD
lpiIcon);
+HICON qxeExtractAssociatedIcon (HINSTANCE hInst, Extbyte * lpIconPath, LPWORD lpiIcon);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ExtractIcon
#define ExtractIcon error_use_qxeExtractIcon_or_ExtractIconA_and_ExtractIconW
#endif
-HICON qxeExtractIcon (HINSTANCE hInst, const Extbyte * lpszExeFileName, UINT
nIconIndex);
+HICON qxeExtractIcon (HINSTANCE hInst, const Extbyte * lpszExeFileName, UINT
nIconIndex);
#if !defined (CYGWIN_HEADERS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DoEnvironmentSubst
#define DoEnvironmentSubst
error_use_qxeDoEnvironmentSubst_or_DoEnvironmentSubstA_and_DoEnvironmentSubstW
#endif
-DWORD qxeDoEnvironmentSubst (Extbyte * szString, UINT cbString);
+DWORD qxeDoEnvironmentSubst (Extbyte * szString, UINT cchString);
#endif /* !defined (CYGWIN_HEADERS) */
-#undef FindEnvironmentString
-#define FindEnvironmentString error_causes_link_error__NT_4_0__only
-
/* Skipping ExtractIconEx because NT 4.0+ only, error in Cygwin prototype */
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
@@ -171,9 +87,6 @@
/* Skipping SHGetFileInfo because split-sized SHFILEINFO, NT 4.0+ only */
-#undef SHGetDiskFreeSpace
-#define SHGetDiskFreeSpace error_causes_link_error__NT_4_0__only
-
#if !defined (CYGWIN_HEADERS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SHGetNewLinkInfo
@@ -198,7 +111,7 @@
#undef EnumPrinters
#define EnumPrinters error_use_qxeEnumPrinters_or_EnumPrintersA_and_EnumPrintersW
#endif
-BOOL qxeEnumPrinters (DWORD Flags, Extbyte * Name, DWORD Level, LPBYTE pPrinterEnum,
DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned);
+BOOL qxeEnumPrinters (IN DWORD Flags, IN Extbyte * Name, IN DWORD Level, OUT LPBYTE
pPrinterEnum, IN DWORD cbBuf, OUT LPDWORD pcbNeeded, OUT LPDWORD pcReturned);
#endif /* defined (HAVE_MS_WINDOWS) */
#if defined (HAVE_MS_WINDOWS)
@@ -276,21 +189,6 @@
#endif /* defined (HAVE_MS_WINDOWS) */
#if defined (HAVE_MS_WINDOWS)
-#undef AddPerMachineConnection
-#define AddPerMachineConnection
error_not_used__complicated_interface_with_split_structures
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#undef DeletePerMachineConnection
-#define DeletePerMachineConnection
error_not_used__complicated_interface_with_split_structures
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#undef EnumPerMachineConnections
-#define EnumPerMachineConnections
error_not_used__complicated_interface_with_split_structures
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
#undef AddPrintProcessor
#define AddPrintProcessor error_not_used__complicated_interface_with_split_structures
#endif /* defined (HAVE_MS_WINDOWS) */
@@ -479,155 +377,6 @@
#define DeletePrintProvidor error_not_used__complicated_interface_with_split_structures
#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
-#undef SetPrinterHTMLView
-#define SetPrinterHTMLView error_not_used__complicated_interface_with_split_structures
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#undef GetPrinterHTMLView
-#define GetPrinterHTMLView error_not_used__complicated_interface_with_split_structures
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-
-/* Processing file WINNETWK.H */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetAddConnection
-#define WNetAddConnection
error_use_qxeWNetAddConnection_or_WNetAddConnectionA_and_WNetAddConnectionW
-#endif
-DWORD qxeWNetAddConnection (const Extbyte * lpRemoteName, const Extbyte * lpPassword,
const Extbyte * lpLocalName);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetAddConnection2
-#define WNetAddConnection2
error_use_qxeWNetAddConnection2_or_WNetAddConnection2A_and_WNetAddConnection2W
-#endif
-DWORD qxeWNetAddConnection2 (LPNETRESOURCEW lpNetResource, const Extbyte * lpPassword,
const Extbyte * lpUserName, DWORD dwFlags);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetAddConnection3
-#define WNetAddConnection3
error_use_qxeWNetAddConnection3_or_WNetAddConnection3A_and_WNetAddConnection3W
-#endif
-DWORD qxeWNetAddConnection3 (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte
* lpPassword, const Extbyte * lpUserName, DWORD dwFlags);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetCancelConnection
-#define WNetCancelConnection
error_use_qxeWNetCancelConnection_or_WNetCancelConnectionA_and_WNetCancelConnectionW
-#endif
-DWORD qxeWNetCancelConnection (const Extbyte * lpName, BOOL fForce);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetCancelConnection2
-#define WNetCancelConnection2
error_use_qxeWNetCancelConnection2_or_WNetCancelConnection2A_and_WNetCancelConnection2W
-#endif
-DWORD qxeWNetCancelConnection2 (const Extbyte * lpName, DWORD dwFlags, BOOL fForce);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetGetConnection
-#define WNetGetConnection
error_use_qxeWNetGetConnection_or_WNetGetConnectionA_and_WNetGetConnectionW
-#endif
-DWORD qxeWNetGetConnection (const Extbyte * lpLocalName, Extbyte * lpRemoteName, LPDWORD
lpnLength);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetUseConnection
-#define WNetUseConnection
error_use_qxeWNetUseConnection_or_WNetUseConnectionA_and_WNetUseConnectionW
-#endif
-DWORD qxeWNetUseConnection (HWND hwndOwner, LPNETRESOURCEW lpNetResource, const Extbyte
* lpUserID, const Extbyte * lpPassword, DWORD dwFlags, Extbyte * lpAccessName, LPDWORD
lpBufferSize, LPDWORD lpResult);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetConnectionDialog1
-#define WNetConnectionDialog1
error_use_qxeWNetConnectionDialog1_or_WNetConnectionDialog1A_and_WNetConnectionDialog1W
-#endif
-DWORD qxeWNetConnectionDialog1 (LPCONNECTDLGSTRUCTW lpConnDlgStruct);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetDisconnectDialog1
-#define WNetDisconnectDialog1
error_use_qxeWNetDisconnectDialog1_or_WNetDisconnectDialog1A_and_WNetDisconnectDialog1W
-#endif
-DWORD qxeWNetDisconnectDialog1 (LPDISCDLGSTRUCTW lpConnDlgStruct);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetOpenEnum
-#define WNetOpenEnum error_use_qxeWNetOpenEnum_or_WNetOpenEnumA_and_WNetOpenEnumW
-#endif
-DWORD qxeWNetOpenEnum (DWORD dwScope, DWORD dwType, DWORD dwUsage, LPNETRESOURCEW
lpNetResource, LPHANDLE lphEnum);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetEnumResource
-#define WNetEnumResource
error_use_qxeWNetEnumResource_or_WNetEnumResourceA_and_WNetEnumResourceW
-#endif
-DWORD qxeWNetEnumResource (HANDLE hEnum, LPDWORD lpcCount, LPVOID lpBuffer, LPDWORD
lpBufferSize);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetGetUniversalName
-#define WNetGetUniversalName
error_use_qxeWNetGetUniversalName_or_WNetGetUniversalNameA_and_WNetGetUniversalNameW
-#endif
-DWORD qxeWNetGetUniversalName (const Extbyte * lpLocalPath, DWORD dwInfoLevel, LPVOID
lpBuffer, LPDWORD lpBufferSize);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetGetUser
-#define WNetGetUser error_use_qxeWNetGetUser_or_WNetGetUserA_and_WNetGetUserW
-#endif
-DWORD qxeWNetGetUser (const Extbyte * lpName, Extbyte * lpUserName, LPDWORD lpnLength);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetGetProviderName
-#define WNetGetProviderName
error_use_qxeWNetGetProviderName_or_WNetGetProviderNameA_and_WNetGetProviderNameW
-#endif
-DWORD qxeWNetGetProviderName (DWORD dwNetType, Extbyte * lpProviderName, LPDWORD
lpBufferSize);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetGetNetworkInformation
-#define WNetGetNetworkInformation
error_use_qxeWNetGetNetworkInformation_or_WNetGetNetworkInformationA_and_WNetGetNetworkInformationW
-#endif
-DWORD qxeWNetGetNetworkInformation (const Extbyte * lpProvider, LPNETINFOSTRUCT
lpNetInfoStruct);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef WNetGetLastError
-#define WNetGetLastError
error_use_qxeWNetGetLastError_or_WNetGetLastErrorA_and_WNetGetLastErrorW
-#endif
-DWORD qxeWNetGetLastError (LPDWORD lpError, Extbyte * lpErrorBuf, DWORD nErrorBufSize,
Extbyte * lpNameBuf, DWORD nNameBufSize);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef MultinetGetConnectionPerformance
-#define MultinetGetConnectionPerformance
error_use_qxeMultinetGetConnectionPerformance_or_MultinetGetConnectionPerformanceA_and_MultinetGetConnectionPerformanceW
-#endif
-DWORD qxeMultinetGetConnectionPerformance (LPNETRESOURCEW lpNetResource,
LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
/* Processing file WINUSER.H */
@@ -635,19 +384,19 @@
#undef wvsprintf
#define wvsprintf error_use_qxewvsprintf_or_wvsprintfA_and_wvsprintfW
#endif
-int qxewvsprintf (Extbyte * arg1, const Extbyte * arg2, va_list arglist);
+int qxewvsprintf (OUT Extbyte * arg1, IN const Extbyte * arg2, IN va_list arglist);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadKeyboardLayout
#define LoadKeyboardLayout
error_use_qxeLoadKeyboardLayout_or_LoadKeyboardLayoutA_and_LoadKeyboardLayoutW
#endif
-HKL qxeLoadKeyboardLayout (const Extbyte * pwszKLID, UINT Flags);
+HKL qxeLoadKeyboardLayout (IN const Extbyte * pwszKLID, IN UINT Flags);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetKeyboardLayoutName
#define GetKeyboardLayoutName
error_use_qxeGetKeyboardLayoutName_or_GetKeyboardLayoutNameA_and_GetKeyboardLayoutNameW
#endif
-BOOL qxeGetKeyboardLayoutName (Extbyte * pwszKLID);
+BOOL qxeGetKeyboardLayoutName (OUT Extbyte * pwszKLID);
#undef CreateDesktop
#define CreateDesktop error_split_sized_LPDEVMODE
@@ -656,67 +405,67 @@
#undef OpenDesktop
#define OpenDesktop error_use_qxeOpenDesktop_or_OpenDesktopA_and_OpenDesktopW
#endif
-HDESK qxeOpenDesktop (Extbyte * lpszDesktop, DWORD dwFlags, BOOL fInherit, ACCESS_MASK
dwDesiredAccess);
+HDESK qxeOpenDesktop (IN const Extbyte * lpszDesktop, IN DWORD dwFlags, IN BOOL fInherit,
IN ACCESS_MASK dwDesiredAccess);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef EnumDesktops
#define EnumDesktops error_use_qxeEnumDesktops_or_EnumDesktopsA_and_EnumDesktopsW
#endif
-BOOL qxeEnumDesktops (HWINSTA hwinsta, DESKTOPENUMPROCW lpEnumFunc, LPARAM lParam);
+BOOL qxeEnumDesktops (IN HWINSTA hwinsta, IN DESKTOPENUMPROCW lpEnumFunc, IN LPARAM
lParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateWindowStation
#define CreateWindowStation
error_use_qxeCreateWindowStation_or_CreateWindowStationA_and_CreateWindowStationW
#endif
-HWINSTA qxeCreateWindowStation (Extbyte * lpwinsta, DWORD dwReserved, ACCESS_MASK
dwDesiredAccess, LPSECURITY_ATTRIBUTES lpsa);
+HWINSTA qxeCreateWindowStation (IN const Extbyte * lpwinsta, IN DWORD dwReserved, IN
ACCESS_MASK dwDesiredAccess, IN LPSECURITY_ATTRIBUTES lpsa);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OpenWindowStation
#define OpenWindowStation
error_use_qxeOpenWindowStation_or_OpenWindowStationA_and_OpenWindowStationW
#endif
-HWINSTA qxeOpenWindowStation (Extbyte * lpszWinSta, BOOL fInherit, ACCESS_MASK
dwDesiredAccess);
+HWINSTA qxeOpenWindowStation (IN const Extbyte * lpszWinSta, IN BOOL fInherit, IN
ACCESS_MASK dwDesiredAccess);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef EnumWindowStations
#define EnumWindowStations
error_use_qxeEnumWindowStations_or_EnumWindowStationsA_and_EnumWindowStationsW
#endif
-BOOL qxeEnumWindowStations (WINSTAENUMPROCW lpEnumFunc, LPARAM lParam);
+BOOL qxeEnumWindowStations (IN WINSTAENUMPROCW lpEnumFunc, IN LPARAM lParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetUserObjectInformation
#define GetUserObjectInformation
error_use_qxeGetUserObjectInformation_or_GetUserObjectInformationA_and_GetUserObjectInformationW
#endif
-BOOL qxeGetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength,
LPDWORD lpnLengthNeeded);
+BOOL qxeGetUserObjectInformation (IN HANDLE hObj, IN int nIndex, OUT PVOID pvInfo, IN
DWORD nLength, OUT LPDWORD lpnLengthNeeded);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetUserObjectInformation
#define SetUserObjectInformation
error_use_qxeSetUserObjectInformation_or_SetUserObjectInformationA_and_SetUserObjectInformationW
#endif
-BOOL qxeSetUserObjectInformation (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength);
+BOOL qxeSetUserObjectInformation (IN HANDLE hObj, IN int nIndex, IN PVOID pvInfo, IN
DWORD nLength);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef RegisterWindowMessage
#define RegisterWindowMessage
error_use_qxeRegisterWindowMessage_or_RegisterWindowMessageA_and_RegisterWindowMessageW
#endif
-UINT qxeRegisterWindowMessage (const Extbyte * lpString);
+UINT qxeRegisterWindowMessage (IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetMessage
#define GetMessage error_use_qxeGetMessage_or_GetMessageA_and_GetMessageW
#endif
-BOOL qxeGetMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax);
+BOOL qxeGetMessage (OUT LPMSG lpMsg, IN HWND hWnd, IN UINT wMsgFilterMin, IN UINT
wMsgFilterMax);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DispatchMessage
#define DispatchMessage
error_use_qxeDispatchMessage_or_DispatchMessageA_and_DispatchMessageW
#endif
-LONG qxeDispatchMessage (CONST MSG * lpMsg);
+LRESULT qxeDispatchMessage (IN CONST MSG * lpMsg);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef PeekMessage
#define PeekMessage error_use_qxePeekMessage_or_PeekMessageA_and_PeekMessageW
#endif
-BOOL qxePeekMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT
wRemoveMsg);
+BOOL qxePeekMessage (OUT LPMSG lpMsg, IN HWND hWnd, IN UINT wMsgFilterMin, IN UINT
wMsgFilterMax, IN UINT wRemoveMsg);
/* Skipping SendMessage because split messages and structures */
@@ -724,19 +473,19 @@
#undef SendMessageTimeout
#define SendMessageTimeout
error_use_qxeSendMessageTimeout_or_SendMessageTimeoutA_and_SendMessageTimeoutW
#endif
-LRESULT qxeSendMessageTimeout (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, UINT
fuFlags, UINT uTimeout, LPDWORD lpdwResult);
+LRESULT qxeSendMessageTimeout (IN HWND hWnd, IN UINT Msg, IN WPARAM wParam, IN LPARAM
lParam, IN UINT fuFlags, IN UINT uTimeout, OUT PDWORD_PTR lpdwResult);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SendNotifyMessage
#define SendNotifyMessage
error_use_qxeSendNotifyMessage_or_SendNotifyMessageA_and_SendNotifyMessageW
#endif
-BOOL qxeSendNotifyMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
+BOOL qxeSendNotifyMessage (IN HWND hWnd, IN UINT Msg, IN WPARAM wParam, IN LPARAM
lParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SendMessageCallback
#define SendMessageCallback
error_use_qxeSendMessageCallback_or_SendMessageCallbackA_and_SendMessageCallbackW
#endif
-BOOL qxeSendMessageCallback (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam,
SENDASYNCPROC lpResultCallBack, DWORD dwData);
+BOOL qxeSendMessageCallback (IN HWND hWnd, IN UINT Msg, IN WPARAM wParam, IN LPARAM
lParam, IN SENDASYNCPROC lpResultCallBack, IN ULONG_PTR dwData);
#undef BroadcastSystemMessage
#define BroadcastSystemMessage error_win95_version_not_split__NT_4_0__only
@@ -748,13 +497,13 @@
#undef PostMessage
#define PostMessage error_use_qxePostMessage_or_PostMessageA_and_PostMessageW
#endif
-BOOL qxePostMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
+BOOL qxePostMessage (IN HWND hWnd, IN UINT Msg, IN WPARAM wParam, IN LPARAM lParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef PostThreadMessage
#define PostThreadMessage
error_use_qxePostThreadMessage_or_PostThreadMessageA_and_PostThreadMessageW
#endif
-BOOL qxePostThreadMessage (DWORD idThread, UINT Msg, WPARAM wParam, LPARAM lParam);
+BOOL qxePostThreadMessage (IN DWORD idThread, IN UINT Msg, IN WPARAM wParam, IN LPARAM
lParam);
/* Skipping DefWindowProc because return value is conditionalized on _MAC, messes up
parser */
@@ -772,7 +521,7 @@
#undef GetClassInfo
#define GetClassInfo error_use_qxeGetClassInfo_or_GetClassInfoA_and_GetClassInfoW
#endif
-BOOL qxeGetClassInfo (HINSTANCE hInstance, const Extbyte * lpClassName, LPWNDCLASSW
lpWndClass);
+BOOL qxeGetClassInfo (IN HINSTANCE hInstance, IN const Extbyte * lpClassName, OUT
LPWNDCLASSW lpWndClass);
/* Skipping RegisterClassEx because need to intercept so we can provide our own window
procedure and handle split notify messages; split-simple WNDCLASSEX; NT 4.0+ only */
@@ -780,55 +529,55 @@
#undef GetClassInfoEx
#define GetClassInfoEx
error_use_qxeGetClassInfoEx_or_GetClassInfoExA_and_GetClassInfoExW
#endif
-BOOL qxeGetClassInfoEx (HINSTANCE arg1, const Extbyte * arg2, LPWNDCLASSEXW arg3);
+BOOL qxeGetClassInfoEx (IN HINSTANCE arg1, IN const Extbyte * arg2, OUT LPWNDCLASSEXW
arg3);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateWindowEx
#define CreateWindowEx
error_use_qxeCreateWindowEx_or_CreateWindowExA_and_CreateWindowExW
#endif
-HWND qxeCreateWindowEx (DWORD dwExStyle, const Extbyte * lpClassName, const Extbyte *
lpWindowName, DWORD dwStyle, int X, int Y, int nWidth, int nHeight, HWND hWndParent, HMENU
hMenu, HINSTANCE hInstance, LPVOID lpParam);
+HWND qxeCreateWindowEx (IN DWORD dwExStyle, IN const Extbyte * lpClassName, IN const
Extbyte * lpWindowName, IN DWORD dwStyle, IN int X, IN int Y, IN int nWidth, IN int
nHeight, IN HWND hWndParent, IN HMENU hMenu, IN HINSTANCE hInstance, IN LPVOID lpParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateDialogParam
#define CreateDialogParam
error_use_qxeCreateDialogParam_or_CreateDialogParamA_and_CreateDialogParamW
#endif
-HWND qxeCreateDialogParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND
hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
+HWND qxeCreateDialogParam (IN HINSTANCE hInstance, IN const Extbyte * lpTemplateName, IN
HWND hWndParent, IN DLGPROC lpDialogFunc, IN LPARAM dwInitParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateDialogIndirectParam
#define CreateDialogIndirectParam
error_use_qxeCreateDialogIndirectParam_or_CreateDialogIndirectParamA_and_CreateDialogIndirectParamW
#endif
-HWND qxeCreateDialogIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW lpTemplate, HWND
hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
+HWND qxeCreateDialogIndirectParam (IN HINSTANCE hInstance, IN LPCDLGTEMPLATEW lpTemplate,
IN HWND hWndParent, IN DLGPROC lpDialogFunc, IN LPARAM dwInitParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DialogBoxParam
#define DialogBoxParam
error_use_qxeDialogBoxParam_or_DialogBoxParamA_and_DialogBoxParamW
#endif
-int qxeDialogBoxParam (HINSTANCE hInstance, const Extbyte * lpTemplateName, HWND
hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
+INT_PTR qxeDialogBoxParam (IN HINSTANCE hInstance, IN const Extbyte * lpTemplateName, IN
HWND hWndParent, IN DLGPROC lpDialogFunc, IN LPARAM dwInitParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DialogBoxIndirectParam
#define DialogBoxIndirectParam
error_use_qxeDialogBoxIndirectParam_or_DialogBoxIndirectParamA_and_DialogBoxIndirectParamW
#endif
-int qxeDialogBoxIndirectParam (HINSTANCE hInstance, LPCDLGTEMPLATEW hDialogTemplate, HWND
hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
+INT_PTR qxeDialogBoxIndirectParam (IN HINSTANCE hInstance, IN LPCDLGTEMPLATEW
hDialogTemplate, IN HWND hWndParent, IN DLGPROC lpDialogFunc, IN LPARAM dwInitParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetDlgItemText
#define SetDlgItemText
error_use_qxeSetDlgItemText_or_SetDlgItemTextA_and_SetDlgItemTextW
#endif
-BOOL qxeSetDlgItemText (HWND hDlg, int nIDDlgItem, const Extbyte * lpString);
+BOOL qxeSetDlgItemText (IN HWND hDlg, IN int nIDDlgItem, IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetDlgItemText
#define GetDlgItemText
error_use_qxeGetDlgItemText_or_GetDlgItemTextA_and_GetDlgItemTextW
#endif
-UINT qxeGetDlgItemText (HWND hDlg, int nIDDlgItem, Extbyte * lpString, int nMaxCount);
+UINT qxeGetDlgItemText (IN HWND hDlg, IN int nIDDlgItem, OUT Extbyte * lpString, IN int
nMaxCount);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SendDlgItemMessage
#define SendDlgItemMessage
error_use_qxeSendDlgItemMessage_or_SendDlgItemMessageA_and_SendDlgItemMessageW
#endif
-LONG qxeSendDlgItemMessage (HWND hDlg, int nIDDlgItem, UINT Msg, WPARAM wParam, LPARAM
lParam);
+LRESULT qxeSendDlgItemMessage (IN HWND hDlg, IN int nIDDlgItem, IN UINT Msg, IN WPARAM
wParam, IN LPARAM lParam);
#undef DefDlgProc
#define DefDlgProc error_return_value_is_conditionalized_on__MAC__messes_up_parser
@@ -838,80 +587,80 @@
#undef CallMsgFilter
#define CallMsgFilter error_use_qxeCallMsgFilter_or_CallMsgFilterA_and_CallMsgFilterW
#endif
-BOOL qxeCallMsgFilter (LPMSG lpMsg, int nCode);
+BOOL qxeCallMsgFilter (IN LPMSG lpMsg, IN int nCode);
#endif /* !defined (CYGWIN_HEADERS) */
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef RegisterClipboardFormat
#define RegisterClipboardFormat
error_use_qxeRegisterClipboardFormat_or_RegisterClipboardFormatA_and_RegisterClipboardFormatW
#endif
-UINT qxeRegisterClipboardFormat (const Extbyte * lpszFormat);
+UINT qxeRegisterClipboardFormat (IN const Extbyte * lpszFormat);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetClipboardFormatName
#define GetClipboardFormatName
error_use_qxeGetClipboardFormatName_or_GetClipboardFormatNameA_and_GetClipboardFormatNameW
#endif
-int qxeGetClipboardFormatName (UINT format, Extbyte * lpszFormatName, int cchMaxCount);
+int qxeGetClipboardFormatName (IN UINT format, OUT Extbyte * lpszFormatName, IN int
cchMaxCount);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CharToOem
#define CharToOem error_use_qxeCharToOem_or_CharToOemA_and_CharToOemW
#endif
-BOOL qxeCharToOem (const Extbyte * lpszSrc, LPSTR lpszDst);
+BOOL qxeCharToOem (IN const Extbyte * lpszSrc, OUT LPSTR lpszDst);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OemToChar
#define OemToChar error_use_qxeOemToChar_or_OemToCharA_and_OemToCharW
#endif
-BOOL qxeOemToChar (LPCSTR lpszSrc, Extbyte * lpszDst);
+BOOL qxeOemToChar (IN LPCSTR lpszSrc, OUT Extbyte * lpszDst);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CharToOemBuff
#define CharToOemBuff error_use_qxeCharToOemBuff_or_CharToOemBuffA_and_CharToOemBuffW
#endif
-BOOL qxeCharToOemBuff (const Extbyte * lpszSrc, LPSTR lpszDst, DWORD cchDstLength);
+BOOL qxeCharToOemBuff (IN const Extbyte * lpszSrc, OUT LPSTR lpszDst, IN DWORD
cchDstLength);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OemToCharBuff
#define OemToCharBuff error_use_qxeOemToCharBuff_or_OemToCharBuffA_and_OemToCharBuffW
#endif
-BOOL qxeOemToCharBuff (LPCSTR lpszSrc, Extbyte * lpszDst, DWORD cchDstLength);
+BOOL qxeOemToCharBuff (IN LPCSTR lpszSrc, OUT Extbyte * lpszDst, IN DWORD cchDstLength);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CharUpper
#define CharUpper error_use_qxeCharUpper_or_CharUpperA_and_CharUpperW
#endif
-Extbyte * qxeCharUpper (Extbyte * lpsz);
+Extbyte * qxeCharUpper (IN OUT Extbyte * lpsz);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CharUpperBuff
#define CharUpperBuff error_use_qxeCharUpperBuff_or_CharUpperBuffA_and_CharUpperBuffW
#endif
-DWORD qxeCharUpperBuff (Extbyte * lpsz, DWORD cchLength);
+DWORD qxeCharUpperBuff (IN OUT Extbyte * lpsz, IN DWORD cchLength);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CharLower
#define CharLower error_use_qxeCharLower_or_CharLowerA_and_CharLowerW
#endif
-Extbyte * qxeCharLower (Extbyte * lpsz);
+Extbyte * qxeCharLower (IN OUT Extbyte * lpsz);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CharLowerBuff
#define CharLowerBuff error_use_qxeCharLowerBuff_or_CharLowerBuffA_and_CharLowerBuffW
#endif
-DWORD qxeCharLowerBuff (Extbyte * lpsz, DWORD cchLength);
+DWORD qxeCharLowerBuff (IN OUT Extbyte * lpsz, IN DWORD cchLength);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CharNext
#define CharNext error_use_qxeCharNext_or_CharNextA_and_CharNextW
#endif
-Extbyte * qxeCharNext (const Extbyte * lpsz);
+Extbyte * qxeCharNext (IN const Extbyte * lpsz);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CharPrev
#define CharPrev error_use_qxeCharPrev_or_CharPrevA_and_CharPrevW
#endif
-Extbyte * qxeCharPrev (const Extbyte * lpszStart, const Extbyte * lpszCurrent);
+Extbyte * qxeCharPrev (IN const Extbyte * lpszStart, IN const Extbyte * lpszCurrent);
#undef IsCharAlpha
#define IsCharAlpha error_split_CHAR
@@ -929,7 +678,7 @@
#undef GetKeyNameText
#define GetKeyNameText
error_use_qxeGetKeyNameText_or_GetKeyNameTextA_and_GetKeyNameTextW
#endif
-int qxeGetKeyNameText (LONG lParam, Extbyte * lpString, int nSize);
+int qxeGetKeyNameText (IN LONG lParam, OUT Extbyte * lpString, IN int nSize);
/* Skipping VkKeyScan because split CHAR */
@@ -940,241 +689,241 @@
#undef MapVirtualKey
#define MapVirtualKey error_use_qxeMapVirtualKey_or_MapVirtualKeyA_and_MapVirtualKeyW
#endif
-UINT qxeMapVirtualKey (UINT uCode, UINT uMapType);
+UINT qxeMapVirtualKey (IN UINT uCode, IN UINT uMapType);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef MapVirtualKeyEx
#define MapVirtualKeyEx
error_use_qxeMapVirtualKeyEx_or_MapVirtualKeyExA_and_MapVirtualKeyExW
#endif
-UINT qxeMapVirtualKeyEx (UINT uCode, UINT uMapType, HKL dwhkl);
+UINT qxeMapVirtualKeyEx (IN UINT uCode, IN UINT uMapType, IN HKL dwhkl);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadAccelerators
#define LoadAccelerators
error_use_qxeLoadAccelerators_or_LoadAcceleratorsA_and_LoadAcceleratorsW
#endif
-HACCEL qxeLoadAccelerators (HINSTANCE hInstance, const Extbyte * lpTableName);
+HACCEL qxeLoadAccelerators (IN HINSTANCE hInstance, IN const Extbyte * lpTableName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateAcceleratorTable
#define CreateAcceleratorTable
error_use_qxeCreateAcceleratorTable_or_CreateAcceleratorTableA_and_CreateAcceleratorTableW
#endif
-HACCEL qxeCreateAcceleratorTable (LPACCEL arg1, int arg2);
+HACCEL qxeCreateAcceleratorTable (IN LPACCEL arg1, IN int arg2);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CopyAcceleratorTable
#define CopyAcceleratorTable
error_use_qxeCopyAcceleratorTable_or_CopyAcceleratorTableA_and_CopyAcceleratorTableW
#endif
-int qxeCopyAcceleratorTable (HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries);
+int qxeCopyAcceleratorTable (IN HACCEL hAccelSrc, OUT LPACCEL lpAccelDst, IN int
cAccelEntries);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef TranslateAccelerator
#define TranslateAccelerator
error_use_qxeTranslateAccelerator_or_TranslateAcceleratorA_and_TranslateAcceleratorW
#endif
-int qxeTranslateAccelerator (HWND hWnd, HACCEL hAccTable, LPMSG lpMsg);
+int qxeTranslateAccelerator (IN HWND hWnd, IN HACCEL hAccTable, IN LPMSG lpMsg);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadMenu
#define LoadMenu error_use_qxeLoadMenu_or_LoadMenuA_and_LoadMenuW
#endif
-HMENU qxeLoadMenu (HINSTANCE hInstance, const Extbyte * lpMenuName);
+HMENU qxeLoadMenu (IN HINSTANCE hInstance, IN const Extbyte * lpMenuName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadMenuIndirect
#define LoadMenuIndirect
error_use_qxeLoadMenuIndirect_or_LoadMenuIndirectA_and_LoadMenuIndirectW
#endif
-HMENU qxeLoadMenuIndirect (CONST MENUTEMPLATEW * lpMenuTemplate);
+HMENU qxeLoadMenuIndirect (IN CONST MENUTEMPLATEW * lpMenuTemplate);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ChangeMenu
#define ChangeMenu error_use_qxeChangeMenu_or_ChangeMenuA_and_ChangeMenuW
#endif
-BOOL qxeChangeMenu (HMENU hMenu, UINT cmd, const Extbyte * lpszNewItem, UINT cmdInsert,
UINT flags);
+BOOL qxeChangeMenu (IN HMENU hMenu, IN UINT cmd, IN const Extbyte * lpszNewItem, IN UINT
cmdInsert, IN UINT flags);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetMenuString
#define GetMenuString error_use_qxeGetMenuString_or_GetMenuStringA_and_GetMenuStringW
#endif
-int qxeGetMenuString (HMENU hMenu, UINT uIDItem, Extbyte * lpString, int nMaxCount, UINT
uFlag);
+int qxeGetMenuString (IN HMENU hMenu, IN UINT uIDItem, OUT Extbyte * lpString, IN int
nMaxCount, IN UINT uFlag);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef InsertMenu
#define InsertMenu error_use_qxeInsertMenu_or_InsertMenuA_and_InsertMenuW
#endif
-BOOL qxeInsertMenu (HMENU hMenu, UINT uPosition, UINT uFlags, UINT uIDNewItem, const
Extbyte * lpNewItem);
+BOOL qxeInsertMenu (IN HMENU hMenu, IN UINT uPosition, IN UINT uFlags, IN UINT_PTR
uIDNewItem, IN const Extbyte * lpNewItem);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef AppendMenu
#define AppendMenu error_use_qxeAppendMenu_or_AppendMenuA_and_AppendMenuW
#endif
-BOOL qxeAppendMenu (HMENU hMenu, UINT uFlags, UINT uIDNewItem, const Extbyte *
lpNewItem);
+BOOL qxeAppendMenu (IN HMENU hMenu, IN UINT uFlags, IN UINT_PTR uIDNewItem, IN const
Extbyte * lpNewItem);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ModifyMenu
#define ModifyMenu error_use_qxeModifyMenu_or_ModifyMenuA_and_ModifyMenuW
#endif
-BOOL qxeModifyMenu (HMENU hMnu, UINT uPosition, UINT uFlags, UINT uIDNewItem, const
Extbyte * lpNewItem);
+BOOL qxeModifyMenu (IN HMENU hMnu, IN UINT uPosition, IN UINT uFlags, IN UINT_PTR
uIDNewItem, IN const Extbyte * lpNewItem);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef InsertMenuItem
#define InsertMenuItem
error_use_qxeInsertMenuItem_or_InsertMenuItemA_and_InsertMenuItemW
#endif
-BOOL qxeInsertMenuItem (HMENU arg1, UINT arg2, BOOL arg3, LPCMENUITEMINFOW arg4);
+BOOL qxeInsertMenuItem (IN HMENU arg1, IN UINT arg2, IN BOOL arg3, IN LPCMENUITEMINFOW
arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetMenuItemInfo
#define GetMenuItemInfo
error_use_qxeGetMenuItemInfo_or_GetMenuItemInfoA_and_GetMenuItemInfoW
#endif
-BOOL qxeGetMenuItemInfo (HMENU arg1, UINT arg2, BOOL arg3, LPMENUITEMINFOW arg4);
+BOOL qxeGetMenuItemInfo (IN HMENU arg1, IN UINT arg2, IN BOOL arg3, IN OUT
LPMENUITEMINFOW arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetMenuItemInfo
#define SetMenuItemInfo
error_use_qxeSetMenuItemInfo_or_SetMenuItemInfoA_and_SetMenuItemInfoW
#endif
-BOOL qxeSetMenuItemInfo (HMENU arg1, UINT arg2, BOOL arg3, LPCMENUITEMINFOW arg4);
+BOOL qxeSetMenuItemInfo (IN HMENU arg1, IN UINT arg2, IN BOOL arg3, IN LPCMENUITEMINFOW
arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DrawText
#define DrawText error_use_qxeDrawText_or_DrawTextA_and_DrawTextW
#endif
-int qxeDrawText (HDC hDC, const Extbyte * lpString, int nCount, LPRECT lpRect, UINT
uFormat);
+int qxeDrawText (IN HDC hDC, IN const Extbyte * lpString, IN int nCount, IN OUT LPRECT
lpRect, IN UINT uFormat);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DrawTextEx
#define DrawTextEx error_use_qxeDrawTextEx_or_DrawTextExA_and_DrawTextExW
#endif
-int qxeDrawTextEx (HDC arg1, Extbyte * arg2, int arg3, LPRECT arg4, UINT arg5,
LPDRAWTEXTPARAMS arg6);
+int qxeDrawTextEx (IN HDC arg1, IN OUT Extbyte * arg2, IN int arg3, IN OUT LPRECT arg4,
IN UINT arg5, IN LPDRAWTEXTPARAMS arg6);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GrayString
#define GrayString error_use_qxeGrayString_or_GrayStringA_and_GrayStringW
#endif
-BOOL qxeGrayString (HDC hDC, HBRUSH hBrush, GRAYSTRINGPROC lpOutputFunc, LPARAM lpData,
int nCount, int X, int Y, int nWidth, int nHeight);
+BOOL qxeGrayString (IN HDC hDC, IN HBRUSH hBrush, IN GRAYSTRINGPROC lpOutputFunc, IN
LPARAM lpData, IN int nCount, IN int X, IN int Y, IN int nWidth, IN int nHeight);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DrawState
#define DrawState error_use_qxeDrawState_or_DrawStateA_and_DrawStateW
#endif
-BOOL qxeDrawState (HDC arg1, HBRUSH arg2, DRAWSTATEPROC arg3, LPARAM arg4, WPARAM arg5,
int arg6, int arg7, int arg8, int arg9, UINT arg10);
+BOOL qxeDrawState (IN HDC arg1, IN HBRUSH arg2, IN DRAWSTATEPROC arg3, IN LPARAM arg4, IN
WPARAM arg5, IN int arg6, IN int arg7, IN int arg8, IN int arg9, IN UINT arg10);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef TabbedTextOut
#define TabbedTextOut error_use_qxeTabbedTextOut_or_TabbedTextOutA_and_TabbedTextOutW
#endif
-LONG qxeTabbedTextOut (HDC hDC, int X, int Y, const Extbyte * lpString, int nCount, int
nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin);
+LONG qxeTabbedTextOut (IN HDC hDC, IN int X, IN int Y, IN const Extbyte * lpString, IN
int nCount, IN int nTabPositions, IN CONST INT * lpnTabStopPositions, IN int nTabOrigin);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetTabbedTextExtent
#define GetTabbedTextExtent
error_use_qxeGetTabbedTextExtent_or_GetTabbedTextExtentA_and_GetTabbedTextExtentW
#endif
-DWORD qxeGetTabbedTextExtent (HDC hDC, const Extbyte * lpString, int nCount, int
nTabPositions, LPINT lpnTabStopPositions);
+DWORD qxeGetTabbedTextExtent (IN HDC hDC, IN const Extbyte * lpString, IN int nCount, IN
int nTabPositions, IN CONST INT * lpnTabStopPositions);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetProp
#define SetProp error_use_qxeSetProp_or_SetPropA_and_SetPropW
#endif
-BOOL qxeSetProp (HWND hWnd, const Extbyte * lpString, HANDLE hData);
+BOOL qxeSetProp (IN HWND hWnd, IN const Extbyte * lpString, IN HANDLE hData);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetProp
#define GetProp error_use_qxeGetProp_or_GetPropA_and_GetPropW
#endif
-HANDLE qxeGetProp (HWND hWnd, const Extbyte * lpString);
+HANDLE qxeGetProp (IN HWND hWnd, IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef RemoveProp
#define RemoveProp error_use_qxeRemoveProp_or_RemovePropA_and_RemovePropW
#endif
-HANDLE qxeRemoveProp (HWND hWnd, const Extbyte * lpString);
+HANDLE qxeRemoveProp (IN HWND hWnd, IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef EnumPropsEx
#define EnumPropsEx error_use_qxeEnumPropsEx_or_EnumPropsExA_and_EnumPropsExW
#endif
-int qxeEnumPropsEx (HWND hWnd, PROPENUMPROCEXW lpEnumFunc, LPARAM lParam);
+int qxeEnumPropsEx (IN HWND hWnd, IN PROPENUMPROCEXW lpEnumFunc, IN LPARAM lParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef EnumProps
#define EnumProps error_use_qxeEnumProps_or_EnumPropsA_and_EnumPropsW
#endif
-int qxeEnumProps (HWND hWnd, PROPENUMPROCW lpEnumFunc);
+int qxeEnumProps (IN HWND hWnd, IN PROPENUMPROCW lpEnumFunc);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetWindowText
#define SetWindowText error_use_qxeSetWindowText_or_SetWindowTextA_and_SetWindowTextW
#endif
-BOOL qxeSetWindowText (HWND hWnd, const Extbyte * lpString);
+BOOL qxeSetWindowText (IN HWND hWnd, IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetWindowText
#define GetWindowText error_use_qxeGetWindowText_or_GetWindowTextA_and_GetWindowTextW
#endif
-int qxeGetWindowText (HWND hWnd, Extbyte * lpString, int nMaxCount);
+int qxeGetWindowText (IN HWND hWnd, OUT Extbyte * lpString, IN int nMaxCount);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetWindowTextLength
#define GetWindowTextLength
error_use_qxeGetWindowTextLength_or_GetWindowTextLengthA_and_GetWindowTextLengthW
#endif
-int qxeGetWindowTextLength (HWND hWnd);
+int qxeGetWindowTextLength (IN HWND hWnd);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef MessageBox
#define MessageBox error_use_qxeMessageBox_or_MessageBoxA_and_MessageBoxW
#endif
-int qxeMessageBox (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT
uType);
+int qxeMessageBox (IN HWND hWnd, IN const Extbyte * lpText, IN const Extbyte * lpCaption,
IN UINT uType);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef MessageBoxEx
#define MessageBoxEx error_use_qxeMessageBoxEx_or_MessageBoxExA_and_MessageBoxExW
#endif
-int qxeMessageBoxEx (HWND hWnd, const Extbyte * lpText, const Extbyte * lpCaption, UINT
uType, WORD wLanguageId);
+int qxeMessageBoxEx (IN HWND hWnd, IN const Extbyte * lpText, IN const Extbyte *
lpCaption, IN UINT uType, IN WORD wLanguageId);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef MessageBoxIndirect
#define MessageBoxIndirect
error_use_qxeMessageBoxIndirect_or_MessageBoxIndirectA_and_MessageBoxIndirectW
#endif
-int qxeMessageBoxIndirect (LPMSGBOXPARAMSW arg1);
+int qxeMessageBoxIndirect (IN CONST MSGBOXPARAMSW * arg1);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetWindowLong
#define GetWindowLong error_use_qxeGetWindowLong_or_GetWindowLongA_and_GetWindowLongW
#endif
-LONG qxeGetWindowLong (HWND hWnd, int nIndex);
+LONG qxeGetWindowLong (IN HWND hWnd, IN int nIndex);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetWindowLong
#define SetWindowLong error_use_qxeSetWindowLong_or_SetWindowLongA_and_SetWindowLongW
#endif
-LONG qxeSetWindowLong (HWND hWnd, int nIndex, LONG dwNewLong);
+LONG qxeSetWindowLong (IN HWND hWnd, IN int nIndex, IN LONG dwNewLong);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetClassLong
#define GetClassLong error_use_qxeGetClassLong_or_GetClassLongA_and_GetClassLongW
#endif
-DWORD qxeGetClassLong (HWND hWnd, int nIndex);
+DWORD qxeGetClassLong (IN HWND hWnd, IN int nIndex);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetClassLong
#define SetClassLong error_use_qxeSetClassLong_or_SetClassLongA_and_SetClassLongW
#endif
-DWORD qxeSetClassLong (HWND hWnd, int nIndex, LONG dwNewLong);
+DWORD qxeSetClassLong (IN HWND hWnd, IN int nIndex, IN LONG dwNewLong);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FindWindow
#define FindWindow error_use_qxeFindWindow_or_FindWindowA_and_FindWindowW
#endif
-HWND qxeFindWindow (const Extbyte * lpClassName, const Extbyte * lpWindowName);
+HWND qxeFindWindow (IN const Extbyte * lpClassName, IN const Extbyte * lpWindowName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FindWindowEx
#define FindWindowEx error_use_qxeFindWindowEx_or_FindWindowExA_and_FindWindowExW
#endif
-HWND qxeFindWindowEx (HWND arg1, HWND arg2, const Extbyte * arg3, const Extbyte * arg4);
+HWND qxeFindWindowEx (IN HWND arg1, IN HWND arg2, IN const Extbyte * arg3, IN const
Extbyte * arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetClassName
#define GetClassName error_use_qxeGetClassName_or_GetClassNameA_and_GetClassNameW
#endif
-int qxeGetClassName (HWND hWnd, Extbyte * lpClassName, int nMaxCount);
+int qxeGetClassName (IN HWND hWnd, OUT Extbyte * lpClassName, IN int nMaxCount);
#undef SetWindowsHook
#define SetWindowsHook error_obsolete__two_versions__STRICT_and_non_STRICT
@@ -1186,79 +935,79 @@
#undef SetWindowsHookEx
#define SetWindowsHookEx
error_use_qxeSetWindowsHookEx_or_SetWindowsHookExA_and_SetWindowsHookExW
#endif
-HHOOK qxeSetWindowsHookEx (int idHook, HOOKPROC lpfn, HINSTANCE hmod, DWORD dwThreadId);
+HHOOK qxeSetWindowsHookEx (IN int idHook, IN HOOKPROC lpfn, IN HINSTANCE hmod, IN DWORD
dwThreadId);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadBitmap
#define LoadBitmap error_use_qxeLoadBitmap_or_LoadBitmapA_and_LoadBitmapW
#endif
-HBITMAP qxeLoadBitmap (HINSTANCE hInstance, const Extbyte * lpBitmapName);
+HBITMAP qxeLoadBitmap (IN HINSTANCE hInstance, IN const Extbyte * lpBitmapName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadCursor
#define LoadCursor error_use_qxeLoadCursor_or_LoadCursorA_and_LoadCursorW
#endif
-HCURSOR qxeLoadCursor (HINSTANCE hInstance, const Extbyte * lpCursorName);
+HCURSOR qxeLoadCursor (IN HINSTANCE hInstance, IN const Extbyte * lpCursorName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadCursorFromFile
#define LoadCursorFromFile
error_use_qxeLoadCursorFromFile_or_LoadCursorFromFileA_and_LoadCursorFromFileW
#endif
-HCURSOR qxeLoadCursorFromFile (const Extbyte * lpFileName);
+HCURSOR qxeLoadCursorFromFile (IN const Extbyte * lpFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadIcon
#define LoadIcon error_use_qxeLoadIcon_or_LoadIconA_and_LoadIconW
#endif
-HICON qxeLoadIcon (HINSTANCE hInstance, const Extbyte * lpIconName);
+HICON qxeLoadIcon (IN HINSTANCE hInstance, IN const Extbyte * lpIconName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadImage
#define LoadImage error_use_qxeLoadImage_or_LoadImageA_and_LoadImageW
#endif
-HANDLE qxeLoadImage (HINSTANCE arg1, const Extbyte * arg2, UINT arg3, int arg4, int arg5,
UINT arg6);
+HANDLE qxeLoadImage (IN HINSTANCE arg1, IN const Extbyte * arg2, IN UINT arg3, IN int
arg4, IN int arg5, IN UINT arg6);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadString
#define LoadString error_use_qxeLoadString_or_LoadStringA_and_LoadStringW
#endif
-int qxeLoadString (HINSTANCE hInstance, UINT uID, Extbyte * lpBuffer, int nBufferMax);
+int qxeLoadString (IN HINSTANCE hInstance, IN UINT uID, OUT Extbyte * lpBuffer, IN int
nBufferMax);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef IsDialogMessage
#define IsDialogMessage
error_use_qxeIsDialogMessage_or_IsDialogMessageA_and_IsDialogMessageW
#endif
-BOOL qxeIsDialogMessage (HWND hDlg, LPMSG lpMsg);
+BOOL qxeIsDialogMessage (IN HWND hDlg, IN LPMSG lpMsg);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DlgDirList
#define DlgDirList error_use_qxeDlgDirList_or_DlgDirListA_and_DlgDirListW
#endif
-int qxeDlgDirList (HWND hDlg, Extbyte * lpPathSpec, int nIDListBox, int nIDStaticPath,
UINT uFileType);
+int qxeDlgDirList (IN HWND hDlg, IN OUT Extbyte * lpPathSpec, IN int nIDListBox, IN int
nIDStaticPath, IN UINT uFileType);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DlgDirSelectEx
#define DlgDirSelectEx
error_use_qxeDlgDirSelectEx_or_DlgDirSelectExA_and_DlgDirSelectExW
#endif
-BOOL qxeDlgDirSelectEx (HWND hDlg, Extbyte * lpString, int nCount, int nIDListBox);
+BOOL qxeDlgDirSelectEx (IN HWND hDlg, OUT Extbyte * lpString, IN int nCount, IN int
nIDListBox);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DlgDirListComboBox
#define DlgDirListComboBox
error_use_qxeDlgDirListComboBox_or_DlgDirListComboBoxA_and_DlgDirListComboBoxW
#endif
-int qxeDlgDirListComboBox (HWND hDlg, Extbyte * lpPathSpec, int nIDComboBox, int
nIDStaticPath, UINT uFiletype);
+int qxeDlgDirListComboBox (IN HWND hDlg, IN OUT Extbyte * lpPathSpec, IN int nIDComboBox,
IN int nIDStaticPath, IN UINT uFiletype);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DlgDirSelectComboBoxEx
#define DlgDirSelectComboBoxEx
error_use_qxeDlgDirSelectComboBoxEx_or_DlgDirSelectComboBoxExA_and_DlgDirSelectComboBoxExW
#endif
-BOOL qxeDlgDirSelectComboBoxEx (HWND hDlg, Extbyte * lpString, int nCount, int
nIDComboBox);
+BOOL qxeDlgDirSelectComboBoxEx (IN HWND hDlg, OUT Extbyte * lpString, IN int nCount, IN
int nIDComboBox);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DefFrameProc
#define DefFrameProc error_use_qxeDefFrameProc_or_DefFrameProcA_and_DefFrameProcW
#endif
-LRESULT qxeDefFrameProc (HWND hWnd, HWND hWndMDIClient, UINT uMsg, WPARAM wParam, LPARAM
lParam);
+LRESULT qxeDefFrameProc (IN HWND hWnd, IN HWND hWndMDIClient, IN UINT uMsg, IN WPARAM
wParam, IN LPARAM lParam);
#undef DefMDIChildProc
#define DefMDIChildProc error_return_value_is_conditionalized_on__MAC__messes_up_parser
@@ -1267,13 +1016,13 @@
#undef CreateMDIWindow
#define CreateMDIWindow
error_use_qxeCreateMDIWindow_or_CreateMDIWindowA_and_CreateMDIWindowW
#endif
-HWND qxeCreateMDIWindow (Extbyte * lpClassName, Extbyte * lpWindowName, DWORD dwStyle,
int X, int Y, int nWidth, int nHeight, HWND hWndParent, HINSTANCE hInstance, LPARAM
lParam);
+HWND qxeCreateMDIWindow (IN const Extbyte * lpClassName, IN const Extbyte * lpWindowName,
IN DWORD dwStyle, IN int X, IN int Y, IN int nWidth, IN int nHeight, IN HWND hWndParent,
IN HINSTANCE hInstance, IN LPARAM lParam);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef WinHelp
#define WinHelp error_use_qxeWinHelp_or_WinHelpA_and_WinHelpW
#endif
-BOOL qxeWinHelp (HWND hWndMain, const Extbyte * lpszHelp, UINT uCommand, DWORD dwData);
+BOOL qxeWinHelp (IN HWND hWndMain, IN const Extbyte * lpszHelp, IN UINT uCommand, IN
ULONG_PTR dwData);
#undef ChangeDisplaySettings
#define ChangeDisplaySettings error_split_sized_LPDEVMODE
@@ -1291,7 +1040,7 @@
#undef SystemParametersInfo
#define SystemParametersInfo
error_use_qxeSystemParametersInfo_or_SystemParametersInfoA_and_SystemParametersInfoW
#endif
-BOOL qxeSystemParametersInfo (UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni);
+BOOL qxeSystemParametersInfo (IN UINT uiAction, IN UINT uiParam, IN OUT PVOID pvParam, IN
UINT fWinIni);
#undef GetMonitorInfo
#define GetMonitorInfo error_NT_5_0_Win98__only
@@ -1305,253 +1054,504 @@
#undef GetAltTabInfo
#define GetAltTabInfo error_NT_5_0__only
-
-/* Processing file DDEML.H */
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef DdeInitialize
-#define DdeInitialize error_use_qxeDdeInitialize_or_DdeInitializeA_and_DdeInitializeW
-#endif
-UINT qxeDdeInitialize (LPDWORD pidInst, PFNCALLBACK pfnCallback, DWORD afCmd, DWORD
ulRes);
-
-/* Skipping DdeCreateStringHandle because error in Cygwin prototype */
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef DdeQueryString
-#define DdeQueryString
error_use_qxeDdeQueryString_or_DdeQueryStringA_and_DdeQueryStringW
-#endif
-DWORD qxeDdeQueryString (DWORD idInst, HSZ hsz, Extbyte * psz, DWORD cchMax, int
iCodePage);
+/* Processing file IME.H */
+#undef SendIMEMessageEx
+#define SendIMEMessageEx error_obsolete__no_docs_available
-/* Processing file WINREG.H */
-/* Skipping RegConnectRegistry because error in Cygwin prototype */
+/* Processing file IMM.H */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegCreateKey
-#define RegCreateKey error_use_qxeRegCreateKey_or_RegCreateKeyA_and_RegCreateKeyW
+#undef ImmInstallIME
+#define ImmInstallIME error_use_qxeImmInstallIME_or_ImmInstallIMEA_and_ImmInstallIMEW
#endif
-LONG
- qxeRegCreateKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult);
+HKL qxeImmInstallIME (IN const Extbyte * lpszIMEFileName, IN const Extbyte *
lpszLayoutText);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegCreateKeyEx
-#define RegCreateKeyEx
error_use_qxeRegCreateKeyEx_or_RegCreateKeyExA_and_RegCreateKeyExW
+#undef ImmGetDescription
+#define ImmGetDescription
error_use_qxeImmGetDescription_or_ImmGetDescriptionA_and_ImmGetDescriptionW
#endif
-LONG
- qxeRegCreateKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD Reserved, Extbyte *
lpClass, DWORD dwOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes,
PHKEY phkResult, LPDWORD lpdwDisposition);
+UINT qxeImmGetDescription (IN HKL arg1, OUT Extbyte * arg2, IN UINT uBufLen);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegDeleteKey
-#define RegDeleteKey error_use_qxeRegDeleteKey_or_RegDeleteKeyA_and_RegDeleteKeyW
+#undef ImmGetIMEFileName
+#define ImmGetIMEFileName
error_use_qxeImmGetIMEFileName_or_ImmGetIMEFileNameA_and_ImmGetIMEFileNameW
#endif
-LONG
- qxeRegDeleteKey (HKEY hKey, const Extbyte * lpSubKey);
+UINT qxeImmGetIMEFileName (IN HKL arg1, OUT Extbyte * arg2, IN UINT uBufLen);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegDeleteValue
-#define RegDeleteValue
error_use_qxeRegDeleteValue_or_RegDeleteValueA_and_RegDeleteValueW
+#undef ImmGetCompositionString
+#define ImmGetCompositionString
error_use_qxeImmGetCompositionString_or_ImmGetCompositionStringA_and_ImmGetCompositionStringW
#endif
-LONG
- qxeRegDeleteValue (HKEY hKey, const Extbyte * lpValueName);
+LONG qxeImmGetCompositionString (IN HIMC arg1, IN DWORD arg2, OUT LPVOID arg3, IN DWORD
arg4);
+#endif /* defined (HAVE_MS_WINDOWS) */
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegEnumKey
-#define RegEnumKey error_use_qxeRegEnumKey_or_RegEnumKeyA_and_RegEnumKeyW
+#if defined (HAVE_MS_WINDOWS)
+/* Skipping ImmSetCompositionString because different prototypes in VC6 and VC7 */
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef ImmGetCandidateListCount
+#define ImmGetCandidateListCount
error_use_qxeImmGetCandidateListCount_or_ImmGetCandidateListCountA_and_ImmGetCandidateListCountW
#endif
-LONG
- qxeRegEnumKey (HKEY hKey, DWORD dwIndex, Extbyte * lpName, DWORD cbName);
+DWORD qxeImmGetCandidateListCount (IN HIMC arg1, OUT LPDWORD lpdwListCount);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegEnumKeyEx
-#define RegEnumKeyEx error_use_qxeRegEnumKeyEx_or_RegEnumKeyExA_and_RegEnumKeyExW
+#undef ImmGetCandidateList
+#define ImmGetCandidateList
error_use_qxeImmGetCandidateList_or_ImmGetCandidateListA_and_ImmGetCandidateListW
#endif
-LONG
- qxeRegEnumKeyEx (HKEY hKey, DWORD dwIndex, Extbyte * lpName, LPDWORD lpcbName, LPDWORD
lpReserved, Extbyte * lpClass, LPDWORD lpcbClass, PFILETIME lpftLastWriteTime);
+DWORD qxeImmGetCandidateList (IN HIMC arg1, IN DWORD deIndex, OUT LPCANDIDATELIST arg3,
IN DWORD dwBufLen);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegEnumValue
-#define RegEnumValue error_use_qxeRegEnumValue_or_RegEnumValueA_and_RegEnumValueW
+#undef ImmGetGuideLine
+#define ImmGetGuideLine
error_use_qxeImmGetGuideLine_or_ImmGetGuideLineA_and_ImmGetGuideLineW
#endif
-LONG
- qxeRegEnumValue (HKEY hKey, DWORD dwIndex, Extbyte * lpValueName, LPDWORD lpcbValueName,
LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData);
+DWORD qxeImmGetGuideLine (IN HIMC arg1, IN DWORD dwIndex, OUT Extbyte * arg3, IN DWORD
dwBufLen);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+/* Skipping ImmGetCompositionFont because split-sized LOGFONT */
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
+/* Skipping ImmSetCompositionFont because split-sized LOGFONT */
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegLoadKey
-#define RegLoadKey error_use_qxeRegLoadKey_or_RegLoadKeyA_and_RegLoadKeyW
+#undef ImmConfigureIME
+#define ImmConfigureIME
error_use_qxeImmConfigureIME_or_ImmConfigureIMEA_and_ImmConfigureIMEW
#endif
-LONG
- qxeRegLoadKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpFile);
+BOOL qxeImmConfigureIME (IN HKL arg1, IN HWND arg2, IN DWORD arg3, IN LPVOID arg4);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegOpenKey
-#define RegOpenKey error_use_qxeRegOpenKey_or_RegOpenKeyA_and_RegOpenKeyW
+#undef ImmEscape
+#define ImmEscape error_use_qxeImmEscape_or_ImmEscapeA_and_ImmEscapeW
#endif
-LONG
- qxeRegOpenKey (HKEY hKey, const Extbyte * lpSubKey, PHKEY phkResult);
+LRESULT qxeImmEscape (IN HKL arg1, IN HIMC arg2, IN UINT arg3, IN LPVOID arg4);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegOpenKeyEx
-#define RegOpenKeyEx error_use_qxeRegOpenKeyEx_or_RegOpenKeyExA_and_RegOpenKeyExW
+#undef ImmGetConversionList
+#define ImmGetConversionList
error_use_qxeImmGetConversionList_or_ImmGetConversionListA_and_ImmGetConversionListW
#endif
-LONG
- qxeRegOpenKeyEx (HKEY hKey, const Extbyte * lpSubKey, DWORD ulOptions, REGSAM
samDesired, PHKEY phkResult);
+DWORD qxeImmGetConversionList (IN HKL arg1, IN HIMC arg2, IN const Extbyte * arg3, OUT
LPCANDIDATELIST arg4, IN DWORD dwBufLen, IN UINT uFlag);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegQueryInfoKey
-#define RegQueryInfoKey
error_use_qxeRegQueryInfoKey_or_RegQueryInfoKeyA_and_RegQueryInfoKeyW
+#undef ImmIsUIMessage
+#define ImmIsUIMessage
error_use_qxeImmIsUIMessage_or_ImmIsUIMessageA_and_ImmIsUIMessageW
#endif
-LONG
- qxeRegQueryInfoKey (HKEY hKey, Extbyte * lpClass, LPDWORD lpcbClass, LPDWORD lpReserved,
LPDWORD lpcSubKeys, LPDWORD lpcbMaxSubKeyLen, LPDWORD lpcbMaxClassLen, LPDWORD lpcValues,
LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen, LPDWORD lpcbSecurityDescriptor,
PFILETIME lpftLastWriteTime);
+BOOL qxeImmIsUIMessage (IN HWND arg1, IN UINT arg2, IN WPARAM arg3, IN LPARAM arg4);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegQueryValue
-#define RegQueryValue error_use_qxeRegQueryValue_or_RegQueryValueA_and_RegQueryValueW
+#undef ImmRegisterWord
+#define ImmRegisterWord
error_use_qxeImmRegisterWord_or_ImmRegisterWordA_and_ImmRegisterWordW
#endif
-LONG
- qxeRegQueryValue (HKEY hKey, const Extbyte * lpSubKey, Extbyte * lpValue, PLONG
lpcbValue);
+BOOL qxeImmRegisterWord (IN HKL arg1, IN const Extbyte * lpszReading, IN DWORD arg3, IN
const Extbyte * lpszRegister);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegQueryMultipleValues
-#define RegQueryMultipleValues
error_use_qxeRegQueryMultipleValues_or_RegQueryMultipleValuesA_and_RegQueryMultipleValuesW
+#undef ImmUnregisterWord
+#define ImmUnregisterWord
error_use_qxeImmUnregisterWord_or_ImmUnregisterWordA_and_ImmUnregisterWordW
#endif
-LONG
- qxeRegQueryMultipleValues (HKEY hKey, PVALENTW val_list, DWORD num_vals, Extbyte *
lpValueBuf, LPDWORD ldwTotsize);
+BOOL qxeImmUnregisterWord (IN HKL arg1, IN const Extbyte * lpszReading, IN DWORD arg3, IN
const Extbyte * lpszUnregister);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
+#undef ImmGetRegisterWordStyle
+#define ImmGetRegisterWordStyle error_split_sized_STYLEBUF
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegQueryValueEx
-#define RegQueryValueEx
error_use_qxeRegQueryValueEx_or_RegQueryValueExA_and_RegQueryValueExW
+#undef ImmEnumRegisterWord
+#define ImmEnumRegisterWord
error_use_qxeImmEnumRegisterWord_or_ImmEnumRegisterWordA_and_ImmEnumRegisterWordW
#endif
-LONG
- qxeRegQueryValueEx (HKEY hKey, const Extbyte * lpValueName, LPDWORD lpReserved, LPDWORD
lpType, LPBYTE lpData, LPDWORD lpcbData);
+UINT qxeImmEnumRegisterWord (IN HKL arg1, IN REGISTERWORDENUMPROCW arg2, IN const Extbyte
* lpszReading, IN DWORD arg4, IN const Extbyte * lpszRegister, IN LPVOID arg6);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#undef ImmGetImeMenuItems
+#define ImmGetImeMenuItems error_split_sized_IMEMENUITEMINFO
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+/* Processing file MMSYSTEM.H */
+
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegReplaceKey
-#define RegReplaceKey error_use_qxeRegReplaceKey_or_RegReplaceKeyA_and_RegReplaceKeyW
+#undef sndPlaySound
+#define sndPlaySound error_use_qxesndPlaySound_or_sndPlaySoundA_and_sndPlaySoundW
#endif
-LONG
- qxeRegReplaceKey (HKEY hKey, const Extbyte * lpSubKey, const Extbyte * lpNewFile, const
Extbyte * lpOldFile);
+BOOL qxesndPlaySound (IN const Extbyte * pszSound, IN UINT fuSound);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegRestoreKey
-#define RegRestoreKey error_use_qxeRegRestoreKey_or_RegRestoreKeyA_and_RegRestoreKeyW
+#undef PlaySound
+#define PlaySound error_use_qxePlaySound_or_PlaySoundA_and_PlaySoundW
#endif
-LONG
- qxeRegRestoreKey (HKEY hKey, const Extbyte * lpFile, DWORD dwFlags);
+BOOL qxePlaySound (IN const Extbyte * pszSound, IN HMODULE hmod, IN DWORD fdwSound);
+#undef waveOutGetDevCaps
+#define waveOutGetDevCaps error_split_sized_LPWAVEOUTCAPS
+
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegSaveKey
-#define RegSaveKey error_use_qxeRegSaveKey_or_RegSaveKeyA_and_RegSaveKeyW
+#undef waveOutGetErrorText
+#define waveOutGetErrorText
error_use_qxewaveOutGetErrorText_or_waveOutGetErrorTextA_and_waveOutGetErrorTextW
#endif
-LONG
- qxeRegSaveKey (HKEY hKey, const Extbyte * lpFile, LPSECURITY_ATTRIBUTES
lpSecurityAttributes);
+MMRESULT qxewaveOutGetErrorText (IN MMRESULT mmrError, OUT Extbyte * pszText, IN UINT
cchText);
+
+#undef waveInGetDevCaps
+#define waveInGetDevCaps error_split_sized_LPWAVEINCAPS
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegSetValue
-#define RegSetValue error_use_qxeRegSetValue_or_RegSetValueA_and_RegSetValueW
+#undef waveInGetErrorText
+#define waveInGetErrorText
error_use_qxewaveInGetErrorText_or_waveInGetErrorTextA_and_waveInGetErrorTextW
#endif
-LONG
- qxeRegSetValue (HKEY hKey, const Extbyte * lpSubKey, DWORD dwType, const Extbyte *
lpData, DWORD cbData);
+MMRESULT qxewaveInGetErrorText (IN MMRESULT mmrError, OUT Extbyte * pszText, IN UINT
cchText);
+#undef midiOutGetDevCaps
+#define midiOutGetDevCaps error_split_sized_LPMIDIOUTCAPS
+
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegSetValueEx
-#define RegSetValueEx error_use_qxeRegSetValueEx_or_RegSetValueExA_and_RegSetValueExW
+#undef midiOutGetErrorText
+#define midiOutGetErrorText
error_use_qxemidiOutGetErrorText_or_midiOutGetErrorTextA_and_midiOutGetErrorTextW
#endif
-LONG
- qxeRegSetValueEx (HKEY hKey, const Extbyte * lpValueName, DWORD Reserved, DWORD dwType,
CONST BYTE* lpData, DWORD cbData);
+MMRESULT qxemidiOutGetErrorText (IN MMRESULT mmrError, OUT Extbyte * pszText, IN UINT
cchText);
+
+#undef midiInGetDevCaps
+#define midiInGetDevCaps error_split_sized_LPMIDIOUTCAPS
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef RegUnLoadKey
-#define RegUnLoadKey error_use_qxeRegUnLoadKey_or_RegUnLoadKeyA_and_RegUnLoadKeyW
+#undef midiInGetErrorText
+#define midiInGetErrorText
error_use_qxemidiInGetErrorText_or_midiInGetErrorTextA_and_midiInGetErrorTextW
#endif
-LONG
- qxeRegUnLoadKey (HKEY hKey, const Extbyte * lpSubKey);
+MMRESULT qxemidiInGetErrorText (IN MMRESULT mmrError, OUT Extbyte * pszText, IN UINT
cchText);
+
+#undef auxGetDevCaps
+#define auxGetDevCaps error_split_sized_LPAUXCAPS
+
+#undef mixerGetDevCaps
+#define mixerGetDevCaps error_split_sized_LPMIXERCAPS
+
+#undef mixerGetLineInfo
+#define mixerGetLineInfo error_split_sized_LPMIXERLINE
+#undef mixerGetLineControls
+#define mixerGetLineControls error_split_sized_LPMIXERCONTROL
+
+#undef mixerGetControlDetails
+#define mixerGetControlDetails
error_split_sized_LPMIXERCONTROL_in_LPMIXERLINECONTROLS_in_LPMIXERCONTROLDETAILS
+
+#undef joyGetDevCaps
+#define joyGetDevCaps error_split_sized_LPJOYCAPS
+
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef InitiateSystemShutdown
-#define InitiateSystemShutdown
error_use_qxeInitiateSystemShutdown_or_InitiateSystemShutdownA_and_InitiateSystemShutdownW
+#undef mmioStringToFOURCC
+#define mmioStringToFOURCC
error_use_qxemmioStringToFOURCC_or_mmioStringToFOURCCA_and_mmioStringToFOURCCW
#endif
-BOOL
- qxeInitiateSystemShutdown (Extbyte * lpMachineName, Extbyte * lpMessage, DWORD
dwTimeout, BOOL bForceAppsClosed, BOOL bRebootAfterShutdown);
+FOURCC qxemmioStringToFOURCC (IN const Extbyte * sz, IN UINT uFlags);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef AbortSystemShutdown
-#define AbortSystemShutdown
error_use_qxeAbortSystemShutdown_or_AbortSystemShutdownA_and_AbortSystemShutdownW
+#undef mmioInstallIOProc
+#define mmioInstallIOProc
error_use_qxemmioInstallIOProc_or_mmioInstallIOProcA_and_mmioInstallIOProcW
#endif
-BOOL
- qxeAbortSystemShutdown (Extbyte * lpMachineName);
+LPMMIOPROC qxemmioInstallIOProc (IN FOURCC fccIOProc, IN LPMMIOPROC pIOProc, IN DWORD
dwFlags);
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef mmioOpen
+#define mmioOpen error_use_qxemmioOpen_or_mmioOpenA_and_mmioOpenW
+#endif
+HMMIO qxemmioOpen (IN OUT Extbyte * pszFileName, IN OUT LPMMIOINFO pmmioinfo, IN DWORD
fdwOpen);
-/* Processing file WINNLS.H */
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef mmioRename
+#define mmioRename error_use_qxemmioRename_or_mmioRenameA_and_mmioRenameW
+#endif
+MMRESULT qxemmioRename (IN const Extbyte * pszFileName, IN const Extbyte *
pszNewFileName, IN LPCMMIOINFO pmmioinfo, IN DWORD fdwRename);
-#undef GetCPInfoEx
-#define GetCPInfoEx error_not_used__not_examined_yet
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef mciSendCommand
+#define mciSendCommand
error_use_qxemciSendCommand_or_mciSendCommandA_and_mciSendCommandW
+#endif
+MCIERROR qxemciSendCommand (IN MCIDEVICEID mciId, IN UINT uMsg, IN DWORD_PTR dwParam1, IN
DWORD_PTR dwParam2);
-#undef CompareString
-#define CompareString error_not_used__not_examined_yet
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef mciSendString
+#define mciSendString error_use_qxemciSendString_or_mciSendStringA_and_mciSendStringW
+#endif
+MCIERROR qxemciSendString (IN const Extbyte * lpstrCommand, OUT Extbyte *
lpstrReturnString, IN UINT uReturnLength, IN HWND hwndCallback);
-#undef LCMapString
-#define LCMapString error_not_used__not_examined_yet
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef mciGetDeviceID
+#define mciGetDeviceID
error_use_qxemciGetDeviceID_or_mciGetDeviceIDA_and_mciGetDeviceIDW
+#endif
+MCIDEVICEID qxemciGetDeviceID (IN const Extbyte * pszDevice);
+
+#if !defined (MINGW)
+#undef mciGetDeviceIDFromElementID
+#define mciGetDeviceIDFromElementID error_missing_from_Win98se_version_of_ADVAPI32_dll
+#endif /* !defined (MINGW) */
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef mciGetErrorString
+#define mciGetErrorString
error_use_qxemciGetErrorString_or_mciGetErrorStringA_and_mciGetErrorStringW
+#endif
+BOOL qxemciGetErrorString (IN MCIERROR mcierr, OUT Extbyte * pszText, IN UINT cchText);
+
+
+/* Processing file WINCON.H */
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef PeekConsoleInput
+#define PeekConsoleInput
error_use_qxePeekConsoleInput_or_PeekConsoleInputA_and_PeekConsoleInputW
+#endif
+BOOL qxePeekConsoleInput (IN HANDLE hConsoleInput, OUT PINPUT_RECORD lpBuffer, IN DWORD
nLength, OUT LPDWORD lpNumberOfEventsRead);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef ReadConsoleInput
+#define ReadConsoleInput
error_use_qxeReadConsoleInput_or_ReadConsoleInputA_and_ReadConsoleInputW
+#endif
+BOOL qxeReadConsoleInput (IN HANDLE hConsoleInput, OUT PINPUT_RECORD lpBuffer, IN DWORD
nLength, OUT LPDWORD lpNumberOfEventsRead);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WriteConsoleInput
+#define WriteConsoleInput
error_use_qxeWriteConsoleInput_or_WriteConsoleInputA_and_WriteConsoleInputW
+#endif
+BOOL qxeWriteConsoleInput (IN HANDLE hConsoleInput, IN CONST INPUT_RECORD * lpBuffer, IN
DWORD nLength, OUT LPDWORD lpNumberOfEventsWritten);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef ReadConsoleOutput
+#define ReadConsoleOutput
error_use_qxeReadConsoleOutput_or_ReadConsoleOutputA_and_ReadConsoleOutputW
+#endif
+BOOL qxeReadConsoleOutput (IN HANDLE hConsoleOutput, OUT PCHAR_INFO lpBuffer, IN COORD
dwBufferSize, IN COORD dwBufferCoord, IN OUT PSMALL_RECT lpReadRegion);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WriteConsoleOutput
+#define WriteConsoleOutput
error_use_qxeWriteConsoleOutput_or_WriteConsoleOutputA_and_WriteConsoleOutputW
+#endif
+BOOL qxeWriteConsoleOutput (IN HANDLE hConsoleOutput, IN CONST CHAR_INFO * lpBuffer, IN
COORD dwBufferSize, IN COORD dwBufferCoord, IN OUT PSMALL_RECT lpWriteRegion);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef ReadConsoleOutputCharacter
+#define ReadConsoleOutputCharacter
error_use_qxeReadConsoleOutputCharacter_or_ReadConsoleOutputCharacterA_and_ReadConsoleOutputCharacterW
+#endif
+BOOL qxeReadConsoleOutputCharacter (IN HANDLE hConsoleOutput, OUT Extbyte * lpCharacter,
IN DWORD nLength, IN COORD dwReadCoord, OUT LPDWORD lpNumberOfCharsRead);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WriteConsoleOutputCharacter
+#define WriteConsoleOutputCharacter
error_use_qxeWriteConsoleOutputCharacter_or_WriteConsoleOutputCharacterA_and_WriteConsoleOutputCharacterW
+#endif
+BOOL qxeWriteConsoleOutputCharacter (IN HANDLE hConsoleOutput, IN const Extbyte *
lpCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD
lpNumberOfCharsWritten);
+
+#undef FillConsoleOutputCharacter
+#define FillConsoleOutputCharacter error_split_CHAR
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef ScrollConsoleScreenBuffer
+#define ScrollConsoleScreenBuffer
error_use_qxeScrollConsoleScreenBuffer_or_ScrollConsoleScreenBufferA_and_ScrollConsoleScreenBufferW
+#endif
+BOOL qxeScrollConsoleScreenBuffer (IN HANDLE hConsoleOutput, IN CONST SMALL_RECT *
lpScrollRectangle, IN CONST SMALL_RECT * lpClipRectangle, IN COORD dwDestinationOrigin, IN
CONST CHAR_INFO * lpFill);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef GetConsoleTitle
+#define GetConsoleTitle
error_use_qxeGetConsoleTitle_or_GetConsoleTitleA_and_GetConsoleTitleW
+#endif
+DWORD qxeGetConsoleTitle (OUT Extbyte * lpConsoleTitle, IN DWORD nSize);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef SetConsoleTitle
+#define SetConsoleTitle
error_use_qxeSetConsoleTitle_or_SetConsoleTitleA_and_SetConsoleTitleW
+#endif
+BOOL qxeSetConsoleTitle (IN const Extbyte * lpConsoleTitle);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef ReadConsole
+#define ReadConsole error_use_qxeReadConsole_or_ReadConsoleA_and_ReadConsoleW
+#endif
+BOOL qxeReadConsole (IN HANDLE hConsoleInput, OUT LPVOID lpBuffer, IN DWORD
nNumberOfCharsToRead, OUT LPDWORD lpNumberOfCharsRead, IN LPVOID lpReserved);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WriteConsole
+#define WriteConsole error_use_qxeWriteConsole_or_WriteConsoleA_and_WriteConsoleW
+#endif
+BOOL qxeWriteConsole (IN HANDLE hConsoleOutput, IN CONST VOID * lpBuffer, IN DWORD
nNumberOfCharsToWrite, OUT LPDWORD lpNumberOfCharsWritten, IN LPVOID lpReserved);
+
+
+/* Processing file WINNETWK.H */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetAddConnection
+#define WNetAddConnection
error_use_qxeWNetAddConnection_or_WNetAddConnectionA_and_WNetAddConnectionW
+#endif
+DWORD qxeWNetAddConnection (IN const Extbyte * lpRemoteName, IN const Extbyte *
lpPassword, IN const Extbyte * lpLocalName);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetAddConnection2
+#define WNetAddConnection2
error_use_qxeWNetAddConnection2_or_WNetAddConnection2A_and_WNetAddConnection2W
+#endif
+DWORD qxeWNetAddConnection2 (IN LPNETRESOURCEW lpNetResource, IN const Extbyte *
lpPassword, IN const Extbyte * lpUserName, IN DWORD dwFlags);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetAddConnection3
+#define WNetAddConnection3
error_use_qxeWNetAddConnection3_or_WNetAddConnection3A_and_WNetAddConnection3W
+#endif
+DWORD qxeWNetAddConnection3 (IN HWND hwndOwner, IN LPNETRESOURCEW lpNetResource, IN
const Extbyte * lpPassword, IN const Extbyte * lpUserName, IN DWORD dwFlags);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetCancelConnection
+#define WNetCancelConnection
error_use_qxeWNetCancelConnection_or_WNetCancelConnectionA_and_WNetCancelConnectionW
+#endif
+DWORD qxeWNetCancelConnection (IN const Extbyte * lpName, IN BOOL fForce);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetCancelConnection2
+#define WNetCancelConnection2
error_use_qxeWNetCancelConnection2_or_WNetCancelConnection2A_and_WNetCancelConnection2W
+#endif
+DWORD qxeWNetCancelConnection2 (IN const Extbyte * lpName, IN DWORD dwFlags, IN BOOL
fForce);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetGetConnection
+#define WNetGetConnection
error_use_qxeWNetGetConnection_or_WNetGetConnectionA_and_WNetGetConnectionW
+#endif
+DWORD qxeWNetGetConnection (IN const Extbyte * lpLocalName, OUT Extbyte * lpRemoteName,
IN OUT LPDWORD lpnLength);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetUseConnection
+#define WNetUseConnection
error_use_qxeWNetUseConnection_or_WNetUseConnectionA_and_WNetUseConnectionW
+#endif
+DWORD qxeWNetUseConnection (IN HWND hwndOwner, IN LPNETRESOURCEW lpNetResource, IN const
Extbyte * lpPassword, IN const Extbyte * lpUserID, IN DWORD dwFlags, OUT Extbyte *
lpAccessName, IN OUT LPDWORD lpBufferSize, OUT LPDWORD lpResult);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetConnectionDialog1
+#define WNetConnectionDialog1
error_use_qxeWNetConnectionDialog1_or_WNetConnectionDialog1A_and_WNetConnectionDialog1W
+#endif
+DWORD qxeWNetConnectionDialog1 (IN OUT LPCONNECTDLGSTRUCTW lpConnDlgStruct);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetDisconnectDialog1
+#define WNetDisconnectDialog1
error_use_qxeWNetDisconnectDialog1_or_WNetDisconnectDialog1A_and_WNetDisconnectDialog1W
+#endif
+DWORD qxeWNetDisconnectDialog1 (IN LPDISCDLGSTRUCTW lpConnDlgStruct);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetOpenEnum
+#define WNetOpenEnum error_use_qxeWNetOpenEnum_or_WNetOpenEnumA_and_WNetOpenEnumW
+#endif
+DWORD qxeWNetOpenEnum (IN DWORD dwScope, IN DWORD dwType, IN DWORD dwUsage, IN
LPNETRESOURCEW lpNetResource, OUT LPHANDLE lphEnum);
+#endif /* defined (HAVE_MS_WINDOWS) */
+
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetEnumResource
+#define WNetEnumResource
error_use_qxeWNetEnumResource_or_WNetEnumResourceA_and_WNetEnumResourceW
+#endif
+DWORD qxeWNetEnumResource (IN HANDLE hEnum, IN OUT LPDWORD lpcCount, OUT LPVOID
lpBuffer, IN OUT LPDWORD lpBufferSize);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef GetLocaleInfo
-#define GetLocaleInfo error_use_qxeGetLocaleInfo_or_GetLocaleInfoA_and_GetLocaleInfoW
+#undef WNetGetUniversalName
+#define WNetGetUniversalName
error_use_qxeWNetGetUniversalName_or_WNetGetUniversalNameA_and_WNetGetUniversalNameW
#endif
-int qxeGetLocaleInfo (LCID Locale, LCTYPE LCType, Extbyte * lpLCData, int cchData);
+DWORD qxeWNetGetUniversalName (IN const Extbyte * lpLocalPath, IN DWORD dwInfoLevel, OUT
LPVOID lpBuffer, IN OUT LPDWORD lpBufferSize);
+#endif /* defined (HAVE_MS_WINDOWS) */
+#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef SetLocaleInfo
-#define SetLocaleInfo error_use_qxeSetLocaleInfo_or_SetLocaleInfoA_and_SetLocaleInfoW
+#undef WNetGetUser
+#define WNetGetUser error_use_qxeWNetGetUser_or_WNetGetUserA_and_WNetGetUserW
#endif
-BOOL qxeSetLocaleInfo (LCID Locale, LCTYPE LCType, const Extbyte * lpLCData);
-
-#undef GetTimeFormat
-#define GetTimeFormat error_not_used__not_examined_yet
-
-#undef GetDateFormat
-#define GetDateFormat error_not_used__not_examined_yet
-
-#undef GetNumberFormat
-#define GetNumberFormat error_not_used__not_examined_yet
-
-#undef GetCurrencyFormat
-#define GetCurrencyFormat error_not_used__not_examined_yet
-
-#undef EnumCalendarInfo
-#define EnumCalendarInfo error_not_used__not_examined_yet
-
-#undef EnumCalendarInfoEx
-#define EnumCalendarInfoEx error_not_used__not_examined_yet
-
-#undef EnumTimeFormats
-#define EnumTimeFormats error_not_used__not_examined_yet
-
-#undef EnumDateFormats
-#define EnumDateFormats error_not_used__not_examined_yet
+DWORD qxeWNetGetUser (IN const Extbyte * lpName, OUT Extbyte * lpUserName, IN OUT
LPDWORD lpnLength);
+#endif /* defined (HAVE_MS_WINDOWS) */
-#undef EnumDateFormatsEx
-#define EnumDateFormatsEx error_not_used__not_examined_yet
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetGetProviderName
+#define WNetGetProviderName
error_use_qxeWNetGetProviderName_or_WNetGetProviderNameA_and_WNetGetProviderNameW
+#endif
+DWORD qxeWNetGetProviderName (IN DWORD dwNetType, OUT Extbyte * lpProviderName, IN OUT
LPDWORD lpBufferSize);
+#endif /* defined (HAVE_MS_WINDOWS) */
-#undef GetStringTypeEx
-#define GetStringTypeEx error_not_used__not_examined_yet
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetGetNetworkInformation
+#define WNetGetNetworkInformation
error_use_qxeWNetGetNetworkInformation_or_WNetGetNetworkInformationA_and_WNetGetNetworkInformationW
+#endif
+DWORD qxeWNetGetNetworkInformation (IN const Extbyte * lpProvider, OUT LPNETINFOSTRUCT
lpNetInfoStruct);
+#endif /* defined (HAVE_MS_WINDOWS) */
-#undef GetStringType
-#define GetStringType error_no_such_fun__A_and_W_versions_have_different_nos__of_args
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef WNetGetLastError
+#define WNetGetLastError
error_use_qxeWNetGetLastError_or_WNetGetLastErrorA_and_WNetGetLastErrorW
+#endif
+DWORD qxeWNetGetLastError (OUT LPDWORD lpError, OUT Extbyte * lpErrorBuf, IN DWORD
nErrorBufSize, OUT Extbyte * lpNameBuf, IN DWORD nNameBufSize);
+#endif /* defined (HAVE_MS_WINDOWS) */
-#undef FoldString
-#define FoldString error_not_used__not_examined_yet
+#if defined (HAVE_MS_WINDOWS)
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef MultinetGetConnectionPerformance
+#define MultinetGetConnectionPerformance
error_use_qxeMultinetGetConnectionPerformance_or_MultinetGetConnectionPerformanceA_and_MultinetGetConnectionPerformanceW
+#endif
+DWORD qxeMultinetGetConnectionPerformance (IN LPNETRESOURCEW lpNetResource, OUT
LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct);
+#endif /* defined (HAVE_MS_WINDOWS) */
-#undef EnumSystemLocales
-#define EnumSystemLocales error_not_used__not_examined_yet
-#undef EnumSystemCodePages
-#define EnumSystemCodePages error_not_used__not_examined_yet
+/* Processing file DDEML.H */
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef DdeInitialize
+#define DdeInitialize error_use_qxeDdeInitialize_or_DdeInitializeA_and_DdeInitializeW
+#endif
+UINT qxeDdeInitialize (IN OUT LPDWORD pidInst, IN PFNCALLBACK pfnCallback, IN DWORD
afCmd, IN DWORD ulRes);
-/* Processing file IME.H */
+/* Skipping DdeCreateStringHandle because error in Cygwin prototype */
-#undef SendIMEMessageEx
-#define SendIMEMessageEx error_obsolete__no_docs_available
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef DdeQueryString
+#define DdeQueryString
error_use_qxeDdeQueryString_or_DdeQueryStringA_and_DdeQueryStringW
+#endif
+DWORD qxeDdeQueryString (IN DWORD idInst, IN HSZ hsz, IN OUT Extbyte * psz, IN DWORD
cchMax, IN int iCodePage);
/* Processing file WINGDI.H */
@@ -1560,13 +1560,13 @@
#undef AddFontResource
#define AddFontResource
error_use_qxeAddFontResource_or_AddFontResourceA_and_AddFontResourceW
#endif
-int qxeAddFontResource (const Extbyte * arg1);
+int qxeAddFontResource (IN const Extbyte * arg1);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CopyMetaFile
#define CopyMetaFile error_use_qxeCopyMetaFile_or_CopyMetaFileA_and_CopyMetaFileW
#endif
-HMETAFILE qxeCopyMetaFile (HMETAFILE arg1, const Extbyte * arg2);
+HMETAFILE qxeCopyMetaFile (IN HMETAFILE arg1, IN const Extbyte * arg2);
/* Skipping CreateDC because split-sized DEVMODE */
@@ -1576,7 +1576,7 @@
#undef CreateFont
#define CreateFont error_use_qxeCreateFont_or_CreateFontA_and_CreateFontW
#endif
-HFONT qxeCreateFont (int arg1, int arg2, int arg3, int arg4, int arg5, DWORD arg6, DWORD
arg7, DWORD arg8, DWORD arg9, DWORD arg10, DWORD arg11, DWORD arg12, DWORD arg13, const
Extbyte * arg14);
+HFONT qxeCreateFont (IN int arg1, IN int arg2, IN int arg3, IN int arg4, IN int arg5, IN
DWORD arg6, IN DWORD arg7, IN DWORD arg8, IN DWORD arg9, IN DWORD arg10, IN DWORD arg11,
IN DWORD arg12, IN DWORD arg13, IN const Extbyte * arg14);
/* Skipping CreateIC because split-sized DEVMODE */
@@ -1584,13 +1584,13 @@
#undef CreateMetaFile
#define CreateMetaFile
error_use_qxeCreateMetaFile_or_CreateMetaFileA_and_CreateMetaFileW
#endif
-HDC qxeCreateMetaFile (const Extbyte * arg1);
+HDC qxeCreateMetaFile (IN const Extbyte * arg1);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateScalableFontResource
#define CreateScalableFontResource
error_use_qxeCreateScalableFontResource_or_CreateScalableFontResourceA_and_CreateScalableFontResourceW
#endif
-BOOL qxeCreateScalableFontResource (DWORD arg1, const Extbyte * arg2, const Extbyte *
arg3, const Extbyte * arg4);
+BOOL qxeCreateScalableFontResource (IN DWORD arg1, IN const Extbyte * arg2, IN const
Extbyte * arg3, IN const Extbyte * arg4);
/* Skipping DeviceCapabilities because split-sized DEVMODE */
@@ -1606,43 +1606,43 @@
#undef GetCharWidth
#define GetCharWidth error_use_qxeGetCharWidth_or_GetCharWidthA_and_GetCharWidthW
#endif
-BOOL qxeGetCharWidth (HDC arg1, UINT arg2, UINT arg3, LPINT arg4);
+BOOL qxeGetCharWidth (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPINT arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetCharWidth32
#define GetCharWidth32
error_use_qxeGetCharWidth32_or_GetCharWidth32A_and_GetCharWidth32W
#endif
-BOOL qxeGetCharWidth32 (HDC arg1, UINT arg2, UINT arg3, LPINT arg4);
+BOOL qxeGetCharWidth32 (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPINT arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetCharWidthFloat
#define GetCharWidthFloat
error_use_qxeGetCharWidthFloat_or_GetCharWidthFloatA_and_GetCharWidthFloatW
#endif
-BOOL qxeGetCharWidthFloat (HDC arg1, UINT arg2, UINT arg3, PFLOAT arg4);
+BOOL qxeGetCharWidthFloat (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT PFLOAT arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetCharABCWidths
#define GetCharABCWidths
error_use_qxeGetCharABCWidths_or_GetCharABCWidthsA_and_GetCharABCWidthsW
#endif
-BOOL qxeGetCharABCWidths (HDC arg1, UINT arg2, UINT arg3, LPABC arg4);
+BOOL qxeGetCharABCWidths (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPABC arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetCharABCWidthsFloat
#define GetCharABCWidthsFloat
error_use_qxeGetCharABCWidthsFloat_or_GetCharABCWidthsFloatA_and_GetCharABCWidthsFloatW
#endif
-BOOL qxeGetCharABCWidthsFloat (HDC arg1, UINT arg2, UINT arg3, LPABCFLOAT arg4);
+BOOL qxeGetCharABCWidthsFloat (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPABCFLOAT
arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetGlyphOutline
#define GetGlyphOutline
error_use_qxeGetGlyphOutline_or_GetGlyphOutlineA_and_GetGlyphOutlineW
#endif
-DWORD qxeGetGlyphOutline (HDC arg1, UINT arg2, UINT arg3, LPGLYPHMETRICS arg4, DWORD
arg5, LPVOID arg6, CONST MAT2 * arg7);
+DWORD qxeGetGlyphOutline (IN HDC arg1, IN UINT arg2, IN UINT arg3, OUT LPGLYPHMETRICS
arg4, IN DWORD arg5, OUT LPVOID arg6, IN CONST MAT2 * arg7);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetMetaFile
#define GetMetaFile error_use_qxeGetMetaFile_or_GetMetaFileA_and_GetMetaFileW
#endif
-HMETAFILE qxeGetMetaFile (const Extbyte * arg1);
+HMETAFILE qxeGetMetaFile (IN const Extbyte * arg1);
#undef GetOutlineTextMetrics
#define GetOutlineTextMetrics error_split_sized_LPOUTLINETEXTMETRIC
@@ -1651,25 +1651,25 @@
#undef GetTextExtentPoint
#define GetTextExtentPoint
error_use_qxeGetTextExtentPoint_or_GetTextExtentPointA_and_GetTextExtentPointW
#endif
-BOOL qxeGetTextExtentPoint (HDC arg1, const Extbyte * arg2, int arg3, LPSIZE arg4);
+BOOL qxeGetTextExtentPoint (IN HDC arg1, IN const Extbyte * arg2, IN int arg3, OUT
LPSIZE arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetTextExtentPoint32
#define GetTextExtentPoint32
error_use_qxeGetTextExtentPoint32_or_GetTextExtentPoint32A_and_GetTextExtentPoint32W
#endif
-BOOL qxeGetTextExtentPoint32 (HDC arg1, const Extbyte * arg2, int arg3, LPSIZE arg4);
+BOOL qxeGetTextExtentPoint32 (IN HDC arg1, IN const Extbyte * arg2, IN int arg3, OUT
LPSIZE arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetTextExtentExPoint
#define GetTextExtentExPoint
error_use_qxeGetTextExtentExPoint_or_GetTextExtentExPointA_and_GetTextExtentExPointW
#endif
-BOOL qxeGetTextExtentExPoint (HDC arg1, const Extbyte * arg2, int arg3, int arg4, LPINT
arg5, LPINT arg6, LPSIZE arg7);
+BOOL qxeGetTextExtentExPoint (IN HDC arg1, IN const Extbyte * arg2, IN int arg3, IN int
arg4, OUT LPINT arg5, OUT LPINT arg6, OUT LPSIZE arg7);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetCharacterPlacement
#define GetCharacterPlacement
error_use_qxeGetCharacterPlacement_or_GetCharacterPlacementA_and_GetCharacterPlacementW
#endif
-DWORD qxeGetCharacterPlacement (HDC arg1, const Extbyte * arg2, int arg3, int arg4,
LPGCP_RESULTSW arg5, DWORD arg6);
+DWORD qxeGetCharacterPlacement (IN HDC arg1, IN const Extbyte * arg2, IN int arg3, IN int
arg4, IN OUT LPGCP_RESULTSW arg5, IN DWORD arg6);
#undef GetGlyphIndices
#define GetGlyphIndices error_NT_5_0__only
@@ -1689,31 +1689,31 @@
#undef RemoveFontResource
#define RemoveFontResource
error_use_qxeRemoveFontResource_or_RemoveFontResourceA_and_RemoveFontResourceW
#endif
-BOOL qxeRemoveFontResource (const Extbyte * arg1);
+BOOL qxeRemoveFontResource (IN const Extbyte * arg1);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CopyEnhMetaFile
#define CopyEnhMetaFile
error_use_qxeCopyEnhMetaFile_or_CopyEnhMetaFileA_and_CopyEnhMetaFileW
#endif
-HENHMETAFILE qxeCopyEnhMetaFile (HENHMETAFILE arg1, const Extbyte * arg2);
+HENHMETAFILE qxeCopyEnhMetaFile (IN HENHMETAFILE arg1, IN const Extbyte * arg2);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateEnhMetaFile
#define CreateEnhMetaFile
error_use_qxeCreateEnhMetaFile_or_CreateEnhMetaFileA_and_CreateEnhMetaFileW
#endif
-HDC qxeCreateEnhMetaFile (HDC arg1, const Extbyte * arg2, CONST RECT * arg3, const
Extbyte * arg4);
+HDC qxeCreateEnhMetaFile (IN HDC arg1, IN const Extbyte * arg2, IN CONST RECT * arg3, IN
const Extbyte * arg4);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetEnhMetaFile
#define GetEnhMetaFile
error_use_qxeGetEnhMetaFile_or_GetEnhMetaFileA_and_GetEnhMetaFileW
#endif
-HENHMETAFILE qxeGetEnhMetaFile (const Extbyte * arg1);
+HENHMETAFILE qxeGetEnhMetaFile (IN const Extbyte * arg1);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetEnhMetaFileDescription
#define GetEnhMetaFileDescription
error_use_qxeGetEnhMetaFileDescription_or_GetEnhMetaFileDescriptionA_and_GetEnhMetaFileDescriptionW
#endif
-UINT qxeGetEnhMetaFileDescription (HENHMETAFILE arg1, UINT arg2, Extbyte * arg3);
+UINT qxeGetEnhMetaFileDescription (IN HENHMETAFILE arg1, IN UINT arg2, OUT Extbyte *
arg3);
/* Skipping GetTextMetrics because split-sized LPTEXTMETRIC */
@@ -1721,7 +1721,7 @@
#undef StartDoc
#define StartDoc error_use_qxeStartDoc_or_StartDocA_and_StartDocW
#endif
-int qxeStartDoc (HDC arg1, CONST DOCINFOW * arg2);
+int qxeStartDoc (IN HDC arg1, IN CONST DOCINFOW * arg2);
/* Skipping GetObject because split-sized LOGFONT */
@@ -1729,31 +1729,31 @@
#undef TextOut
#define TextOut error_use_qxeTextOut_or_TextOutA_and_TextOutW
#endif
-BOOL qxeTextOut (HDC arg1, int arg2, int arg3, const Extbyte * arg4, int arg5);
+BOOL qxeTextOut (IN HDC arg1, IN int arg2, IN int arg3, IN const Extbyte * arg4, IN int
arg5);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ExtTextOut
#define ExtTextOut error_use_qxeExtTextOut_or_ExtTextOutA_and_ExtTextOutW
#endif
-BOOL qxeExtTextOut (HDC arg1, int arg2, int arg3, UINT arg4, CONST RECT * arg5, const
Extbyte * arg6, UINT arg7, CONST INT * arg8);
+BOOL qxeExtTextOut (IN HDC arg1, IN int arg2, IN int arg3, IN UINT arg4, IN CONST RECT *
arg5, IN const Extbyte * arg6, IN UINT arg7, IN CONST INT * arg8);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef PolyTextOut
#define PolyTextOut error_use_qxePolyTextOut_or_PolyTextOutA_and_PolyTextOutW
#endif
-BOOL qxePolyTextOut (HDC arg1, CONST POLYTEXTW * arg2, int arg3);
+BOOL qxePolyTextOut (IN HDC arg1, IN CONST POLYTEXTW * arg2, IN int arg3);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetTextFace
#define GetTextFace error_use_qxeGetTextFace_or_GetTextFaceA_and_GetTextFaceW
#endif
-int qxeGetTextFace (HDC arg1, int arg2, Extbyte * arg3);
+int qxeGetTextFace (IN HDC arg1, IN int arg2, OUT Extbyte * arg3);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetKerningPairs
#define GetKerningPairs
error_use_qxeGetKerningPairs_or_GetKerningPairsA_and_GetKerningPairsW
#endif
-DWORD qxeGetKerningPairs (HDC arg1, DWORD arg2, LPKERNINGPAIR arg3);
+DWORD qxeGetKerningPairs (IN HDC arg1, IN DWORD arg2, OUT LPKERNINGPAIR arg3);
#undef GetLogColorSpace
#define GetLogColorSpace error_split_sized_LPLOGCOLORSPACE__NT_4_0__only
@@ -1767,13 +1767,13 @@
#undef SetICMProfile
#define SetICMProfile error_use_qxeSetICMProfile_or_SetICMProfileA_and_SetICMProfileW
#endif
-BOOL qxeSetICMProfile (HDC arg1, Extbyte * arg2);
+BOOL qxeSetICMProfile (IN HDC arg1, IN Extbyte * arg2);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef EnumICMProfiles
#define EnumICMProfiles
error_use_qxeEnumICMProfiles_or_EnumICMProfilesA_and_EnumICMProfilesW
#endif
-int qxeEnumICMProfiles (HDC arg1, ICMENUMPROCW arg2, LPARAM arg3);
+int qxeEnumICMProfiles (IN HDC arg1, IN ICMENUMPROCW arg2, IN LPARAM arg3);
/* Skipping UpdateICMRegKey because NT 4.0+ only, error in Cygwin prototype */
@@ -1783,20 +1783,230 @@
#undef wglUseFontOutlines
#define wglUseFontOutlines error_causes_link_error
+
+/* Processing file WINNLS.H */
+
+#undef GetCPInfoEx
+#define GetCPInfoEx error_not_used__not_examined_yet
+
+#undef CompareString
+#define CompareString error_not_used__not_examined_yet
+
+#undef LCMapString
+#define LCMapString error_not_used__not_examined_yet
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef GetLocaleInfo
+#define GetLocaleInfo error_use_qxeGetLocaleInfo_or_GetLocaleInfoA_and_GetLocaleInfoW
+#endif
+int qxeGetLocaleInfo (IN LCID Locale, IN LCTYPE LCType, OUT Extbyte * lpLCData, IN int
cchData);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef SetLocaleInfo
+#define SetLocaleInfo error_use_qxeSetLocaleInfo_or_SetLocaleInfoA_and_SetLocaleInfoW
+#endif
+BOOL qxeSetLocaleInfo (IN LCID Locale, IN LCTYPE LCType, IN const Extbyte * lpLCData);
+
+#undef GetTimeFormat
+#define GetTimeFormat error_not_used__not_examined_yet
+
+#undef GetDateFormat
+#define GetDateFormat error_not_used__not_examined_yet
+
+#undef GetNumberFormat
+#define GetNumberFormat error_not_used__not_examined_yet
+
+#undef GetCurrencyFormat
+#define GetCurrencyFormat error_not_used__not_examined_yet
+
+#undef EnumCalendarInfo
+#define EnumCalendarInfo error_not_used__not_examined_yet
+
+#undef EnumCalendarInfoEx
+#define EnumCalendarInfoEx error_not_used__not_examined_yet
+
+#undef EnumTimeFormats
+#define EnumTimeFormats error_not_used__not_examined_yet
+
+#undef EnumDateFormats
+#define EnumDateFormats error_not_used__not_examined_yet
+
+#undef EnumDateFormatsEx
+#define EnumDateFormatsEx error_not_used__not_examined_yet
+
+#undef GetStringTypeEx
+#define GetStringTypeEx error_not_used__not_examined_yet
+
+#undef GetStringType
+#define GetStringType error_no_such_fun__A_and_W_versions_have_different_nos__of_args
+
+#undef FoldString
+#define FoldString error_not_used__not_examined_yet
+
+#undef EnumSystemLocales
+#define EnumSystemLocales error_not_used__not_examined_yet
+
+#undef EnumSystemCodePages
+#define EnumSystemCodePages error_not_used__not_examined_yet
+
+
+/* Processing file WINREG.H */
+
+/* Skipping RegConnectRegistry because error in Cygwin prototype */
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegCreateKey
+#define RegCreateKey error_use_qxeRegCreateKey_or_RegCreateKeyA_and_RegCreateKeyW
+#endif
+LONG
+ qxeRegCreateKey (IN HKEY hKey, IN const Extbyte * lpSubKey, OUT PHKEY phkResult);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegCreateKeyEx
+#define RegCreateKeyEx
error_use_qxeRegCreateKeyEx_or_RegCreateKeyExA_and_RegCreateKeyExW
+#endif
+LONG
+ qxeRegCreateKeyEx (IN HKEY hKey, IN const Extbyte * lpSubKey, IN DWORD Reserved, IN
Extbyte * lpClass, IN DWORD dwOptions, IN REGSAM samDesired, IN LPSECURITY_ATTRIBUTES
lpSecurityAttributes, OUT PHKEY phkResult, OUT LPDWORD lpdwDisposition);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegDeleteKey
+#define RegDeleteKey error_use_qxeRegDeleteKey_or_RegDeleteKeyA_and_RegDeleteKeyW
+#endif
+LONG
+ qxeRegDeleteKey (IN HKEY hKey, IN const Extbyte * lpSubKey);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegDeleteValue
+#define RegDeleteValue
error_use_qxeRegDeleteValue_or_RegDeleteValueA_and_RegDeleteValueW
+#endif
+LONG
+ qxeRegDeleteValue (IN HKEY hKey, IN const Extbyte * lpValueName);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegEnumKey
+#define RegEnumKey error_use_qxeRegEnumKey_or_RegEnumKeyA_and_RegEnumKeyW
+#endif
+LONG
+ qxeRegEnumKey (IN HKEY hKey, IN DWORD dwIndex, OUT Extbyte * lpName, IN DWORD cbName);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegEnumKeyEx
+#define RegEnumKeyEx error_use_qxeRegEnumKeyEx_or_RegEnumKeyExA_and_RegEnumKeyExW
+#endif
+LONG
+ qxeRegEnumKeyEx (IN HKEY hKey, IN DWORD dwIndex, OUT Extbyte * lpName, IN OUT LPDWORD
lpcbName, IN LPDWORD lpReserved, IN OUT Extbyte * lpClass, IN OUT LPDWORD lpcbClass, OUT
PFILETIME lpftLastWriteTime);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegEnumValue
+#define RegEnumValue error_use_qxeRegEnumValue_or_RegEnumValueA_and_RegEnumValueW
+#endif
+LONG
+ qxeRegEnumValue (IN HKEY hKey, IN DWORD dwIndex, OUT Extbyte * lpValueName, IN OUT
LPDWORD lpcbValueName, IN LPDWORD lpReserved, OUT LPDWORD lpType, OUT LPBYTE lpData, IN
OUT LPDWORD lpcbData);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegLoadKey
+#define RegLoadKey error_use_qxeRegLoadKey_or_RegLoadKeyA_and_RegLoadKeyW
+#endif
+LONG
+ qxeRegLoadKey (IN HKEY hKey, IN const Extbyte * lpSubKey, IN const Extbyte * lpFile);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegOpenKey
+#define RegOpenKey error_use_qxeRegOpenKey_or_RegOpenKeyA_and_RegOpenKeyW
+#endif
+LONG
+ qxeRegOpenKey (IN HKEY hKey, IN const Extbyte * lpSubKey, OUT PHKEY phkResult);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegOpenKeyEx
+#define RegOpenKeyEx error_use_qxeRegOpenKeyEx_or_RegOpenKeyExA_and_RegOpenKeyExW
+#endif
+LONG
+ qxeRegOpenKeyEx (IN HKEY hKey, IN const Extbyte * lpSubKey, IN DWORD ulOptions, IN
REGSAM samDesired, OUT PHKEY phkResult);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegQueryInfoKey
+#define RegQueryInfoKey
error_use_qxeRegQueryInfoKey_or_RegQueryInfoKeyA_and_RegQueryInfoKeyW
+#endif
+LONG
+ qxeRegQueryInfoKey (IN HKEY hKey, OUT Extbyte * lpClass, IN OUT LPDWORD lpcbClass, IN
LPDWORD lpReserved, OUT LPDWORD lpcSubKeys, OUT LPDWORD lpcbMaxSubKeyLen, OUT LPDWORD
lpcbMaxClassLen, OUT LPDWORD lpcValues, OUT LPDWORD lpcbMaxValueNameLen, OUT LPDWORD
lpcbMaxValueLen, OUT LPDWORD lpcbSecurityDescriptor, OUT PFILETIME lpftLastWriteTime);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegQueryValue
+#define RegQueryValue error_use_qxeRegQueryValue_or_RegQueryValueA_and_RegQueryValueW
+#endif
+LONG
+ qxeRegQueryValue (IN HKEY hKey, IN const Extbyte * lpSubKey, OUT Extbyte * lpValue, IN
OUT PLONG lpcbValue);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegQueryMultipleValues
+#define RegQueryMultipleValues
error_use_qxeRegQueryMultipleValues_or_RegQueryMultipleValuesA_and_RegQueryMultipleValuesW
+#endif
+LONG
+ qxeRegQueryMultipleValues (IN HKEY hKey, OUT PVALENTW val_list, IN DWORD num_vals, OUT
Extbyte * lpValueBuf, IN OUT LPDWORD ldwTotsize);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegQueryValueEx
+#define RegQueryValueEx
error_use_qxeRegQueryValueEx_or_RegQueryValueExA_and_RegQueryValueExW
+#endif
+LONG
+ qxeRegQueryValueEx (IN HKEY hKey, IN const Extbyte * lpValueName, IN LPDWORD lpReserved,
OUT LPDWORD lpType, IN OUT LPBYTE lpData, IN OUT LPDWORD lpcbData);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegReplaceKey
+#define RegReplaceKey error_use_qxeRegReplaceKey_or_RegReplaceKeyA_and_RegReplaceKeyW
+#endif
+LONG
+ qxeRegReplaceKey (IN HKEY hKey, IN const Extbyte * lpSubKey, IN const Extbyte *
lpNewFile, IN const Extbyte * lpOldFile);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegRestoreKey
+#define RegRestoreKey error_use_qxeRegRestoreKey_or_RegRestoreKeyA_and_RegRestoreKeyW
+#endif
+LONG
+ qxeRegRestoreKey (IN HKEY hKey, IN const Extbyte * lpFile, IN DWORD dwFlags);
+
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegSaveKey
+#define RegSaveKey error_use_qxeRegSaveKey_or_RegSaveKeyA_and_RegSaveKeyW
+#endif
+LONG
+ qxeRegSaveKey (IN HKEY hKey, IN const Extbyte * lpFile, IN LPSECURITY_ATTRIBUTES
lpSecurityAttributes);
-/* Processing file SHLOBJ.H */
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegSetValue
+#define RegSetValue error_use_qxeRegSetValue_or_RegSetValueA_and_RegSetValueW
+#endif
+LONG
+ qxeRegSetValue (IN HKEY hKey, IN const Extbyte * lpSubKey, IN DWORD dwType, IN const
Extbyte * lpData, IN DWORD cbData);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef SHGetPathFromIDList
-#define SHGetPathFromIDList
error_use_qxeSHGetPathFromIDList_or_SHGetPathFromIDListA_and_SHGetPathFromIDListW
+#undef RegSetValueEx
+#define RegSetValueEx error_use_qxeRegSetValueEx_or_RegSetValueExA_and_RegSetValueExW
#endif
-BOOL qxeSHGetPathFromIDList (LPCITEMIDLIST pidl, Extbyte * pszPath);
+LONG
+ qxeRegSetValueEx (IN HKEY hKey, IN const Extbyte * lpValueName, IN DWORD Reserved, IN
DWORD dwType, IN CONST BYTE* lpData, IN DWORD cbData);
-/* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin
libraries */
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef RegUnLoadKey
+#define RegUnLoadKey error_use_qxeRegUnLoadKey_or_RegUnLoadKeyA_and_RegUnLoadKeyW
+#endif
+LONG
+ qxeRegUnLoadKey (IN HKEY hKey, IN const Extbyte * lpSubKey);
-/* Skipping SHBrowseForFolder because need to intercept callback for SendMessage */
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef InitiateSystemShutdown
+#define InitiateSystemShutdown
error_use_qxeInitiateSystemShutdown_or_InitiateSystemShutdownA_and_InitiateSystemShutdownW
+#endif
+BOOL
+ qxeInitiateSystemShutdown (IN Extbyte * lpMachineName, IN Extbyte * lpMessage, IN DWORD
dwTimeout, IN BOOL bForceAppsClosed, IN BOOL bRebootAfterShutdown);
-/* Skipping SHGetDataFromIDList because split-sized WIN32_FIND_DATA or split-simple
NETRESOURCE, missing from Cygwin libraries */
+#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
+#undef AbortSystemShutdown
+#define AbortSystemShutdown
error_use_qxeAbortSystemShutdown_or_AbortSystemShutdownA_and_AbortSystemShutdownW
+#endif
+BOOL
+ qxeAbortSystemShutdown (IN Extbyte * lpMachineName);
/* Processing file COMMDLG.H */
@@ -1823,19 +2033,19 @@
#undef ChooseColor
#define ChooseColor error_use_qxeChooseColor_or_ChooseColorA_and_ChooseColorW
#endif
-BOOL qxeChooseColor (LPCHOOSECOLORW arg1);
+BOOL qxeChooseColor (LPCHOOSECOLORW arg1);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FindText
#define FindText error_use_qxeFindText_or_FindTextA_and_FindTextW
#endif
-HWND qxeFindText (LPFINDREPLACEW arg1);
+HWND qxeFindText (LPFINDREPLACEW arg1);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ReplaceText
#define ReplaceText error_use_qxeReplaceText_or_ReplaceTextA_and_ReplaceTextW
#endif
-HWND qxeReplaceText (LPFINDREPLACEW arg1);
+HWND qxeReplaceText (LPFINDREPLACEW arg1);
#undef AfxReplaceText
#define AfxReplaceText error_mac_only
@@ -1847,138 +2057,18 @@
/* Skipping PageSetupDlg because LPPAGESETUPDLG with split-sized DEVMODE handle */
-
-/* Processing file IMM.H */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmInstallIME
-#define ImmInstallIME error_use_qxeImmInstallIME_or_ImmInstallIMEA_and_ImmInstallIMEW
-#endif
-HKL qxeImmInstallIME (const Extbyte * lpszIMEFileName, const Extbyte * lpszLayoutText);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmGetDescription
-#define ImmGetDescription
error_use_qxeImmGetDescription_or_ImmGetDescriptionA_and_ImmGetDescriptionW
-#endif
-UINT qxeImmGetDescription (HKL arg1, Extbyte * arg2, UINT uBufLen);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmGetIMEFileName
-#define ImmGetIMEFileName
error_use_qxeImmGetIMEFileName_or_ImmGetIMEFileNameA_and_ImmGetIMEFileNameW
-#endif
-UINT qxeImmGetIMEFileName (HKL arg1, Extbyte * arg2, UINT uBufLen);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmGetCompositionString
-#define ImmGetCompositionString
error_use_qxeImmGetCompositionString_or_ImmGetCompositionStringA_and_ImmGetCompositionStringW
-#endif
-LONG qxeImmGetCompositionString (HIMC arg1, DWORD arg2, LPVOID arg3, DWORD arg4);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmGetCandidateListCount
-#define ImmGetCandidateListCount
error_use_qxeImmGetCandidateListCount_or_ImmGetCandidateListCountA_and_ImmGetCandidateListCountW
-#endif
-DWORD qxeImmGetCandidateListCount (HIMC arg1, LPDWORD lpdwListCount);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmGetCandidateList
-#define ImmGetCandidateList
error_use_qxeImmGetCandidateList_or_ImmGetCandidateListA_and_ImmGetCandidateListW
-#endif
-DWORD qxeImmGetCandidateList (HIMC arg1, DWORD deIndex, LPCANDIDATELIST arg3, DWORD
dwBufLen);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmGetGuideLine
-#define ImmGetGuideLine
error_use_qxeImmGetGuideLine_or_ImmGetGuideLineA_and_ImmGetGuideLineW
-#endif
-DWORD qxeImmGetGuideLine (HIMC arg1, DWORD dwIndex, Extbyte * arg3, DWORD dwBufLen);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-/* Skipping ImmGetCompositionFont because split-sized LOGFONT */
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-/* Skipping ImmSetCompositionFont because split-sized LOGFONT */
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmConfigureIME
-#define ImmConfigureIME
error_use_qxeImmConfigureIME_or_ImmConfigureIMEA_and_ImmConfigureIMEW
-#endif
-BOOL qxeImmConfigureIME (HKL arg1, HWND arg2, DWORD arg3, LPVOID arg4);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmEscape
-#define ImmEscape error_use_qxeImmEscape_or_ImmEscapeA_and_ImmEscapeW
-#endif
-LRESULT qxeImmEscape (HKL arg1, HIMC arg2, UINT arg3, LPVOID arg4);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmGetConversionList
-#define ImmGetConversionList
error_use_qxeImmGetConversionList_or_ImmGetConversionListA_and_ImmGetConversionListW
-#endif
-DWORD qxeImmGetConversionList (HKL arg1, HIMC arg2, const Extbyte * arg3, LPCANDIDATELIST
arg4, DWORD dwBufLen, UINT uFlag);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmIsUIMessage
-#define ImmIsUIMessage
error_use_qxeImmIsUIMessage_or_ImmIsUIMessageA_and_ImmIsUIMessageW
-#endif
-BOOL qxeImmIsUIMessage (HWND arg1, UINT arg2, WPARAM arg3, LPARAM arg4);
-#endif /* defined (HAVE_MS_WINDOWS) */
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmRegisterWord
-#define ImmRegisterWord
error_use_qxeImmRegisterWord_or_ImmRegisterWordA_and_ImmRegisterWordW
-#endif
-BOOL qxeImmRegisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const Extbyte
* lpszRegister);
-#endif /* defined (HAVE_MS_WINDOWS) */
+/* Processing file SHLOBJ.H */
-#if defined (HAVE_MS_WINDOWS)
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmUnregisterWord
-#define ImmUnregisterWord
error_use_qxeImmUnregisterWord_or_ImmUnregisterWordA_and_ImmUnregisterWordW
+#undef SHGetPathFromIDList
+#define SHGetPathFromIDList
error_use_qxeSHGetPathFromIDList_or_SHGetPathFromIDListA_and_SHGetPathFromIDListW
#endif
-BOOL qxeImmUnregisterWord (HKL arg1, const Extbyte * lpszReading, DWORD arg3, const
Extbyte * lpszUnregister);
-#endif /* defined (HAVE_MS_WINDOWS) */
-
-#if defined (HAVE_MS_WINDOWS)
-#undef ImmGetRegisterWordStyle
-#define ImmGetRegisterWordStyle error_split_sized_STYLEBUF
-#endif /* defined (HAVE_MS_WINDOWS) */
+BOOL qxeSHGetPathFromIDList (LPCITEMIDLIST pidl, Extbyte * pszPath);
-#if defined (HAVE_MS_WINDOWS)
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef ImmEnumRegisterWord
-#define ImmEnumRegisterWord
error_use_qxeImmEnumRegisterWord_or_ImmEnumRegisterWordA_and_ImmEnumRegisterWordW
-#endif
-UINT qxeImmEnumRegisterWord (HKL arg1, REGISTERWORDENUMPROCW arg2, const Extbyte *
lpszReading, DWORD arg4, const Extbyte * lpszRegister, LPVOID arg6);
-#endif /* defined (HAVE_MS_WINDOWS) */
+/* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin
libraries */
-#if defined (HAVE_MS_WINDOWS)
-#undef ImmGetImeMenuItems
-#define ImmGetImeMenuItems error_split_sized_IMEMENUITEMINFO
-#endif /* defined (HAVE_MS_WINDOWS) */
+/* Skipping SHBrowseForFolder because need to intercept callback for SendMessage */
/* Processing file WINBASE.H */
@@ -1987,13 +2077,13 @@
#undef GetBinaryType
#define GetBinaryType error_use_qxeGetBinaryType_or_GetBinaryTypeA_and_GetBinaryTypeW
#endif
-BOOL qxeGetBinaryType (const Extbyte * lpApplicationName, LPDWORD lpBinaryType);
+BOOL qxeGetBinaryType (IN const Extbyte * lpApplicationName, OUT LPDWORD lpBinaryType);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetShortPathName
#define GetShortPathName
error_use_qxeGetShortPathName_or_GetShortPathNameA_and_GetShortPathNameW
#endif
-DWORD qxeGetShortPathName (const Extbyte * lpszLongPath, Extbyte * lpszShortPath, DWORD
cchBuffer);
+DWORD qxeGetShortPathName (IN const Extbyte * lpszLongPath, OUT Extbyte * lpszShortPath,
IN DWORD cchBuffer);
#undef GetLongPathName
#define GetLongPathName error_Win98_2K__only
@@ -2004,19 +2094,19 @@
#undef FreeEnvironmentStrings
#define FreeEnvironmentStrings
error_use_qxeFreeEnvironmentStrings_or_FreeEnvironmentStringsA_and_FreeEnvironmentStringsW
#endif
-BOOL qxeFreeEnvironmentStrings (Extbyte * arg1);
+BOOL qxeFreeEnvironmentStrings (IN Extbyte * arg1);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FormatMessage
#define FormatMessage error_use_qxeFormatMessage_or_FormatMessageA_and_FormatMessageW
#endif
-DWORD qxeFormatMessage (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD
dwLanguageId, Extbyte * lpBuffer, DWORD nSize, va_list * Arguments);
+DWORD qxeFormatMessage (IN DWORD dwFlags, IN LPCVOID lpSource, IN DWORD dwMessageId, IN
DWORD dwLanguageId, OUT Extbyte * lpBuffer, IN DWORD nSize, IN va_list * Arguments);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateMailslot
#define CreateMailslot
error_use_qxeCreateMailslot_or_CreateMailslotA_and_CreateMailslotW
#endif
-HANDLE qxeCreateMailslot (const Extbyte * lpName, DWORD nMaxMessageSize, DWORD
lReadTimeout, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
+HANDLE qxeCreateMailslot (IN const Extbyte * lpName, IN DWORD nMaxMessageSize, IN DWORD
lReadTimeout, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes);
#if !defined (CYGWIN_HEADERS)
#undef EncryptFile
@@ -2028,155 +2118,149 @@
#define DecryptFile error_Win2K__only
#endif /* !defined (CYGWIN_HEADERS) */
-#undef OpenRaw
-#define OpenRaw
error_error__The_procedure_entry_point_OpenRawW_could_not_be_located_in_the_dynamic_link_library_ADVAPI32_dll__
-
-#undef QueryRecoveryAgents
-#define QueryRecoveryAgents error_split_sized_LPRECOVERY_AGENT_INFORMATION
-
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef lstrcmp
#define lstrcmp error_use_qxelstrcmp_or_lstrcmpA_and_lstrcmpW
#endif
-int qxelstrcmp (const Extbyte * lpString1, const Extbyte * lpString2);
+int qxelstrcmp (IN const Extbyte * lpString1, IN const Extbyte * lpString2);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef lstrcmpi
#define lstrcmpi error_use_qxelstrcmpi_or_lstrcmpiA_and_lstrcmpiW
#endif
-int qxelstrcmpi (const Extbyte * lpString1, const Extbyte * lpString2);
+int qxelstrcmpi (IN const Extbyte * lpString1, IN const Extbyte * lpString2);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef lstrcpyn
#define lstrcpyn error_use_qxelstrcpyn_or_lstrcpynA_and_lstrcpynW
#endif
-Extbyte * qxelstrcpyn (Extbyte * lpString1, const Extbyte * lpString2, int iMaxLength);
+Extbyte * qxelstrcpyn (OUT Extbyte * lpString1, IN const Extbyte * lpString2, IN int
iMaxLength);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef lstrcpy
#define lstrcpy error_use_qxelstrcpy_or_lstrcpyA_and_lstrcpyW
#endif
-Extbyte * qxelstrcpy (Extbyte * lpString1, const Extbyte * lpString2);
+Extbyte * qxelstrcpy (OUT Extbyte * lpString1, IN const Extbyte * lpString2);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef lstrcat
#define lstrcat error_use_qxelstrcat_or_lstrcatA_and_lstrcatW
#endif
-Extbyte * qxelstrcat (Extbyte * lpString1, const Extbyte * lpString2);
+Extbyte * qxelstrcat (IN OUT Extbyte * lpString1, IN const Extbyte * lpString2);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef lstrlen
#define lstrlen error_use_qxelstrlen_or_lstrlenA_and_lstrlenW
#endif
-int qxelstrlen (const Extbyte * lpString);
+int qxelstrlen (IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateMutex
#define CreateMutex error_use_qxeCreateMutex_or_CreateMutexA_and_CreateMutexW
#endif
-HANDLE qxeCreateMutex (LPSECURITY_ATTRIBUTES lpMutexAttributes, BOOL bInitialOwner, const
Extbyte * lpName);
+HANDLE qxeCreateMutex (IN LPSECURITY_ATTRIBUTES lpMutexAttributes, IN BOOL bInitialOwner,
IN const Extbyte * lpName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OpenMutex
#define OpenMutex error_use_qxeOpenMutex_or_OpenMutexA_and_OpenMutexW
#endif
-HANDLE qxeOpenMutex (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte *
lpName);
+HANDLE qxeOpenMutex (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const Extbyte *
lpName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateEvent
#define CreateEvent error_use_qxeCreateEvent_or_CreateEventA_and_CreateEventW
#endif
-HANDLE qxeCreateEvent (LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL
bInitialState, const Extbyte * lpName);
+HANDLE qxeCreateEvent (IN LPSECURITY_ATTRIBUTES lpEventAttributes, IN BOOL bManualReset,
IN BOOL bInitialState, IN const Extbyte * lpName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OpenEvent
#define OpenEvent error_use_qxeOpenEvent_or_OpenEventA_and_OpenEventW
#endif
-HANDLE qxeOpenEvent (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte *
lpName);
+HANDLE qxeOpenEvent (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const Extbyte *
lpName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateSemaphore
#define CreateSemaphore
error_use_qxeCreateSemaphore_or_CreateSemaphoreA_and_CreateSemaphoreW
#endif
-HANDLE qxeCreateSemaphore (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG
lInitialCount, LONG lMaximumCount, const Extbyte * lpName);
+HANDLE qxeCreateSemaphore (IN LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, IN LONG
lInitialCount, IN LONG lMaximumCount, IN const Extbyte * lpName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OpenSemaphore
#define OpenSemaphore error_use_qxeOpenSemaphore_or_OpenSemaphoreA_and_OpenSemaphoreW
#endif
-HANDLE qxeOpenSemaphore (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte *
lpName);
+HANDLE qxeOpenSemaphore (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const
Extbyte * lpName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateWaitableTimer
#define CreateWaitableTimer
error_use_qxeCreateWaitableTimer_or_CreateWaitableTimerA_and_CreateWaitableTimerW
#endif
-HANDLE qxeCreateWaitableTimer (LPSECURITY_ATTRIBUTES lpTimerAttributes, BOOL
bManualReset, const Extbyte * lpTimerName);
+HANDLE qxeCreateWaitableTimer (IN LPSECURITY_ATTRIBUTES lpTimerAttributes, IN BOOL
bManualReset, IN const Extbyte * lpTimerName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OpenWaitableTimer
#define OpenWaitableTimer
error_use_qxeOpenWaitableTimer_or_OpenWaitableTimerA_and_OpenWaitableTimerW
#endif
-HANDLE qxeOpenWaitableTimer (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte *
lpTimerName);
+HANDLE qxeOpenWaitableTimer (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const
Extbyte * lpTimerName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateFileMapping
#define CreateFileMapping
error_use_qxeCreateFileMapping_or_CreateFileMappingA_and_CreateFileMappingW
#endif
-HANDLE qxeCreateFileMapping (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes,
DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, const Extbyte *
lpName);
+HANDLE qxeCreateFileMapping (IN HANDLE hFile, IN LPSECURITY_ATTRIBUTES
lpFileMappingAttributes, IN DWORD flProtect, IN DWORD dwMaximumSizeHigh, IN DWORD
dwMaximumSizeLow, IN const Extbyte * lpName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OpenFileMapping
#define OpenFileMapping
error_use_qxeOpenFileMapping_or_OpenFileMappingA_and_OpenFileMappingW
#endif
-HANDLE qxeOpenFileMapping (DWORD dwDesiredAccess, BOOL bInheritHandle, const Extbyte *
lpName);
+HANDLE qxeOpenFileMapping (IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN const
Extbyte * lpName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetLogicalDriveStrings
#define GetLogicalDriveStrings
error_use_qxeGetLogicalDriveStrings_or_GetLogicalDriveStringsA_and_GetLogicalDriveStringsW
#endif
-DWORD qxeGetLogicalDriveStrings (DWORD nBufferLength, Extbyte * lpBuffer);
+DWORD qxeGetLogicalDriveStrings (IN DWORD nBufferLength, OUT Extbyte * lpBuffer);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadLibrary
#define LoadLibrary error_use_qxeLoadLibrary_or_LoadLibraryA_and_LoadLibraryW
#endif
-HMODULE qxeLoadLibrary (const Extbyte * lpLibFileName);
+HMODULE qxeLoadLibrary (IN const Extbyte * lpLibFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LoadLibraryEx
#define LoadLibraryEx error_use_qxeLoadLibraryEx_or_LoadLibraryExA_and_LoadLibraryExW
#endif
-HMODULE qxeLoadLibraryEx (const Extbyte * lpLibFileName, HANDLE hFile, DWORD dwFlags);
+HMODULE qxeLoadLibraryEx (IN const Extbyte * lpLibFileName, IN HANDLE hFile, IN DWORD
dwFlags);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetModuleFileName
#define GetModuleFileName
error_use_qxeGetModuleFileName_or_GetModuleFileNameA_and_GetModuleFileNameW
#endif
-DWORD qxeGetModuleFileName (HMODULE hModule, Extbyte * lpFilename, DWORD nSize);
+DWORD qxeGetModuleFileName (IN HMODULE hModule, OUT Extbyte * lpFilename, IN DWORD
nSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetModuleHandle
#define GetModuleHandle
error_use_qxeGetModuleHandle_or_GetModuleHandleA_and_GetModuleHandleW
#endif
-HMODULE qxeGetModuleHandle (const Extbyte * lpModuleName);
+HMODULE qxeGetModuleHandle (IN const Extbyte * lpModuleName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateProcess
#define CreateProcess error_use_qxeCreateProcess_or_CreateProcessA_and_CreateProcessW
#endif
-BOOL qxeCreateProcess (const Extbyte * lpApplicationName, Extbyte * lpCommandLine,
LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL
bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, const Extbyte *
lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION
lpProcessInformation);
+BOOL qxeCreateProcess (IN const Extbyte * lpApplicationName, IN Extbyte * lpCommandLine,
IN LPSECURITY_ATTRIBUTES lpProcessAttributes, IN LPSECURITY_ATTRIBUTES lpThreadAttributes,
IN BOOL bInheritHandles, IN DWORD dwCreationFlags, IN LPVOID lpEnvironment, IN const
Extbyte * lpCurrentDirectory, IN LPSTARTUPINFOW lpStartupInfo, OUT LPPROCESS_INFORMATION
lpProcessInformation);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FatalAppExit
#define FatalAppExit error_use_qxeFatalAppExit_or_FatalAppExitA_and_FatalAppExitW
#endif
-VOID qxeFatalAppExit (UINT uAction, const Extbyte * lpMessageText);
+VOID qxeFatalAppExit (IN UINT uAction, IN const Extbyte * lpMessageText);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetStartupInfo
#define GetStartupInfo
error_use_qxeGetStartupInfo_or_GetStartupInfoA_and_GetStartupInfoW
#endif
-VOID qxeGetStartupInfo (LPSTARTUPINFOW lpStartupInfo);
+VOID qxeGetStartupInfo (OUT LPSTARTUPINFOW lpStartupInfo);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetCommandLine
@@ -2188,295 +2272,301 @@
#undef GetEnvironmentVariable
#define GetEnvironmentVariable
error_use_qxeGetEnvironmentVariable_or_GetEnvironmentVariableA_and_GetEnvironmentVariableW
#endif
-DWORD qxeGetEnvironmentVariable (const Extbyte * lpName, Extbyte * lpBuffer, DWORD
nSize);
+DWORD qxeGetEnvironmentVariable (IN const Extbyte * lpName, OUT Extbyte * lpBuffer, IN
DWORD nSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetEnvironmentVariable
#define SetEnvironmentVariable
error_use_qxeSetEnvironmentVariable_or_SetEnvironmentVariableA_and_SetEnvironmentVariableW
#endif
-BOOL qxeSetEnvironmentVariable (const Extbyte * lpName, const Extbyte * lpValue);
+BOOL qxeSetEnvironmentVariable (IN const Extbyte * lpName, IN const Extbyte * lpValue);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ExpandEnvironmentStrings
#define ExpandEnvironmentStrings
error_use_qxeExpandEnvironmentStrings_or_ExpandEnvironmentStringsA_and_ExpandEnvironmentStringsW
#endif
-DWORD qxeExpandEnvironmentStrings (const Extbyte * lpSrc, Extbyte * lpDst, DWORD nSize);
+DWORD qxeExpandEnvironmentStrings (IN const Extbyte * lpSrc, OUT Extbyte * lpDst, IN
DWORD nSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OutputDebugString
#define OutputDebugString
error_use_qxeOutputDebugString_or_OutputDebugStringA_and_OutputDebugStringW
#endif
-VOID qxeOutputDebugString (const Extbyte * lpOutputString);
+VOID qxeOutputDebugString (IN const Extbyte * lpOutputString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FindResource
#define FindResource error_use_qxeFindResource_or_FindResourceA_and_FindResourceW
#endif
-HRSRC qxeFindResource (HMODULE hModule, const Extbyte * lpName, const Extbyte * lpType);
+HRSRC qxeFindResource (IN HMODULE hModule, IN const Extbyte * lpName, IN const Extbyte *
lpType);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FindResourceEx
#define FindResourceEx
error_use_qxeFindResourceEx_or_FindResourceExA_and_FindResourceExW
#endif
-HRSRC qxeFindResourceEx (HMODULE hModule, const Extbyte * lpType, const Extbyte * lpName,
WORD wLanguage);
+HRSRC qxeFindResourceEx (IN HMODULE hModule, IN const Extbyte * lpType, IN const Extbyte
* lpName, IN WORD wLanguage);
+
+/* Skipping EnumResourceTypes because different prototypes in VC6 and VC7 */
+
+/* Skipping EnumResourceNames because different prototypes in VC6 and VC7 */
+/* Skipping EnumResourceLanguages because different prototypes in VC6 and VC7 */
+
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef BeginUpdateResource
#define BeginUpdateResource
error_use_qxeBeginUpdateResource_or_BeginUpdateResourceA_and_BeginUpdateResourceW
#endif
-HANDLE qxeBeginUpdateResource (const Extbyte * pFileName, BOOL
bDeleteExistingResources);
+HANDLE qxeBeginUpdateResource (IN const Extbyte * pFileName, IN BOOL
bDeleteExistingResources);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef UpdateResource
#define UpdateResource
error_use_qxeUpdateResource_or_UpdateResourceA_and_UpdateResourceW
#endif
-BOOL qxeUpdateResource (HANDLE hUpdate, const Extbyte * lpType, const Extbyte * lpName,
WORD wLanguage, LPVOID lpData, DWORD cbData);
+BOOL qxeUpdateResource (IN HANDLE hUpdate, IN const Extbyte * lpType, IN const Extbyte *
lpName, IN WORD wLanguage, IN LPVOID lpData, IN DWORD cbData);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef EndUpdateResource
#define EndUpdateResource
error_use_qxeEndUpdateResource_or_EndUpdateResourceA_and_EndUpdateResourceW
#endif
-BOOL qxeEndUpdateResource (HANDLE hUpdate, BOOL fDiscard);
+BOOL qxeEndUpdateResource (IN HANDLE hUpdate, IN BOOL fDiscard);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GlobalAddAtom
#define GlobalAddAtom error_use_qxeGlobalAddAtom_or_GlobalAddAtomA_and_GlobalAddAtomW
#endif
-ATOM qxeGlobalAddAtom (const Extbyte * lpString);
+ATOM qxeGlobalAddAtom (IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GlobalFindAtom
#define GlobalFindAtom
error_use_qxeGlobalFindAtom_or_GlobalFindAtomA_and_GlobalFindAtomW
#endif
-ATOM qxeGlobalFindAtom (const Extbyte * lpString);
+ATOM qxeGlobalFindAtom (IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GlobalGetAtomName
#define GlobalGetAtomName
error_use_qxeGlobalGetAtomName_or_GlobalGetAtomNameA_and_GlobalGetAtomNameW
#endif
-UINT qxeGlobalGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize);
+UINT qxeGlobalGetAtomName (IN ATOM nAtom, OUT Extbyte * lpBuffer, IN int nSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef AddAtom
#define AddAtom error_use_qxeAddAtom_or_AddAtomA_and_AddAtomW
#endif
-ATOM qxeAddAtom (const Extbyte * lpString);
+ATOM qxeAddAtom (IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FindAtom
#define FindAtom error_use_qxeFindAtom_or_FindAtomA_and_FindAtomW
#endif
-ATOM qxeFindAtom (const Extbyte * lpString);
+ATOM qxeFindAtom (IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetAtomName
#define GetAtomName error_use_qxeGetAtomName_or_GetAtomNameA_and_GetAtomNameW
#endif
-UINT qxeGetAtomName (ATOM nAtom, Extbyte * lpBuffer, int nSize);
+UINT qxeGetAtomName (IN ATOM nAtom, OUT Extbyte * lpBuffer, IN int nSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetProfileInt
#define GetProfileInt error_use_qxeGetProfileInt_or_GetProfileIntA_and_GetProfileIntW
#endif
-UINT qxeGetProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT
nDefault);
+UINT qxeGetProfileInt (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName, IN INT
nDefault);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetProfileString
#define GetProfileString
error_use_qxeGetProfileString_or_GetProfileStringA_and_GetProfileStringW
#endif
-DWORD qxeGetProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const
Extbyte * lpDefault, Extbyte * lpReturnedString, DWORD nSize);
+DWORD qxeGetProfileString (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName, IN
const Extbyte * lpDefault, OUT Extbyte * lpReturnedString, IN DWORD nSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef WriteProfileString
#define WriteProfileString
error_use_qxeWriteProfileString_or_WriteProfileStringA_and_WriteProfileStringW
#endif
-BOOL qxeWriteProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName, const
Extbyte * lpString);
+BOOL qxeWriteProfileString (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName,
IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetProfileSection
#define GetProfileSection
error_use_qxeGetProfileSection_or_GetProfileSectionA_and_GetProfileSectionW
#endif
-DWORD qxeGetProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString, DWORD
nSize);
+DWORD qxeGetProfileSection (IN const Extbyte * lpAppName, OUT Extbyte * lpReturnedString,
IN DWORD nSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef WriteProfileSection
#define WriteProfileSection
error_use_qxeWriteProfileSection_or_WriteProfileSectionA_and_WriteProfileSectionW
#endif
-BOOL qxeWriteProfileSection (const Extbyte * lpAppName, const Extbyte * lpString);
+BOOL qxeWriteProfileSection (IN const Extbyte * lpAppName, IN const Extbyte * lpString);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetPrivateProfileInt
#define GetPrivateProfileInt
error_use_qxeGetPrivateProfileInt_or_GetPrivateProfileIntA_and_GetPrivateProfileIntW
#endif
-UINT qxeGetPrivateProfileInt (const Extbyte * lpAppName, const Extbyte * lpKeyName, INT
nDefault, const Extbyte * lpFileName);
+UINT qxeGetPrivateProfileInt (IN const Extbyte * lpAppName, IN const Extbyte * lpKeyName,
IN INT nDefault, IN const Extbyte * lpFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetPrivateProfileString
#define GetPrivateProfileString
error_use_qxeGetPrivateProfileString_or_GetPrivateProfileStringA_and_GetPrivateProfileStringW
#endif
-DWORD qxeGetPrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName,
const Extbyte * lpDefault, Extbyte * lpReturnedString, DWORD nSize, const Extbyte *
lpFileName);
+DWORD qxeGetPrivateProfileString (IN const Extbyte * lpAppName, IN const Extbyte *
lpKeyName, IN const Extbyte * lpDefault, OUT Extbyte * lpReturnedString, IN DWORD nSize,
IN const Extbyte * lpFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef WritePrivateProfileString
#define WritePrivateProfileString
error_use_qxeWritePrivateProfileString_or_WritePrivateProfileStringA_and_WritePrivateProfileStringW
#endif
-BOOL qxeWritePrivateProfileString (const Extbyte * lpAppName, const Extbyte * lpKeyName,
const Extbyte * lpString, const Extbyte * lpFileName);
+BOOL qxeWritePrivateProfileString (IN const Extbyte * lpAppName, IN const Extbyte *
lpKeyName, IN const Extbyte * lpString, IN const Extbyte * lpFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetPrivateProfileSection
#define GetPrivateProfileSection
error_use_qxeGetPrivateProfileSection_or_GetPrivateProfileSectionA_and_GetPrivateProfileSectionW
#endif
-DWORD qxeGetPrivateProfileSection (const Extbyte * lpAppName, Extbyte * lpReturnedString,
DWORD nSize, const Extbyte * lpFileName);
+DWORD qxeGetPrivateProfileSection (IN const Extbyte * lpAppName, OUT Extbyte *
lpReturnedString, IN DWORD nSize, IN const Extbyte * lpFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef WritePrivateProfileSection
#define WritePrivateProfileSection
error_use_qxeWritePrivateProfileSection_or_WritePrivateProfileSectionA_and_WritePrivateProfileSectionW
#endif
-BOOL qxeWritePrivateProfileSection (const Extbyte * lpAppName, const Extbyte * lpString,
const Extbyte * lpFileName);
+BOOL qxeWritePrivateProfileSection (IN const Extbyte * lpAppName, IN const Extbyte *
lpString, IN const Extbyte * lpFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetPrivateProfileSectionNames
#define GetPrivateProfileSectionNames
error_use_qxeGetPrivateProfileSectionNames_or_GetPrivateProfileSectionNamesA_and_GetPrivateProfileSectionNamesW
#endif
-DWORD qxeGetPrivateProfileSectionNames (Extbyte * lpszReturnBuffer, DWORD nSize, const
Extbyte * lpFileName);
+DWORD qxeGetPrivateProfileSectionNames (OUT Extbyte * lpszReturnBuffer, IN DWORD nSize,
IN const Extbyte * lpFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetPrivateProfileStruct
#define GetPrivateProfileStruct
error_use_qxeGetPrivateProfileStruct_or_GetPrivateProfileStructA_and_GetPrivateProfileStructW
#endif
-BOOL qxeGetPrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey,
LPVOID lpStruct, UINT uSizeStruct, const Extbyte * szFile);
+BOOL qxeGetPrivateProfileStruct (IN const Extbyte * lpszSection, IN const Extbyte *
lpszKey, OUT LPVOID lpStruct, IN UINT uSizeStruct, IN const Extbyte * szFile);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef WritePrivateProfileStruct
#define WritePrivateProfileStruct
error_use_qxeWritePrivateProfileStruct_or_WritePrivateProfileStructA_and_WritePrivateProfileStructW
#endif
-BOOL qxeWritePrivateProfileStruct (const Extbyte * lpszSection, const Extbyte * lpszKey,
LPVOID lpStruct, UINT uSizeStruct, const Extbyte * szFile);
+BOOL qxeWritePrivateProfileStruct (IN const Extbyte * lpszSection, IN const Extbyte *
lpszKey, IN LPVOID lpStruct, IN UINT uSizeStruct, IN const Extbyte * szFile);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetDriveType
#define GetDriveType error_use_qxeGetDriveType_or_GetDriveTypeA_and_GetDriveTypeW
#endif
-UINT qxeGetDriveType (const Extbyte * lpRootPathName);
+UINT qxeGetDriveType (IN const Extbyte * lpRootPathName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetSystemDirectory
#define GetSystemDirectory
error_use_qxeGetSystemDirectory_or_GetSystemDirectoryA_and_GetSystemDirectoryW
#endif
-UINT qxeGetSystemDirectory (Extbyte * lpBuffer, UINT uSize);
+UINT qxeGetSystemDirectory (OUT Extbyte * lpBuffer, IN UINT uSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetTempPath
#define GetTempPath error_use_qxeGetTempPath_or_GetTempPathA_and_GetTempPathW
#endif
-DWORD qxeGetTempPath (DWORD nBufferLength, Extbyte * lpBuffer);
+DWORD qxeGetTempPath (IN DWORD nBufferLength, OUT Extbyte * lpBuffer);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetTempFileName
#define GetTempFileName
error_use_qxeGetTempFileName_or_GetTempFileNameA_and_GetTempFileNameW
#endif
-UINT qxeGetTempFileName (const Extbyte * lpPathName, const Extbyte * lpPrefixString, UINT
uUnique, Extbyte * lpTempFileName);
+UINT qxeGetTempFileName (IN const Extbyte * lpPathName, IN const Extbyte *
lpPrefixString, IN UINT uUnique, OUT Extbyte * lpTempFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetWindowsDirectory
#define GetWindowsDirectory
error_use_qxeGetWindowsDirectory_or_GetWindowsDirectoryA_and_GetWindowsDirectoryW
#endif
-UINT qxeGetWindowsDirectory (Extbyte * lpBuffer, UINT uSize);
+UINT qxeGetWindowsDirectory (OUT Extbyte * lpBuffer, IN UINT uSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetCurrentDirectory
#define SetCurrentDirectory
error_use_qxeSetCurrentDirectory_or_SetCurrentDirectoryA_and_SetCurrentDirectoryW
#endif
-BOOL qxeSetCurrentDirectory (const Extbyte * lpPathName);
+BOOL qxeSetCurrentDirectory (IN const Extbyte * lpPathName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetCurrentDirectory
#define GetCurrentDirectory
error_use_qxeGetCurrentDirectory_or_GetCurrentDirectoryA_and_GetCurrentDirectoryW
#endif
-DWORD qxeGetCurrentDirectory (DWORD nBufferLength, Extbyte * lpBuffer);
+DWORD qxeGetCurrentDirectory (IN DWORD nBufferLength, OUT Extbyte * lpBuffer);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetDiskFreeSpace
#define GetDiskFreeSpace
error_use_qxeGetDiskFreeSpace_or_GetDiskFreeSpaceA_and_GetDiskFreeSpaceW
#endif
-BOOL qxeGetDiskFreeSpace (const Extbyte * lpRootPathName, LPDWORD lpSectorsPerCluster,
LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD
lpTotalNumberOfClusters);
+BOOL qxeGetDiskFreeSpace (IN const Extbyte * lpRootPathName, OUT LPDWORD
lpSectorsPerCluster, OUT LPDWORD lpBytesPerSector, OUT LPDWORD lpNumberOfFreeClusters, OUT
LPDWORD lpTotalNumberOfClusters);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetDiskFreeSpaceEx
#define GetDiskFreeSpaceEx
error_use_qxeGetDiskFreeSpaceEx_or_GetDiskFreeSpaceExA_and_GetDiskFreeSpaceExW
#endif
-BOOL qxeGetDiskFreeSpaceEx (const Extbyte * lpDirectoryName, PULARGE_INTEGER
lpFreeBytesAvailableToCaller, PULARGE_INTEGER lpTotalNumberOfBytes, PULARGE_INTEGER
lpTotalNumberOfFreeBytes);
+BOOL qxeGetDiskFreeSpaceEx (IN const Extbyte * lpDirectoryName, OUT PULARGE_INTEGER
lpFreeBytesAvailableToCaller, OUT PULARGE_INTEGER lpTotalNumberOfBytes, OUT
PULARGE_INTEGER lpTotalNumberOfFreeBytes);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateDirectory
#define CreateDirectory
error_use_qxeCreateDirectory_or_CreateDirectoryA_and_CreateDirectoryW
#endif
-BOOL qxeCreateDirectory (const Extbyte * lpPathName, LPSECURITY_ATTRIBUTES
lpSecurityAttributes);
+BOOL qxeCreateDirectory (IN const Extbyte * lpPathName, IN LPSECURITY_ATTRIBUTES
lpSecurityAttributes);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateDirectoryEx
#define CreateDirectoryEx
error_use_qxeCreateDirectoryEx_or_CreateDirectoryExA_and_CreateDirectoryExW
#endif
-BOOL qxeCreateDirectoryEx (const Extbyte * lpTemplateDirectory, const Extbyte *
lpNewDirectory, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
+BOOL qxeCreateDirectoryEx (IN const Extbyte * lpTemplateDirectory, IN const Extbyte *
lpNewDirectory, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef RemoveDirectory
#define RemoveDirectory
error_use_qxeRemoveDirectory_or_RemoveDirectoryA_and_RemoveDirectoryW
#endif
-BOOL qxeRemoveDirectory (const Extbyte * lpPathName);
+BOOL qxeRemoveDirectory (IN const Extbyte * lpPathName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetFullPathName
#define GetFullPathName
error_use_qxeGetFullPathName_or_GetFullPathNameA_and_GetFullPathNameW
#endif
-DWORD qxeGetFullPathName (const Extbyte * lpFileName, DWORD nBufferLength, Extbyte *
lpBuffer, Extbyte * * lpFilePart);
+DWORD qxeGetFullPathName (IN const Extbyte * lpFileName, IN DWORD nBufferLength, OUT
Extbyte * lpBuffer, OUT Extbyte * * lpFilePart);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DefineDosDevice
#define DefineDosDevice
error_use_qxeDefineDosDevice_or_DefineDosDeviceA_and_DefineDosDeviceW
#endif
-BOOL qxeDefineDosDevice (DWORD dwFlags, const Extbyte * lpDeviceName, const Extbyte *
lpTargetPath);
+BOOL qxeDefineDosDevice (IN DWORD dwFlags, IN const Extbyte * lpDeviceName, IN const
Extbyte * lpTargetPath);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef QueryDosDevice
#define QueryDosDevice
error_use_qxeQueryDosDevice_or_QueryDosDeviceA_and_QueryDosDeviceW
#endif
-DWORD qxeQueryDosDevice (const Extbyte * lpDeviceName, Extbyte * lpTargetPath, DWORD
ucchMax);
+DWORD qxeQueryDosDevice (IN const Extbyte * lpDeviceName, OUT Extbyte * lpTargetPath, IN
DWORD ucchMax);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateFile
#define CreateFile error_use_qxeCreateFile_or_CreateFileA_and_CreateFileW
#endif
-HANDLE qxeCreateFile (const Extbyte * lpFileName, DWORD dwDesiredAccess, DWORD
dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition,
DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
+HANDLE qxeCreateFile (IN const Extbyte * lpFileName, IN DWORD dwDesiredAccess, IN DWORD
dwShareMode, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes, IN DWORD
dwCreationDisposition, IN DWORD dwFlagsAndAttributes, IN HANDLE hTemplateFile);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetFileAttributes
#define SetFileAttributes
error_use_qxeSetFileAttributes_or_SetFileAttributesA_and_SetFileAttributesW
#endif
-BOOL qxeSetFileAttributes (const Extbyte * lpFileName, DWORD dwFileAttributes);
+BOOL qxeSetFileAttributes (IN const Extbyte * lpFileName, IN DWORD dwFileAttributes);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetFileAttributes
#define GetFileAttributes
error_use_qxeGetFileAttributes_or_GetFileAttributesA_and_GetFileAttributesW
#endif
-DWORD qxeGetFileAttributes (const Extbyte * lpFileName);
+DWORD qxeGetFileAttributes (IN const Extbyte * lpFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetFileAttributesEx
#define GetFileAttributesEx
error_use_qxeGetFileAttributesEx_or_GetFileAttributesExA_and_GetFileAttributesExW
#endif
-BOOL qxeGetFileAttributesEx (const Extbyte * lpFileName, GET_FILEEX_INFO_LEVELS
fInfoLevelId, LPVOID lpFileInformation);
+BOOL qxeGetFileAttributesEx (IN const Extbyte * lpFileName, IN GET_FILEEX_INFO_LEVELS
fInfoLevelId, OUT LPVOID lpFileInformation);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetCompressedFileSize
#define GetCompressedFileSize
error_use_qxeGetCompressedFileSize_or_GetCompressedFileSizeA_and_GetCompressedFileSizeW
#endif
-DWORD qxeGetCompressedFileSize (const Extbyte * lpFileName, LPDWORD lpFileSizeHigh);
+DWORD qxeGetCompressedFileSize (IN const Extbyte * lpFileName, OUT LPDWORD
lpFileSizeHigh);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef DeleteFile
#define DeleteFile error_use_qxeDeleteFile_or_DeleteFileA_and_DeleteFileW
#endif
-BOOL qxeDeleteFile (const Extbyte * lpFileName);
+BOOL qxeDeleteFile (IN const Extbyte * lpFileName);
#undef FindFirstFileEx
#define FindFirstFileEx error_split_sized_LPWIN32_FIND_DATA__not_used__NT_4_0__only
@@ -2489,31 +2579,31 @@
#undef SearchPath
#define SearchPath error_use_qxeSearchPath_or_SearchPathA_and_SearchPathW
#endif
-DWORD qxeSearchPath (const Extbyte * lpPath, const Extbyte * lpFileName, const Extbyte *
lpExtension, DWORD nBufferLength, Extbyte * lpBuffer, Extbyte * * lpFilePart);
+DWORD qxeSearchPath (IN const Extbyte * lpPath, IN const Extbyte * lpFileName, IN const
Extbyte * lpExtension, IN DWORD nBufferLength, OUT Extbyte * lpBuffer, OUT Extbyte * *
lpFilePart);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CopyFile
#define CopyFile error_use_qxeCopyFile_or_CopyFileA_and_CopyFileW
#endif
-BOOL qxeCopyFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName, BOOL
bFailIfExists);
+BOOL qxeCopyFile (IN const Extbyte * lpExistingFileName, IN const Extbyte *
lpNewFileName, IN BOOL bFailIfExists);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CopyFileEx
#define CopyFileEx error_use_qxeCopyFileEx_or_CopyFileExA_and_CopyFileExW
#endif
-BOOL qxeCopyFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName,
LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags);
+BOOL qxeCopyFileEx (IN const Extbyte * lpExistingFileName, IN const Extbyte *
lpNewFileName, IN LPPROGRESS_ROUTINE lpProgressRoutine, IN LPVOID lpData, IN LPBOOL
pbCancel, IN DWORD dwCopyFlags);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef MoveFile
#define MoveFile error_use_qxeMoveFile_or_MoveFileA_and_MoveFileW
#endif
-BOOL qxeMoveFile (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName);
+BOOL qxeMoveFile (IN const Extbyte * lpExistingFileName, IN const Extbyte *
lpNewFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef MoveFileEx
#define MoveFileEx error_use_qxeMoveFileEx_or_MoveFileExA_and_MoveFileExW
#endif
-BOOL qxeMoveFileEx (const Extbyte * lpExistingFileName, const Extbyte * lpNewFileName,
DWORD dwFlags);
+BOOL qxeMoveFileEx (IN const Extbyte * lpExistingFileName, IN const Extbyte *
lpNewFileName, IN DWORD dwFlags);
#undef MoveFileWithProgress
#define MoveFileWithProgress error_NT_5_0__only
@@ -2525,85 +2615,85 @@
#undef CreateNamedPipe
#define CreateNamedPipe
error_use_qxeCreateNamedPipe_or_CreateNamedPipeA_and_CreateNamedPipeW
#endif
-HANDLE qxeCreateNamedPipe (const Extbyte * lpName, DWORD dwOpenMode, DWORD dwPipeMode,
DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut,
LPSECURITY_ATTRIBUTES lpSecurityAttributes);
+HANDLE qxeCreateNamedPipe (IN const Extbyte * lpName, IN DWORD dwOpenMode, IN DWORD
dwPipeMode, IN DWORD nMaxInstances, IN DWORD nOutBufferSize, IN DWORD nInBufferSize, IN
DWORD nDefaultTimeOut, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetNamedPipeHandleState
#define GetNamedPipeHandleState
error_use_qxeGetNamedPipeHandleState_or_GetNamedPipeHandleStateA_and_GetNamedPipeHandleStateW
#endif
-BOOL qxeGetNamedPipeHandleState (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD
lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, Extbyte *
lpUserName, DWORD nMaxUserNameSize);
+BOOL qxeGetNamedPipeHandleState (IN HANDLE hNamedPipe, OUT LPDWORD lpState, OUT LPDWORD
lpCurInstances, OUT LPDWORD lpMaxCollectionCount, OUT LPDWORD lpCollectDataTimeout, OUT
Extbyte * lpUserName, IN DWORD nMaxUserNameSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CallNamedPipe
#define CallNamedPipe error_use_qxeCallNamedPipe_or_CallNamedPipeA_and_CallNamedPipeW
#endif
-BOOL qxeCallNamedPipe (const Extbyte * lpNamedPipeName, LPVOID lpInBuffer, DWORD
nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD
nTimeOut);
+BOOL qxeCallNamedPipe (IN const Extbyte * lpNamedPipeName, IN LPVOID lpInBuffer, IN DWORD
nInBufferSize, OUT LPVOID lpOutBuffer, IN DWORD nOutBufferSize, OUT LPDWORD lpBytesRead,
IN DWORD nTimeOut);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef WaitNamedPipe
#define WaitNamedPipe error_use_qxeWaitNamedPipe_or_WaitNamedPipeA_and_WaitNamedPipeW
#endif
-BOOL qxeWaitNamedPipe (const Extbyte * lpNamedPipeName, DWORD nTimeOut);
+BOOL qxeWaitNamedPipe (IN const Extbyte * lpNamedPipeName, IN DWORD nTimeOut);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetVolumeLabel
#define SetVolumeLabel
error_use_qxeSetVolumeLabel_or_SetVolumeLabelA_and_SetVolumeLabelW
#endif
-BOOL qxeSetVolumeLabel (const Extbyte * lpRootPathName, const Extbyte * lpVolumeName);
+BOOL qxeSetVolumeLabel (IN const Extbyte * lpRootPathName, IN const Extbyte *
lpVolumeName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetVolumeInformation
#define GetVolumeInformation
error_use_qxeGetVolumeInformation_or_GetVolumeInformationA_and_GetVolumeInformationW
#endif
-BOOL qxeGetVolumeInformation (const Extbyte * lpRootPathName, Extbyte *
lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD
lpMaximumComponentLength, LPDWORD lpFileSystemFlags, Extbyte * lpFileSystemNameBuffer,
DWORD nFileSystemNameSize);
+BOOL qxeGetVolumeInformation (IN const Extbyte * lpRootPathName, OUT Extbyte *
lpVolumeNameBuffer, IN DWORD nVolumeNameSize, OUT LPDWORD lpVolumeSerialNumber, OUT
LPDWORD lpMaximumComponentLength, OUT LPDWORD lpFileSystemFlags, OUT Extbyte *
lpFileSystemNameBuffer, IN DWORD nFileSystemNameSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ClearEventLog
#define ClearEventLog error_use_qxeClearEventLog_or_ClearEventLogA_and_ClearEventLogW
#endif
-BOOL qxeClearEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName);
+BOOL qxeClearEventLog (IN HANDLE hEventLog, IN const Extbyte * lpBackupFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef BackupEventLog
#define BackupEventLog
error_use_qxeBackupEventLog_or_BackupEventLogA_and_BackupEventLogW
#endif
-BOOL qxeBackupEventLog (HANDLE hEventLog, const Extbyte * lpBackupFileName);
+BOOL qxeBackupEventLog (IN HANDLE hEventLog, IN const Extbyte * lpBackupFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OpenEventLog
#define OpenEventLog error_use_qxeOpenEventLog_or_OpenEventLogA_and_OpenEventLogW
#endif
-HANDLE qxeOpenEventLog (const Extbyte * lpUNCServerName, const Extbyte * lpSourceName);
+HANDLE qxeOpenEventLog (IN const Extbyte * lpUNCServerName, IN const Extbyte *
lpSourceName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef RegisterEventSource
#define RegisterEventSource
error_use_qxeRegisterEventSource_or_RegisterEventSourceA_and_RegisterEventSourceW
#endif
-HANDLE qxeRegisterEventSource (const Extbyte * lpUNCServerName, const Extbyte *
lpSourceName);
+HANDLE qxeRegisterEventSource (IN const Extbyte * lpUNCServerName, IN const Extbyte *
lpSourceName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef OpenBackupEventLog
#define OpenBackupEventLog
error_use_qxeOpenBackupEventLog_or_OpenBackupEventLogA_and_OpenBackupEventLogW
#endif
-HANDLE qxeOpenBackupEventLog (const Extbyte * lpUNCServerName, const Extbyte *
lpFileName);
+HANDLE qxeOpenBackupEventLog (IN const Extbyte * lpUNCServerName, IN const Extbyte *
lpFileName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ReadEventLog
#define ReadEventLog error_use_qxeReadEventLog_or_ReadEventLogA_and_ReadEventLogW
#endif
-BOOL qxeReadEventLog (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID
lpBuffer, DWORD nNumberOfBytesToRead, DWORD * pnBytesRead, DWORD *
pnMinNumberOfBytesNeeded);
+BOOL qxeReadEventLog (IN HANDLE hEventLog, IN DWORD dwReadFlags, IN DWORD dwRecordOffset,
OUT LPVOID lpBuffer, IN DWORD nNumberOfBytesToRead, OUT DWORD * pnBytesRead, OUT
DWORD * pnMinNumberOfBytesNeeded);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ReportEvent
#define ReportEvent error_use_qxeReportEvent_or_ReportEventA_and_ReportEventW
#endif
-BOOL qxeReportEvent (HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dwEventID, PSID
lpUserSid, WORD wNumStrings, DWORD dwDataSize, const Extbyte * * lpStrings, LPVOID
lpRawData);
+BOOL qxeReportEvent (IN HANDLE hEventLog, IN WORD wType, IN WORD wCategory, IN DWORD
dwEventID, IN PSID lpUserSid, IN WORD wNumStrings, IN DWORD dwDataSize, IN const Extbyte *
* lpStrings, IN LPVOID lpRawData);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef AccessCheckAndAuditAlarm
#define AccessCheckAndAuditAlarm
error_use_qxeAccessCheckAndAuditAlarm_or_AccessCheckAndAuditAlarmA_and_AccessCheckAndAuditAlarmW
#endif
-BOOL qxeAccessCheckAndAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte
* ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD
DesiredAccess, PGENERIC_MAPPING GenericMapping, BOOL ObjectCreation, LPDWORD
GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
+BOOL qxeAccessCheckAndAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId,
IN Extbyte * ObjectTypeName, IN Extbyte * ObjectName, IN PSECURITY_DESCRIPTOR
SecurityDescriptor, IN DWORD DesiredAccess, IN PGENERIC_MAPPING GenericMapping, IN BOOL
ObjectCreation, OUT LPDWORD GrantedAccess, OUT LPBOOL AccessStatus, OUT LPBOOL
pfGenerateOnClose);
#undef AccessCheckByTypeAndAuditAlarm
#define AccessCheckByTypeAndAuditAlarm error_NT_5_0__only
@@ -2615,49 +2705,49 @@
#undef ObjectOpenAuditAlarm
#define ObjectOpenAuditAlarm
error_use_qxeObjectOpenAuditAlarm_or_ObjectOpenAuditAlarmA_and_ObjectOpenAuditAlarmW
#endif
-BOOL qxeObjectOpenAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, Extbyte *
ObjectTypeName, Extbyte * ObjectName, PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE
ClientToken, DWORD DesiredAccess, DWORD GrantedAccess, PPRIVILEGE_SET Privileges, BOOL
ObjectCreation, BOOL AccessGranted, LPBOOL GenerateOnClose);
+BOOL qxeObjectOpenAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId, IN
Extbyte * ObjectTypeName, IN Extbyte * ObjectName, IN PSECURITY_DESCRIPTOR
pSecurityDescriptor, IN HANDLE ClientToken, IN DWORD DesiredAccess, IN DWORD
GrantedAccess, IN PPRIVILEGE_SET Privileges, IN BOOL ObjectCreation, IN BOOL
AccessGranted, OUT LPBOOL GenerateOnClose);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ObjectPrivilegeAuditAlarm
#define ObjectPrivilegeAuditAlarm
error_use_qxeObjectPrivilegeAuditAlarm_or_ObjectPrivilegeAuditAlarmA_and_ObjectPrivilegeAuditAlarmW
#endif
-BOOL qxeObjectPrivilegeAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, HANDLE
ClientToken, DWORD DesiredAccess, PPRIVILEGE_SET Privileges, BOOL AccessGranted);
+BOOL qxeObjectPrivilegeAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId,
IN HANDLE ClientToken, IN DWORD DesiredAccess, IN PPRIVILEGE_SET Privileges, IN BOOL
AccessGranted);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ObjectCloseAuditAlarm
#define ObjectCloseAuditAlarm
error_use_qxeObjectCloseAuditAlarm_or_ObjectCloseAuditAlarmA_and_ObjectCloseAuditAlarmW
#endif
-BOOL qxeObjectCloseAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, BOOL
GenerateOnClose);
+BOOL qxeObjectCloseAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId, IN
BOOL GenerateOnClose);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef ObjectDeleteAuditAlarm
#define ObjectDeleteAuditAlarm
error_use_qxeObjectDeleteAuditAlarm_or_ObjectDeleteAuditAlarmA_and_ObjectDeleteAuditAlarmW
#endif
-BOOL qxeObjectDeleteAuditAlarm (const Extbyte * SubsystemName, LPVOID HandleId, BOOL
GenerateOnClose);
+BOOL qxeObjectDeleteAuditAlarm (IN const Extbyte * SubsystemName, IN LPVOID HandleId, IN
BOOL GenerateOnClose);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef PrivilegedServiceAuditAlarm
#define PrivilegedServiceAuditAlarm
error_use_qxePrivilegedServiceAuditAlarm_or_PrivilegedServiceAuditAlarmA_and_PrivilegedServiceAuditAlarmW
#endif
-BOOL qxePrivilegedServiceAuditAlarm (const Extbyte * SubsystemName, const Extbyte *
ServiceName, HANDLE ClientToken, PPRIVILEGE_SET Privileges, BOOL AccessGranted);
+BOOL qxePrivilegedServiceAuditAlarm (IN const Extbyte * SubsystemName, IN const Extbyte *
ServiceName, IN HANDLE ClientToken, IN PPRIVILEGE_SET Privileges, IN BOOL AccessGranted);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetFileSecurity
#define SetFileSecurity
error_use_qxeSetFileSecurity_or_SetFileSecurityA_and_SetFileSecurityW
#endif
-BOOL qxeSetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION
SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor);
+BOOL qxeSetFileSecurity (IN const Extbyte * lpFileName, IN SECURITY_INFORMATION
SecurityInformation, IN PSECURITY_DESCRIPTOR pSecurityDescriptor);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetFileSecurity
#define GetFileSecurity
error_use_qxeGetFileSecurity_or_GetFileSecurityA_and_GetFileSecurityW
#endif
-BOOL qxeGetFileSecurity (const Extbyte * lpFileName, SECURITY_INFORMATION
RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD
lpnLengthNeeded);
+BOOL qxeGetFileSecurity (IN const Extbyte * lpFileName, IN SECURITY_INFORMATION
RequestedInformation, OUT PSECURITY_DESCRIPTOR pSecurityDescriptor, IN DWORD nLength, OUT
LPDWORD lpnLengthNeeded);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef FindFirstChangeNotification
#define FindFirstChangeNotification
error_use_qxeFindFirstChangeNotification_or_FindFirstChangeNotificationA_and_FindFirstChangeNotificationW
#endif
-HANDLE qxeFindFirstChangeNotification (const Extbyte * lpPathName, BOOL bWatchSubtree,
DWORD dwNotifyFilter);
+HANDLE qxeFindFirstChangeNotification (IN const Extbyte * lpPathName, IN BOOL
bWatchSubtree, IN DWORD dwNotifyFilter);
#undef ReadDirectoryChanges
#define ReadDirectoryChanges error_Unicode_only
@@ -2666,97 +2756,97 @@
#undef IsBadStringPtr
#define IsBadStringPtr
error_use_qxeIsBadStringPtr_or_IsBadStringPtrA_and_IsBadStringPtrW
#endif
-BOOL qxeIsBadStringPtr (const Extbyte * lpsz, UINT ucchMax);
+BOOL qxeIsBadStringPtr (IN const Extbyte * lpsz, IN UINT_PTR ucchMax);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LookupAccountSid
#define LookupAccountSid
error_use_qxeLookupAccountSid_or_LookupAccountSidA_and_LookupAccountSidW
#endif
-BOOL qxeLookupAccountSid (const Extbyte * lpSystemName, PSID Sid, Extbyte * Name, LPDWORD
cbName, Extbyte * ReferencedDomainName, LPDWORD cbReferencedDomainName, PSID_NAME_USE
peUse);
+BOOL qxeLookupAccountSid (IN const Extbyte * lpSystemName, IN PSID Sid, OUT Extbyte *
Name, IN OUT LPDWORD cbName, OUT Extbyte * ReferencedDomainName, IN OUT LPDWORD
cbReferencedDomainName, OUT PSID_NAME_USE peUse);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LookupAccountName
#define LookupAccountName
error_use_qxeLookupAccountName_or_LookupAccountNameA_and_LookupAccountNameW
#endif
-BOOL qxeLookupAccountName (const Extbyte * lpSystemName, const Extbyte * lpAccountName,
PSID Sid, LPDWORD cbSid, Extbyte * ReferencedDomainName, LPDWORD cbReferencedDomainName,
PSID_NAME_USE peUse);
+BOOL qxeLookupAccountName (IN const Extbyte * lpSystemName, IN const Extbyte *
lpAccountName, OUT PSID Sid, IN OUT LPDWORD cbSid, OUT Extbyte * ReferencedDomainName, IN
OUT LPDWORD cbReferencedDomainName, OUT PSID_NAME_USE peUse);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LookupPrivilegeValue
#define LookupPrivilegeValue
error_use_qxeLookupPrivilegeValue_or_LookupPrivilegeValueA_and_LookupPrivilegeValueW
#endif
-BOOL qxeLookupPrivilegeValue (const Extbyte * lpSystemName, const Extbyte * lpName, PLUID
lpLuid);
+BOOL qxeLookupPrivilegeValue (IN const Extbyte * lpSystemName, IN const Extbyte * lpName,
OUT PLUID lpLuid);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LookupPrivilegeName
#define LookupPrivilegeName
error_use_qxeLookupPrivilegeName_or_LookupPrivilegeNameA_and_LookupPrivilegeNameW
#endif
-BOOL qxeLookupPrivilegeName (const Extbyte * lpSystemName, PLUID lpLuid, Extbyte *
lpName, LPDWORD cbName);
+BOOL qxeLookupPrivilegeName (IN const Extbyte * lpSystemName, IN PLUID lpLuid, OUT
Extbyte * lpName, IN OUT LPDWORD cbName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LookupPrivilegeDisplayName
#define LookupPrivilegeDisplayName
error_use_qxeLookupPrivilegeDisplayName_or_LookupPrivilegeDisplayNameA_and_LookupPrivilegeDisplayNameW
#endif
-BOOL qxeLookupPrivilegeDisplayName (const Extbyte * lpSystemName, const Extbyte * lpName,
Extbyte * lpDisplayName, LPDWORD cbDisplayName, LPDWORD lpLanguageId);
+BOOL qxeLookupPrivilegeDisplayName (IN const Extbyte * lpSystemName, IN const Extbyte *
lpName, OUT Extbyte * lpDisplayName, IN OUT LPDWORD cbDisplayName, OUT LPDWORD
lpLanguageId);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef BuildCommDCB
#define BuildCommDCB error_use_qxeBuildCommDCB_or_BuildCommDCBA_and_BuildCommDCBW
#endif
-BOOL qxeBuildCommDCB (const Extbyte * lpDef, LPDCB lpDCB);
+BOOL qxeBuildCommDCB (IN const Extbyte * lpDef, OUT LPDCB lpDCB);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef BuildCommDCBAndTimeouts
#define BuildCommDCBAndTimeouts
error_use_qxeBuildCommDCBAndTimeouts_or_BuildCommDCBAndTimeoutsA_and_BuildCommDCBAndTimeoutsW
#endif
-BOOL qxeBuildCommDCBAndTimeouts (const Extbyte * lpDef, LPDCB lpDCB, LPCOMMTIMEOUTS
lpCommTimeouts);
+BOOL qxeBuildCommDCBAndTimeouts (IN const Extbyte * lpDef, OUT LPDCB lpDCB, IN
LPCOMMTIMEOUTS lpCommTimeouts);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CommConfigDialog
#define CommConfigDialog
error_use_qxeCommConfigDialog_or_CommConfigDialogA_and_CommConfigDialogW
#endif
-BOOL qxeCommConfigDialog (const Extbyte * lpszName, HWND hWnd, LPCOMMCONFIG lpCC);
+BOOL qxeCommConfigDialog (IN const Extbyte * lpszName, IN HWND hWnd, IN OUT LPCOMMCONFIG
lpCC);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetDefaultCommConfig
#define GetDefaultCommConfig
error_use_qxeGetDefaultCommConfig_or_GetDefaultCommConfigA_and_GetDefaultCommConfigW
#endif
-BOOL qxeGetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, LPDWORD
lpdwSize);
+BOOL qxeGetDefaultCommConfig (IN const Extbyte * lpszName, OUT LPCOMMCONFIG lpCC, IN OUT
LPDWORD lpdwSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetDefaultCommConfig
#define SetDefaultCommConfig
error_use_qxeSetDefaultCommConfig_or_SetDefaultCommConfigA_and_SetDefaultCommConfigW
#endif
-BOOL qxeSetDefaultCommConfig (const Extbyte * lpszName, LPCOMMCONFIG lpCC, DWORD
dwSize);
+BOOL qxeSetDefaultCommConfig (IN const Extbyte * lpszName, IN LPCOMMCONFIG lpCC, IN DWORD
dwSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetComputerName
#define GetComputerName
error_use_qxeGetComputerName_or_GetComputerNameA_and_GetComputerNameW
#endif
-BOOL qxeGetComputerName (Extbyte * lpBuffer, LPDWORD nSize);
+BOOL qxeGetComputerName (OUT Extbyte * lpBuffer, IN OUT LPDWORD nSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef SetComputerName
#define SetComputerName
error_use_qxeSetComputerName_or_SetComputerNameA_and_SetComputerNameW
#endif
-BOOL qxeSetComputerName (const Extbyte * lpComputerName);
+BOOL qxeSetComputerName (IN const Extbyte * lpComputerName);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef GetUserName
#define GetUserName error_use_qxeGetUserName_or_GetUserNameA_and_GetUserNameW
#endif
-BOOL qxeGetUserName (Extbyte * lpBuffer, LPDWORD nSize);
+BOOL qxeGetUserName (OUT Extbyte * lpBuffer, IN OUT LPDWORD nSize);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef LogonUser
#define LogonUser error_use_qxeLogonUser_or_LogonUserA_and_LogonUserW
#endif
-BOOL qxeLogonUser (Extbyte * lpszUsername, Extbyte * lpszDomain, Extbyte * lpszPassword,
DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken);
+BOOL qxeLogonUser (IN const Extbyte * lpszUsername, IN const Extbyte * lpszDomain, IN
const Extbyte * lpszPassword, IN DWORD dwLogonType, IN DWORD dwLogonProvider, OUT PHANDLE
phToken);
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
#undef CreateProcessAsUser
#define CreateProcessAsUser
error_use_qxeCreateProcessAsUser_or_CreateProcessAsUserA_and_CreateProcessAsUserW
#endif
-BOOL qxeCreateProcessAsUser (HANDLE hToken, const Extbyte * lpApplicationName, Extbyte *
lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES
lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment,
const Extbyte * lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION
lpProcessInformation);
+BOOL qxeCreateProcessAsUser (IN HANDLE hToken, IN const Extbyte * lpApplicationName, IN
Extbyte * lpCommandLine, IN LPSECURITY_ATTRIBUTES lpProcessAttributes, IN
LPSECURITY_ATTRIBUTES lpThreadAttributes, IN BOOL bInheritHandles, IN DWORD
dwCreationFlags, IN LPVOID lpEnvironment, IN const Extbyte * lpCurrentDirectory, IN
LPSTARTUPINFOW lpStartupInfo, OUT LPPROCESS_INFORMATION lpProcessInformation);
#undef GetCurrentHwProfile
#define GetCurrentHwProfile error_split_sized_LPHW_PROFILE_INFO__NT_4_0__only
@@ -2770,125 +2860,12 @@
#undef OpenJobObject
#define OpenJobObject error_NT_5_0__only
-
-/* Processing file MMSYSTEM.H */
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef sndPlaySound
-#define sndPlaySound error_use_qxesndPlaySound_or_sndPlaySoundA_and_sndPlaySoundW
-#endif
-BOOL qxesndPlaySound (const Extbyte * pszSound, UINT fuSound);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef PlaySound
-#define PlaySound error_use_qxePlaySound_or_PlaySoundA_and_PlaySoundW
-#endif
-BOOL qxePlaySound (const Extbyte * pszSound, HMODULE hmod, DWORD fdwSound);
-
-#undef waveOutGetDevCaps
-#define waveOutGetDevCaps error_split_sized_LPWAVEOUTCAPS
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef waveOutGetErrorText
-#define waveOutGetErrorText
error_use_qxewaveOutGetErrorText_or_waveOutGetErrorTextA_and_waveOutGetErrorTextW
-#endif
-MMRESULT qxewaveOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText);
-
-#undef waveInGetDevCaps
-#define waveInGetDevCaps error_split_sized_LPWAVEINCAPS
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef waveInGetErrorText
-#define waveInGetErrorText
error_use_qxewaveInGetErrorText_or_waveInGetErrorTextA_and_waveInGetErrorTextW
-#endif
-MMRESULT qxewaveInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText);
-
-#undef midiOutGetDevCaps
-#define midiOutGetDevCaps error_split_sized_LPMIDIOUTCAPS
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef midiOutGetErrorText
-#define midiOutGetErrorText
error_use_qxemidiOutGetErrorText_or_midiOutGetErrorTextA_and_midiOutGetErrorTextW
-#endif
-MMRESULT qxemidiOutGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText);
-
-#undef midiInGetDevCaps
-#define midiInGetDevCaps error_split_sized_LPMIDIOUTCAPS
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef midiInGetErrorText
-#define midiInGetErrorText
error_use_qxemidiInGetErrorText_or_midiInGetErrorTextA_and_midiInGetErrorTextW
-#endif
-MMRESULT qxemidiInGetErrorText (MMRESULT mmrError, Extbyte * pszText, UINT cchText);
-
-#undef auxGetDevCaps
-#define auxGetDevCaps error_split_sized_LPAUXCAPS
-
-#undef mixerGetDevCaps
-#define mixerGetDevCaps error_split_sized_LPMIXERCAPS
-
-#undef mixerGetLineInfo
-#define mixerGetLineInfo error_split_sized_LPMIXERLINE
-
-#undef mixerGetLineControls
-#define mixerGetLineControls error_split_sized_LPMIXERCONTROL
-
-#undef mixerGetControlDetails
-#define mixerGetControlDetails
error_split_sized_LPMIXERCONTROL_in_LPMIXERLINECONTROLS_in_LPMIXERCONTROLDETAILS
-
-#undef joyGetDevCaps
-#define joyGetDevCaps error_split_sized_LPJOYCAPS
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef mmioStringToFOURCC
-#define mmioStringToFOURCC
error_use_qxemmioStringToFOURCC_or_mmioStringToFOURCCA_and_mmioStringToFOURCCW
-#endif
-FOURCC qxemmioStringToFOURCC (const Extbyte * sz, UINT uFlags);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef mmioInstallIOProc
-#define mmioInstallIOProc
error_use_qxemmioInstallIOProc_or_mmioInstallIOProcA_and_mmioInstallIOProcW
-#endif
-LPMMIOPROC qxemmioInstallIOProc (FOURCC fccIOProc, LPMMIOPROC pIOProc, DWORD dwFlags);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef mmioOpen
-#define mmioOpen error_use_qxemmioOpen_or_mmioOpenA_and_mmioOpenW
-#endif
-HMMIO qxemmioOpen (Extbyte * pszFileName, LPMMIOINFO pmmioinfo, DWORD fdwOpen);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef mmioRename
-#define mmioRename error_use_qxemmioRename_or_mmioRenameA_and_mmioRenameW
-#endif
-MMRESULT qxemmioRename (const Extbyte * pszFileName, const Extbyte * pszNewFileName,
LPCMMIOINFO pmmioinfo, DWORD fdwRename);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef mciSendCommand
-#define mciSendCommand
error_use_qxemciSendCommand_or_mciSendCommandA_and_mciSendCommandW
-#endif
-MCIERROR qxemciSendCommand (MCIDEVICEID mciId, UINT uMsg, DWORD dwParam1, DWORD
dwParam2);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef mciSendString
-#define mciSendString error_use_qxemciSendString_or_mciSendStringA_and_mciSendStringW
-#endif
-MCIERROR qxemciSendString (const Extbyte * lpstrCommand, Extbyte * lpstrReturnString,
UINT uReturnLength, HWND hwndCallback);
-
-#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef mciGetDeviceID
-#define mciGetDeviceID
error_use_qxemciGetDeviceID_or_mciGetDeviceIDA_and_mciGetDeviceIDW
-#endif
-MCIDEVICEID qxemciGetDeviceID (const Extbyte * pszDevice);
-#if !defined (MINGW)
-#undef mciGetDeviceIDFromElementID
-#define mciGetDeviceIDFromElementID error_missing_from_Win98se_version_of_ADVAPI32_dll
-#endif /* !defined (MINGW) */
+/* Processing file ACLAPI.h */
#ifdef ERROR_WHEN_NONINTERCEPTED_FUNS_USED
-#undef mciGetErrorString
-#define mciGetErrorString
error_use_qxemciGetErrorString_or_mciGetErrorStringA_and_mciGetErrorStringW
+#undef GetNamedSecurityInfo
+#define GetNamedSecurityInfo
error_use_qxeGetNamedSecurityInfo_or_GetNamedSecurityInfoA_and_GetNamedSecurityInfoW
#endif
-BOOL qxemciGetErrorString (MCIERROR mcierr, Extbyte * pszText, UINT cchText);
+DWORD qxeGetNamedSecurityInfo (IN Extbyte * pObjectName, IN SE_OBJECT_TYPE ObjectType,
IN SECURITY_INFORMATION SecurityInfo, OUT PSID * ppsidOwner, OUT PSID
* ppsidGroup, OUT PACL * ppDacl, OUT PACL *
ppSacl, OUT PSECURITY_DESCRIPTOR * ppSecurityDescriptor);
Index: src/intl-encap-win32.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/intl-encap-win32.c,v
retrieving revision 1.13
diff -u -r1.13 intl-encap-win32.c
--- src/intl-encap-win32.c 2005/01/24 23:34:00 1.13
+++ src/intl-encap-win32.c 2006/11/24 23:48:18
@@ -100,6 +100,10 @@
// dir c:\Program Files\Microsoft Visual Studio\VC98\Include\
+file ACLAPI.h
+
+yes GetNamedSecurityInfo
+
file WINBASE.H
yes GetBinaryType
Index: src/syswindows.h
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/syswindows.h,v
retrieving revision 1.27
diff -u -r1.27 syswindows.h
--- src/syswindows.h 2005/10/25 11:16:28 1.27
+++ src/syswindows.h 2006/11/24 23:48:28
@@ -88,6 +88,8 @@
#define OEMRESOURCE /* Define OCR_ and friend constants */
#include <windows.h>
+#include <aclapi.h>
+
#if defined (WIN32_LEAN_AND_MEAN)
# ifdef HAVE_X_WINDOWS
/* Christ almighty. The problems you get when combining two large code bases,
@@ -932,6 +934,7 @@
int cygwin_win32_to_posix_path_list_buf_size (const char *);
void cygwin_posix_to_win32_path_list (const char *, char *);
int cygwin_posix_to_win32_path_list_buf_size (const char *);
+extern int cygwin_conv_to_full_win32_path (const char *, char *);
END_C_DECLS
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches