[KERNEL32]: While working on the CMAKE branch, Amine and myself discovered a rather...
authorSir Richard <sir_richard@svn.reactos.org>
Sat, 7 Aug 2010 05:02:58 +0000 (05:02 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Sat, 7 Aug 2010 05:02:58 +0000 (05:02 +0000)
            As an additional feature on top of the "allow non-existing functions to be exported" "feature", because rbuild generates and links STDCALL function names without the proper decoration (vs. enforcing decoration at linking, but only removing it at export-time), this allows the definition (as an export) of a STDCALL function that is completely different from the actual function itself.
            For example, the 5-parameter Foo function is normally Foo@20, while the 3-parameter Foo function woudl be Foo@12. Linking one against the other would fail (say, 2 parameters were added to Foo in a newer version). However, under RBUILD, both of these would appear as "Foo", and the linker/compiler would happilly connect the caller of Foo@3 (that has pushed 3 parameters) to the receiving side of Foo@5 (that is about to pop 5 parameters).
            Even -if- decorations WERE to be applied, Foo@12 would STILL succeed, because of the first feature, which would enable the export of Foo@12 even though no such function exist.
            In a further, bizare, twist of fate, the behavior of this RBUILD "feature", when the target function is not found, is to link the exported DLL TO ITSELF.
            Therefore, one can see how, previously to this patch, kernel32.dll would import a dozen functions from itself (all the non-existing functions).
            To really seal the deal, the behavior of exported functions used by kernel32, but that are actually forwarded to another DLL deserves a special mention.
            GetLastError, for example, merely forwards to RtlGetLastWin32Error, so it is normal behavior to use a #define in the C code so that all internal calls to the function are routed correctly.
            This did not happen, so instead, kernel32 tried importing/linking/exporting GetLastError, but this symbol is not found in the binary, because it is only a forwarder.
            This caused kernel32 to import from itself (the behavior when an exported symbol is not found). When importing from itself, the loader would now find the _forwarded_ for GetLastError, and correctly link with ntdll.
            What should be a one-liner of assembly (inline TEB access) thus became a triple-call indirection (GetLastError@0->StubLastError@0->__impGetLastError@0->__impRtlGetLastWin32Error->RtlGetLastWin32Error.
            While analyzing these issues, we also realized a strange macro SetLastErrorByStatus that manually tried to perform what there already exists a function for: RtlSetLastNtStatusFromWin32Error.
    And, in an exciting coda, we also realized that our Server 2003 Kernel32 exports more than a dozen Windows 95 APIs, through an auto-stub generation mechanism within winebuild, that gets linked as an object behind the scenes.
[KERNEL32]: Removed all Win95 exports, cleaned up exports.
[KERNEL32]: Fixed up set/get error macros by making them inline and/or calling the correct ntdll function.
[KERNEL32]: Removed bizare calls to Wine-internal/specific APIs from our core Win32 DLL.
[KERNEL32]: Wrote stubs for all functions which should be exported, and set the correct number of parameters for them.
[KERNEL32]: Kernel32 is smaller, loads faster, does not export Windows 95 functions, does not export non-existing functions, and does not import from itself anymore.
Note: This is one of the many failings of RBUILD the CMAKE system has helped us discover. I believe these issues are serious enough to warrant an immediate sync with trunk, but rest assured, there are many more completely broken, infinitely-regressing things that we discovered while switching to CMAKE.

svn path=/trunk/; revision=48475

33 files changed:
reactos/dll/win32/kernel32/file/backup.c
reactos/dll/win32/kernel32/file/bintype.c
reactos/dll/win32/kernel32/file/cnotify.c
reactos/dll/win32/kernel32/file/copy.c
reactos/dll/win32/kernel32/file/create.c
reactos/dll/win32/kernel32/file/curdir.c
reactos/dll/win32/kernel32/file/delete.c
reactos/dll/win32/kernel32/file/dir.c
reactos/dll/win32/kernel32/file/dosdev.c
reactos/dll/win32/kernel32/file/file.c
reactos/dll/win32/kernel32/file/find.c
reactos/dll/win32/kernel32/file/hardlink.c
reactos/dll/win32/kernel32/file/iocompl.c
reactos/dll/win32/kernel32/file/lfile.c
reactos/dll/win32/kernel32/file/lock.c
reactos/dll/win32/kernel32/file/mailslot.c
reactos/dll/win32/kernel32/file/move.c
reactos/dll/win32/kernel32/file/npipe.c
reactos/dll/win32/kernel32/file/pipe.c
reactos/dll/win32/kernel32/file/rw.c
reactos/dll/win32/kernel32/file/tape.c
reactos/dll/win32/kernel32/file/volume.c
reactos/dll/win32/kernel32/include/kernel32.h
reactos/dll/win32/kernel32/kernel32.def [new file with mode: 0644]
reactos/dll/win32/kernel32/kernel32.pspec [deleted file]
reactos/dll/win32/kernel32/kernel32.rbuild
reactos/dll/win32/kernel32/misc/actctx.c
reactos/dll/win32/kernel32/misc/console.c
reactos/dll/win32/kernel32/misc/format_msg.c
reactos/dll/win32/kernel32/misc/lcformat.c
reactos/dll/win32/kernel32/misc/stubs.c
reactos/dll/win32/kernel32/misc/version.c
reactos/dll/win32/kernel32/process/session.c

index 0928e74..24c2a75 100644 (file)
@@ -11,9 +11,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
 
 /* FUNCTIONS ****************************************************************/
 
index 98d8f67..9da05e5 100644 (file)
@@ -13,9 +13,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
 
 /* FUNCTIONS ****************************************************************/
 
index 59f6165..c7aff9c 100644 (file)
@@ -10,9 +10,8 @@
  */
 
 #include <k32.h>
  */
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /*
  * @implemented
 
 /*
  * @implemented
index 760fda4..dbfc37b 100644 (file)
@@ -13,9 +13,8 @@
 /* INCLUDES ****************************************************************/
 
 #include <k32.h>
 /* INCLUDES ****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
 
 /* FUNCTIONS ****************************************************************/
 
index d2fe40f..002df3a 100644 (file)
@@ -15,9 +15,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 #define SYMLINK_FLAG_RELATIVE   1
 
 
 #define SYMLINK_FLAG_RELATIVE   1
 
index 5584899..8c45a06 100644 (file)
@@ -17,9 +17,8 @@
 /* INCLUDES ******************************************************************/
 
 #include <k32.h>
 /* INCLUDES ******************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* GLOBAL VARIABLES **********************************************************/
 
 
 /* GLOBAL VARIABLES **********************************************************/
 
index 4ad6a80..b3b95cf 100644 (file)
@@ -12,9 +12,8 @@
 /* INCLUDES ****************************************************************/
 
 #include <k32.h>
 /* INCLUDES ****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <reactos/debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
 
 /* FUNCTIONS ****************************************************************/
 
index 913243a..9baab1d 100644 (file)
@@ -16,9 +16,8 @@
 /* INCLUDES ******************************************************************/
 
 #include <k32.h>
 /* INCLUDES ******************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 UNICODE_STRING DllDirectory = {0, 0, NULL};
 
 
 UNICODE_STRING DllDirectory = {0, 0, NULL};
 
index 006cc76..054bbaa 100644 (file)
@@ -12,9 +12,8 @@
 /* INCLUDES ******************************************************************/
 
 #include <k32.h>
 /* INCLUDES ******************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* FUNCTIONS *****************************************************************/
 
 
 /* FUNCTIONS *****************************************************************/
 
index cdbafd0..cbe7656 100644 (file)
@@ -13,9 +13,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* GLOBALS ******************************************************************/
 
 
 /* GLOBALS ******************************************************************/
 
index df24523..faaf0a6 100644 (file)
@@ -12,9 +12,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* TYPES ********************************************************************/
 
 
 /* TYPES ********************************************************************/
 
index 8954ebe..ff47324 100644 (file)
@@ -12,9 +12,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
 
 /* FUNCTIONS ****************************************************************/
 
index 2f33246..56eef2c 100644 (file)
  */
 
 #include <k32.h>
  */
 
 #include <k32.h>
-#include <wine/debug.h>
+#define NDEBUG
+#include <debug.h>
 
 #define NANOS_TO_100NS(nanos) (((LONGLONG)(nanos)) / 100)
 #define MICROS_TO_100NS(micros) (((LONGLONG)(micros)) * NANOS_TO_100NS(1000))
 #define MILLIS_TO_100NS(milli) (((LONGLONG)(milli)) * MICROS_TO_100NS(1000))
 
 
 #define NANOS_TO_100NS(nanos) (((LONGLONG)(nanos)) / 100)
 #define MICROS_TO_100NS(micros) (((LONGLONG)(micros)) * NANOS_TO_100NS(1000))
 #define MILLIS_TO_100NS(milli) (((LONGLONG)(milli)) * MICROS_TO_100NS(1000))
 
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
-
 /*
  * @implemented
  */
 /*
  * @implemented
  */
index 7171c89..7c1a6b9 100644 (file)
@@ -10,9 +10,8 @@
  */
 
 #include <k32.h>
  */
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /*
  * @implemented
 
 /*
  * @implemented
index 60c7133..d3ef604 100644 (file)
@@ -14,9 +14,8 @@
 /* INCLUDES ****************************************************************/
 
 #include <k32.h>
 /* INCLUDES ****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
 
 /* FUNCTIONS ****************************************************************/
 
index 629fef2..355fd8a 100644 (file)
@@ -11,9 +11,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
 
 /* FUNCTIONS ****************************************************************/
 
index c46f006..20552f9 100644 (file)
@@ -17,9 +17,8 @@
 
 #include <k32.h>
 #include <malloc.h>
 
 #include <k32.h>
 #include <malloc.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* GLOBALS *****************************************************************/
 
 
 /* GLOBALS *****************************************************************/
 
index 55aeed9..3ec1091 100644 (file)
@@ -10,9 +10,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 //#define USING_PROPER_NPFS_WAIT_SEMANTICS
 
 
 //#define USING_PROPER_NPFS_WAIT_SEMANTICS
 
index 94bc1ae..fa0e7e0 100644 (file)
@@ -11,9 +11,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* GLOBALS ******************************************************************/
 
 
 /* GLOBALS ******************************************************************/
 
index 400caf7..8f97028 100644 (file)
@@ -12,9 +12,8 @@
 /* INCLUDES ****************************************************************/
 
 #include <k32.h>
 /* INCLUDES ****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
 
 /* FUNCTIONS ****************************************************************/
 
index fc6d4c4..32e274f 100644 (file)
@@ -12,9 +12,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
 /* INCLUDES *****************************************************************/
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 /* FUNCTIONS ****************************************************************/
 
 
 /* FUNCTIONS ****************************************************************/
 
index ee74d9f..c912840 100644 (file)
@@ -20,9 +20,8 @@
  */
 
 #include <k32.h>
  */
 
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32file);
+#define NDEBUG
+#include <debug.h>
 
 #define MAX_DOS_DRIVES 26
 
 
 #define MAX_DOS_DRIVES 26
 
index 4d3f032..79eec59 100755 (executable)
@@ -1,5 +1,15 @@
 #pragma once
 
 #pragma once
 
+#define TRACE       DPRINT
+#define WARN        DPRINT1
+#define FIXME       DPRINT1
+#define ERR         DPRINT1
+#define debugstr_a  
+#define debugstr_w
+#define wine_dbgstr_w  
+#define debugstr_guid
+
+#include "wine/unicode.h"
 #include "baseheap.h"
 
 #define BINARY_UNKNOWN (0)
 #include "baseheap.h"
 
 #define BINARY_UNKNOWN (0)
@@ -40,8 +50,9 @@
 /* Undocumented CreateProcess flag */
 #define STARTF_SHELLPRIVATE         0x400
   
 /* Undocumented CreateProcess flag */
 #define STARTF_SHELLPRIVATE         0x400
   
-#define SetLastErrorByStatus(__S__) \
- ((void)SetLastError(RtlNtStatusToDosError(__S__)))
+#define SetLastErrorByStatus(x) RtlSetLastWin32ErrorAndNtStatusFromNtStatus((x))
+#define GetLastError()          NtCurrentTeb()->LastErrorValue
+#define SetLastError(x)         NtCurrentTeb()->LastErrorValue = (x)
 
 typedef struct _CODEPAGE_ENTRY
 {
 
 typedef struct _CODEPAGE_ENTRY
 {
@@ -100,6 +111,7 @@ DWORD FilenameU2A_FitOrFail(LPSTR  DestA, INT destLen, PUNICODE_STRING SourceU);
 #define HeapAlloc RtlAllocateHeap
 #define HeapReAlloc RtlReAllocateHeap
 #define HeapFree RtlFreeHeap
 #define HeapAlloc RtlAllocateHeap
 #define HeapReAlloc RtlReAllocateHeap
 #define HeapFree RtlFreeHeap
+#define _lread  (_readfun)_hread
 
 POBJECT_ATTRIBUTES
 WINAPI
 
 POBJECT_ATTRIBUTES
 WINAPI
diff --git a/reactos/dll/win32/kernel32/kernel32.def b/reactos/dll/win32/kernel32/kernel32.def
new file mode 100644 (file)
index 0000000..40d3de3
--- /dev/null
@@ -0,0 +1,997 @@
+LIBRARY kernel32.dll
+
+EXPORTS
+AcquireSRWLockExclusive@4=ntdll.RtlAcquireSRWLockExclusive
+AcquireSRWLockShared@4=ntdll.RtlAcquireSRWLockShared
+ActivateActCtx@8
+AddAtomA@4
+AddAtomW@4
+AddConsoleAliasA@12
+AddConsoleAliasW@12
+AddLocalAlternateComputerNameA@8
+AddLocalAlternateComputerNameW@8
+AddRefActCtx@4
+AddVectoredContinueHandler@8=ntdll.RtlAddVectoredContinueHandler
+AddVectoredExceptionHandler@8=ntdll.RtlAddVectoredExceptionHandler
+AllocConsole@0
+AllocateUserPhysicalPages@12
+AreFileApisANSI@0
+AssignProcessToJobObject@8
+AttachConsole@4
+BackupRead@28
+BackupSeek@24
+BackupWrite@28
+BaseCheckAppcompatCache@16
+BaseCheckRunApp@40
+BaseCleanupAppcompatCache@0
+BaseCleanupAppcompatCacheSupport@4
+BaseDumpAppcompatCache@0
+BaseFlushAppcompatCache@0
+BaseInitAppcompatCache@0
+BaseInitAppcompatCacheSupport@0
+BaseProcessInitPostImport@0
+BaseQueryModuleData@20
+BaseUpdateAppcompatCache@12
+BasepCheckWinSaferRestrictions@24
+Beep@8
+BeginUpdateResourceA@8
+BeginUpdateResourceW@8
+BindIoCompletionCallback@12
+BuildCommDCBA@8
+BuildCommDCBAndTimeoutsA@12
+BuildCommDCBAndTimeoutsW@12
+BuildCommDCBW@8
+CallNamedPipeA@28
+CallNamedPipeW@28
+CancelDeviceWakeupRequest@4
+CancelIo@4
+CancelIoEx@8
+CancelSynchronousIo@4
+CancelTimerQueueTimer@8
+CancelWaitableTimer@4
+ChangeTimerQueueTimer@16
+CheckNameLegalDOS8Dot3A@20
+CheckNameLegalDOS8Dot3W@20
+CheckRemoteDebuggerPresent@8
+ClearCommBreak@4
+ClearCommError@12
+CloseConsoleHandle@4
+CloseHandle@4
+CloseProfileUserMapping@0
+CmdBatNotification@4
+CommConfigDialogA@12
+CommConfigDialogW@12
+CompareFileTime@8
+CompareStringA@24
+CompareStringW@24
+ConnectNamedPipe@8
+ConsoleMenuControl@12
+ContinueDebugEvent@12
+ConvertDefaultLocale@4
+ConvertFiberToThread@0
+ConvertThreadToFiber@4
+ConvertThreadToFiberEx@8
+CopyFileA@12
+CopyFileExA@24
+CopyFileExW@24
+CopyFileW@12
+CopyLZFile@8=LZCopy@8
+CreateActCtxA@4
+CreateActCtxW@4
+CreateConsoleScreenBuffer@20
+CreateDirectoryA@8
+CreateDirectoryExA@12
+CreateDirectoryExW@12
+CreateDirectoryW@8
+CreateEventA@16
+CreateEventExA@16
+CreateEventExW@16
+CreateEventW@16
+CreateFiber@12
+CreateFiberEx@20
+CreateFileA@28
+CreateFileMappingA@24
+CreateFileMappingW@24
+CreateFileW@28
+CreateHardLinkA@12
+CreateHardLinkW@12
+CreateIoCompletionPort@16
+CreateJobObjectA@8
+CreateJobObjectW@8
+CreateJobSet@12
+CreateMailslotA@16
+CreateMailslotW@16
+CreateMemoryResourceNotification@4
+CreateMutexA@12
+CreateMutexExA@16
+CreateMutexExW@16
+CreateMutexW@12
+CreateNamedPipeA@32
+CreateNamedPipeW@32
+CreateNlsSecurityDescriptor@12
+CreatePipe@16
+CreateProcessA@40
+CreateProcessInternalA@48
+CreateProcessInternalW@48
+CreateProcessInternalWSecure@0
+CreateProcessW@40
+CreateRemoteThread@28
+CreateSemaphoreA@16
+CreateSemaphoreExA@24
+CreateSemaphoreExW@24
+CreateSemaphoreW@16
+CreateSocketHandle@0
+CreateSymbolicLinkA@12
+CreateSymbolicLinkW@12
+CreateTapePartition@16
+CreateThread@24
+CreateTimerQueue@0
+CreateTimerQueueTimer@28
+CreateToolhelp32Snapshot@8
+CreateVirtualBuffer@12
+CreateWaitableTimerA@12
+CreateWaitableTimerExA@16
+CreateWaitableTimerExW@16
+CreateWaitableTimerW@12
+DeactivateActCtx@8
+DebugActiveProcess@4
+DebugActiveProcessStop@4
+DebugBreak@0=ntdll.DbgBreakPoint
+DebugBreakProcess@4
+DebugSetProcessKillOnExit@4
+DecodePointer@4=ntdll.RtlDecodePointer
+DecodeSystemPointer@4=ntdll.RtlDecodeSystemPointer
+DefineDosDeviceA@12
+DefineDosDeviceW@12
+DelayLoadFailureHook@8
+DeleteAtom@4
+DeleteCriticalSection@4=ntdll.RtlDeleteCriticalSection
+DeleteFiber@4
+DeleteFileA@4
+DeleteFileW@4
+DeleteTimerQueue@4
+DeleteTimerQueueEx@8
+DeleteTimerQueueTimer@12
+DeleteVolumeMountPointA@4
+DeleteVolumeMountPointW@4
+DeviceIoControl@32
+DisableThreadLibraryCalls@4
+DisconnectNamedPipe@4
+DnsHostnameToComputerNameA@12
+DnsHostnameToComputerNameW@12
+DosDateTimeToFileTime@12
+DosPathToSessionPathA@12
+DosPathToSessionPathW@12
+DuplicateConsoleHandle@16
+DuplicateHandle@28
+EncodePointer@4=ntdll.RtlEncodePointer
+EncodeSystemPointer@4=ntdll.RtlEncodeSystemPointer
+EndUpdateResourceA@8
+EndUpdateResourceW@8
+EnterCriticalSection@4=ntdll.RtlEnterCriticalSection
+EnumCalendarInfoA@16
+EnumCalendarInfoExA@16
+EnumCalendarInfoExW@16
+EnumCalendarInfoW@16
+EnumDateFormatsA@12
+EnumDateFormatsExA@12
+EnumDateFormatsExW@12
+EnumDateFormatsW@12
+EnumLanguageGroupLocalesA@16
+EnumLanguageGroupLocalesW@16
+EnumResourceLanguagesA@20
+EnumResourceLanguagesW@20
+EnumResourceNamesA@16
+EnumResourceNamesW@16
+EnumResourceTypesA@12
+EnumResourceTypesW@12
+EnumSystemCodePagesA@8
+EnumSystemCodePagesW@8
+EnumSystemGeoID@12
+EnumSystemLanguageGroupsA@12
+EnumSystemLanguageGroupsW@12
+EnumSystemLocalesA@8
+EnumSystemLocalesW@8
+EnumTimeFormatsA@12
+EnumTimeFormatsW@12
+EnumUILanguagesA@12
+EnumUILanguagesW@12
+EnumerateLocalComputerNamesA@16
+EnumerateLocalComputerNamesW@16
+EraseTape@12
+EscapeCommFunction@8
+ExitProcess@4
+ExitThread@4
+ExitVDM@8
+ExpandEnvironmentStringsA@12
+ExpandEnvironmentStringsW@12
+ExpungeConsoleCommandHistoryA@4
+ExpungeConsoleCommandHistoryW@4
+ExtendVirtualBuffer@8
+FatalAppExitA@8
+FatalAppExitW@8
+FatalExit@4
+FileTimeToDosDateTime@12
+FileTimeToLocalFileTime@8
+FileTimeToSystemTime@8
+FillConsoleOutputAttribute@20
+FillConsoleOutputCharacterA@20
+FillConsoleOutputCharacterW@20
+FindActCtxSectionGuid@20
+FindActCtxSectionStringA@20
+FindActCtxSectionStringW@20
+FindAtomA@4
+FindAtomW@4
+FindClose@4
+FindCloseChangeNotification@4
+FindFirstChangeNotificationA@12
+FindFirstChangeNotificationW@12
+FindFirstFileA@8
+FindFirstFileExA@24
+FindFirstFileExW@24
+FindFirstFileW@8
+FindFirstStreamW@16
+FindFirstVolumeA@8
+FindFirstVolumeMountPointA@12
+FindFirstVolumeMountPointW@12
+FindFirstVolumeW@8
+FindNextChangeNotification@4
+FindNextFileA@8
+FindNextFileW@8
+FindNextVolumeA@12
+FindNextVolumeMountPointA@12
+FindNextVolumeMountPointW@12
+FindNextVolumeW@12
+FindResourceA@12
+FindResourceExA@16
+FindResourceExW@16
+FindResourceW@12
+FindVolumeClose@4
+FindVolumeMountPointClose@4
+FlushConsoleInputBuffer@4
+FlushFileBuffers@4
+FlushInstructionCache@12
+FlushViewOfFile@8
+FoldStringA@20
+FoldStringW@20
+FormatMessageA@28
+FormatMessageW@28
+FreeConsole@0
+FreeEnvironmentStringsA@4
+FreeEnvironmentStringsW@4
+FreeLibrary@4
+FreeLibraryAndExitThread@8
+FreeResource@4
+FreeUserPhysicalPages@12
+FreeVirtualBuffer@4
+GenerateConsoleCtrlEvent@8
+GetACP@0
+GetAtomNameA@12
+GetAtomNameW@12
+GetBinaryType@8=GetBinaryTypeA@8
+GetBinaryTypeA@8
+GetBinaryTypeW@8
+GetCPFileNameFromRegistry@12
+GetCPInfo@8
+GetCPInfoExA@12
+GetCPInfoExW@12
+GetCalendarInfoA@24
+GetCalendarInfoW@24
+GetComPlusPackageInstallStatus@0
+GetCommConfig@12
+GetCommMask@8
+GetCommModemStatus@8
+GetCommProperties@8
+GetCommState@8
+GetCommTimeouts@8
+GetCommandLineA@0
+GetCommandLineW@0
+GetCompressedFileSizeA@8
+GetCompressedFileSizeW@8
+GetComputerNameA@8
+GetComputerNameExA@12
+GetComputerNameExW@12
+GetComputerNameW@8
+GetConsoleAliasA@16
+GetConsoleAliasExesA@8
+GetConsoleAliasExesLengthA@0
+GetConsoleAliasExesLengthW@0
+GetConsoleAliasExesW@8
+GetConsoleAliasW@16
+GetConsoleAliasesA@12
+GetConsoleAliasesLengthA@4
+GetConsoleAliasesLengthW@4
+GetConsoleAliasesW@12
+GetConsoleCP@0
+GetConsoleCharType@12
+GetConsoleCommandHistoryA@12
+GetConsoleCommandHistoryLengthA@4
+GetConsoleCommandHistoryLengthW@4
+GetConsoleCommandHistoryW@12
+GetConsoleCursorInfo@8
+GetConsoleCursorMode@12
+GetConsoleDisplayMode@4
+GetConsoleFontInfo@16
+GetConsoleFontSize@8
+GetConsoleHardwareState@12
+GetConsoleHistoryInfo@4
+GetConsoleInputExeNameA@8
+GetConsoleInputExeNameW@8
+GetConsoleInputWaitHandle@0
+GetConsoleKeyboardLayoutNameA@4
+GetConsoleKeyboardLayoutNameW@4
+GetConsoleMode@8
+GetConsoleNlsMode@8
+GetConsoleOutputCP@0
+GetConsoleProcessList@8
+GetConsoleScreenBufferInfo@8
+GetConsoleSelectionInfo@4
+GetConsoleTitleA@8
+GetConsoleTitleW@8
+GetConsoleWindow@0
+GetCurrencyFormatA@24
+GetCurrencyFormatW@24
+GetCurrentActCtx@4
+GetCurrentConsoleFont@12
+GetCurrentDirectoryA@8
+GetCurrentDirectoryW@8
+GetCurrentProcess@0
+GetCurrentProcessId@0
+GetCurrentProcessorNumber@0=ntdll.RtlGetCurrentProcessorNumber
+GetCurrentThread@0
+GetCurrentThreadId@0
+GetDateFormatA@24
+GetDateFormatW@24
+GetDefaultCommConfigA@12
+GetDefaultCommConfigW@12
+GetDefaultSortkeySize@4
+GetDevicePowerState@8
+GetDiskFreeSpaceA@20
+GetDiskFreeSpaceExA@16
+GetDiskFreeSpaceExW@16
+GetDiskFreeSpaceW@20
+GetDllDirectoryA@8
+GetDllDirectoryW@8
+GetDriveTypeA@4
+GetDriveTypeW@4
+GetEnvironmentStrings@0
+GetEnvironmentStringsA@0=GetEnvironmentStrings@0
+GetEnvironmentStringsW@0
+GetEnvironmentVariableA@12
+GetEnvironmentVariableW@12
+GetErrorMode@0
+GetExitCodeProcess@8
+GetExitCodeThread@8
+GetExpandedNameA@8
+GetExpandedNameW@8
+GetFileAttributesA@4
+GetFileAttributesByHandle@12
+GetFileAttributesExA@12
+GetFileAttributesExW@12
+GetFileAttributesW@4
+GetFileBandwidthReservation@24
+GetFileInformationByHandle@8
+GetFileSize@8
+GetFileSizeEx@8
+GetFileTime@16
+GetFileType@4
+GetFinalPathNameByHandleA@16
+GetFinalPathNameByHandleW@16
+GetFirmwareEnvironmentVariableA@16
+GetFirmwareEnvironmentVariableW@16
+GetFullPathNameA@16
+GetFullPathNameW@16
+GetGeoInfoA@20
+GetGeoInfoW@20
+GetHandleContext@4
+GetHandleInformation@8
+GetLargePageMinimum@0
+GetLargestConsoleWindowSize@4
+GetLastError@0=ntdll.RtlGetLastWin32Error
+GetLinguistLangSize@4
+GetLocalTime@4
+GetLocaleInfoA@16
+GetLocaleInfoEx@16
+GetLocaleInfoW@16
+GetLogicalDriveStringsA@8
+GetLogicalDriveStringsW@8
+GetLogicalDrives@0
+GetLogicalProcessorInformation@8
+GetLongPathNameA@12
+GetLongPathNameW@12
+GetMailslotInfo@20
+GetModuleFileNameA@12
+GetModuleFileNameW@12
+GetModuleHandleA@4
+GetModuleHandleExA@12
+GetModuleHandleExW@12
+GetModuleHandleW@4
+GetNamedPipeHandleStateA@28
+GetNamedPipeHandleStateW@28
+GetNamedPipeInfo@20
+GetNativeSystemInfo@4
+GetNextVDMCommand@4
+GetNlsSectionName@24
+GetNumaAvailableMemory@12
+GetNumaAvailableMemoryNode@8
+GetNumaHighestNodeNumber@4
+GetNumaNodeProcessorMask@8
+GetNumaProcessorMap@12
+GetNumaProcessorNode@8
+GetNumberFormatA@24
+GetNumberFormatW@24
+GetNumberOfConsoleFonts@0
+GetNumberOfConsoleInputEvents@8
+GetNumberOfConsoleMouseButtons@4
+GetOEMCP@0
+GetOverlappedResult@16
+GetPriorityClass@4
+GetPrivateProfileIntA@16
+GetPrivateProfileIntW@16
+GetPrivateProfileSectionA@16
+GetPrivateProfileSectionNamesA@12
+GetPrivateProfileSectionNamesW@12
+GetPrivateProfileSectionW@16
+GetPrivateProfileStringA@24
+GetPrivateProfileStringW@24
+GetPrivateProfileStructA@20
+GetPrivateProfileStructW@20
+GetProcAddress@8
+GetProcessAffinityMask@12
+GetProcessHandleCount@8
+GetProcessHeap@0
+GetProcessHeaps@8
+GetProcessId@4
+GetProcessIoCounters@8
+GetProcessPriorityBoost@8
+GetProcessShutdownParameters@8
+GetProcessTimes@20
+GetProcessVersion@4
+GetProcessWorkingSetSize@12
+GetProfileIntA@12
+GetProfileIntW@12
+GetProfileSectionA@12
+GetProfileSectionW@12
+GetProfileStringA@20
+GetProfileStringW@20
+GetQueuedCompletionStatus@20
+GetShortPathNameA@12
+GetShortPathNameW@12
+GetStartupInfoA@4
+GetStartupInfoW@4
+GetStdHandle@4
+GetStringTypeA@20
+GetStringTypeExA@20
+GetStringTypeExW@20
+GetStringTypeW@16
+GetSystemDefaultLCID@0
+GetSystemDefaultLangID@0
+GetSystemDefaultUILanguage@0
+GetSystemDirectoryA@8
+GetSystemDirectoryW@8
+GetSystemInfo@4
+GetSystemPowerStatus@4
+GetSystemRegistryQuota@8
+GetSystemTime@4
+GetSystemTimeAdjustment@12
+GetSystemTimeAsFileTime@4
+GetSystemTimes@12
+GetSystemWindowsDirectoryA@8
+GetSystemWindowsDirectoryW@8
+GetSystemWow64DirectoryA@8
+GetSystemWow64DirectoryW@8
+GetTapeParameters@16
+GetTapePosition@20
+GetTapeStatus@4
+GetTempFileNameA@16
+GetTempFileNameW@16
+GetTempPathA@8
+GetTempPathW@8
+GetThreadContext@8
+GetThreadIOPendingFlag@8
+GetThreadId@4
+GetThreadLocale@0
+GetThreadPriority@4
+GetThreadPriorityBoost@8
+GetThreadSelectorEntry@12
+GetThreadTimes@20
+GetTickCount@0
+GetTickCount64@0
+GetTimeFormatA@24
+GetTimeFormatW@24
+GetTimeZoneInformation@4
+GetUserDefaultLCID@0
+GetUserDefaultLangID@0
+GetUserDefaultUILanguage@0
+GetUserGeoID@4
+GetVDMCurrentDirectories@8
+GetVersion@0
+GetVersionExA@4
+GetVersionExW@4
+GetVolumeInformationA@32
+GetVolumeInformationW@32
+GetVolumeNameForVolumeMountPointA@12
+GetVolumeNameForVolumeMountPointW@12
+GetVolumePathNameA@12
+GetVolumePathNameW@12
+GetVolumePathNamesForVolumeNameA@16
+GetVolumePathNamesForVolumeNameW@16
+GetWindowsDirectoryA@8
+GetWindowsDirectoryW@8
+GetWriteWatch@24
+GlobalAddAtomA@4
+GlobalAddAtomW@4
+GlobalAlloc@8
+GlobalCompact@4
+GlobalDeleteAtom@4
+GlobalFindAtomA@4
+GlobalFindAtomW@4
+GlobalFix@4
+GlobalFlags@4
+GlobalFree@4
+GlobalGetAtomNameA@12
+GlobalGetAtomNameW@12
+GlobalHandle@4
+GlobalLock@4
+GlobalMemoryStatus@4
+GlobalMemoryStatusEx@4
+GlobalReAlloc@12
+GlobalSize@4
+GlobalUnWire@4
+GlobalUnfix@4
+GlobalUnlock@4
+GlobalWire@4
+Heap32First@12
+Heap32ListFirst@8
+Heap32ListNext@8
+Heap32Next@4
+HeapAlloc@12=ntdll.RtlAllocateHeap
+HeapCompact@8
+HeapCreate@12
+HeapCreateTagsW@16
+HeapDestroy@4
+HeapExtend@16
+HeapFree@12=ntdll.RtlFreeHeap
+HeapLock@4
+HeapQueryInformation@20
+HeapQueryTagW@20
+HeapReAlloc@16=ntdll.RtlReAllocateHeap
+HeapSetInformation@16
+HeapSize@12=ntdll.RtlSizeHeap
+HeapSummary@12
+HeapUnlock@4
+HeapUsage@20
+HeapValidate@12
+HeapWalk@8
+InitAtomTable@4
+InitializeCriticalSection@4
+InitializeCriticalSectionAndSpinCount@8
+InitializeCriticalSectionEx@12
+InitializeSListHead@4=ntdll.RtlInitializeSListHead
+InitializeSRWLock@4=ntdll.RtlInitializeSRWLock
+InterlockedCompareExchange@12
+InterlockedCompareExchange64@20=ntdll.RtlInterlockedCompareExchange64
+InterlockedDecrement@4
+InterlockedExchange@8
+InterlockedExchangeAdd@8
+InterlockedFlushSList@4=ntdll.RtlInterlockedFlushSList
+InterlockedIncrement@4
+InterlockedPopEntrySList@4=ntdll.RtlInterlockedPopEntrySList
+InterlockedPushEntrySList@8=ntdll.RtlInterlockedPushEntrySList
+InvalidateConsoleDIBits@8
+IsBadCodePtr@4
+IsBadHugeReadPtr@8
+IsBadHugeWritePtr@8
+IsBadReadPtr@8
+IsBadStringPtrA@8
+IsBadStringPtrW@8
+IsBadWritePtr@8
+IsDBCSLeadByte@4
+IsDBCSLeadByteEx@8
+IsDebuggerPresent@0
+IsProcessInJob@12
+IsProcessorFeaturePresent@4
+IsSystemResumeAutomatic@0
+IsThreadAFiber@0
+IsValidCodePage@4
+IsValidLanguageGroup@8
+IsValidLocale@8
+IsValidUILanguage@4
+IsWow64Process@8
+LCIDToLocaleName@16
+LCMapStringA@24
+LCMapStringW@24
+LZClose@4
+LZCopy@8
+LZDone@0
+LZInit@4
+LZOpenFileA@12
+LZOpenFileW@12
+LZRead@12
+LZSeek@12
+LZStart@0
+LeaveCriticalSection@4=ntdll.RtlLeaveCriticalSection
+LoadLibraryA@4
+LoadLibraryExA@12
+LoadLibraryExW@12
+LoadLibraryW@4
+LoadModule@8
+LoadResource@8
+LocalAlloc@8
+LocalCompact@4
+LocalFileTimeToFileTime@8
+LocalFlags@4
+LocalFree@4
+LocalHandle@4
+LocalLock@4
+LocalReAlloc@12
+LocalShrink@8
+LocalSize@4
+LocalUnlock@4
+LockFile@20
+LockFileEx@24
+LockResource@4
+MapUserPhysicalPages@12
+MapUserPhysicalPagesScatter@12
+MapViewOfFile@20
+MapViewOfFileEx@24
+Module32First@8
+Module32FirstW@8
+Module32Next@8
+Module32NextW@8
+MoveFileA@8
+MoveFileExA@12
+MoveFileExW@12
+MoveFileW@8
+MoveFileWithProgressA@20
+MoveFileWithProgressW@20
+MulDiv@12
+MultiByteToWideChar@24
+NeedCurrentDirectoryForExePathA@4
+NeedCurrentDirectoryForExePathW@4
+NlsConvertIntegerToString@20
+NlsGetCacheUpdateCount@0
+NumaVirtualQueryNode@16
+OpenConsoleW@16
+OpenDataFile@8
+OpenEventA@12
+OpenEventW@12
+OpenFile@12
+OpenFileMappingA@12
+OpenFileMappingW@12
+OpenJobObjectA@12
+OpenJobObjectW@12
+OpenMutexA@12
+OpenMutexW@12
+OpenProcess@12
+OpenProfileUserMapping@0
+OpenSemaphoreA@12
+OpenSemaphoreW@12
+OpenThread@12
+OpenWaitableTimerA@12
+OpenWaitableTimerW@12
+OutputDebugStringA@4
+OutputDebugStringW@4
+PeekConsoleInputA@16
+PeekConsoleInputW@16
+PeekNamedPipe@24
+PostQueuedCompletionStatus@16
+PrepareTape@12
+PrivCopyFileExW@24
+PrivMoveFileIdentityW@12
+Process32First@8
+Process32FirstW@8
+Process32Next@8
+Process32NextW@8
+ProcessIdToSessionId@8
+PulseEvent@4
+PurgeComm@8
+QueryActCtxW@28
+QueryDepthSList@4=ntdll.RtlQueryDepthSList
+QueryDosDeviceA@12
+QueryDosDeviceW@12
+QueryFullProcessImageNameA@16
+QueryFullProcessImageNameW@16
+QueryInformationJobObject@20
+QueryMemoryResourceNotification@8
+QueryPerformanceCounter@4
+QueryPerformanceFrequency@4
+QueryWin31IniFilesMappedToRegistry@16
+QueueUserAPC@12
+QueueUserWorkItem@12
+RaiseException@16
+ReOpenFile@16
+ReadConsoleA@20
+ReadConsoleInputA@16
+ReadConsoleInputExA@20
+ReadConsoleInputExW@20
+ReadConsoleInputW@16
+ReadConsoleOutputA@20
+ReadConsoleOutputAttribute@20
+ReadConsoleOutputCharacterA@20
+ReadConsoleOutputCharacterW@20
+ReadConsoleOutputW@20
+ReadConsoleW@20
+ReadDirectoryChangesW@32
+ReadFile@20
+ReadFileEx@20
+ReadFileScatter@20
+ReadProcessMemory@20
+RegisterApplicationRestart@8
+RegisterConsoleIME@8
+RegisterConsoleOS2@4
+RegisterConsoleVDM@44
+RegisterWaitForInputIdle@4
+RegisterWaitForSingleObject@24
+RegisterWaitForSingleObjectEx@20
+RegisterWowBaseHandlers@4
+RegisterWowExec@4
+ReleaseActCtx@4
+ReleaseMutex@4
+ReleaseSRWLockExclusive@4=ntdll.RtlReleaseSRWLockExclusive
+ReleaseSRWLockShared@4=ntdll.RtlReleaseSRWLockShared
+ReleaseSemaphore@12
+RemoveDirectoryA@4
+RemoveDirectoryW@4
+RemoveLocalAlternateComputerNameA@8
+RemoveLocalAlternateComputerNameW@8
+RemoveVectoredContinueHandler@4=ntdll.RtlRemoveVectoredContinueHandler
+RemoveVectoredExceptionHandler@4=ntdll.RtlRemoveVectoredExceptionHandler
+ReplaceFile@24=ReplaceFileW@24
+ReplaceFileA@24
+ReplaceFileW@24
+RequestDeviceWakeup@4
+RequestWakeupLatency@4
+ResetEvent@4
+ResetWriteWatch@8
+RestoreLastError@4=ntdll.RtlRestoreLastWin32Error
+ResumeThread@4
+RtlCaptureContext@4=ntdll.RtlCaptureContext
+RtlCaptureStackBackTrace@16=ntdll.RtlCaptureStackBackTrace
+RtlFillMemory@12=ntdll.RtlFillMemory
+RtlMoveMemory@12=ntdll.RtlMoveMemory
+RtlUnwind@16=ntdll.RtlUnwind
+RtlZeroMemory@8=ntdll.RtlZeroMemory
+ScrollConsoleScreenBufferA@20
+ScrollConsoleScreenBufferW@20
+SearchPathA@24
+SearchPathW@24
+SetCPGlobal@4
+SetCalendarInfoA@16
+SetCalendarInfoW@16
+SetClientTimeZoneInformation@4
+SetComPlusPackageInstallStatus@4
+SetCommBreak@4
+SetCommConfig@12
+SetCommMask@8
+SetCommState@8
+SetCommTimeouts@8
+SetComputerNameA@4
+SetComputerNameExA@8
+SetComputerNameExW@8
+SetComputerNameW@4
+SetConsoleActiveScreenBuffer@4
+SetConsoleCP@4
+SetConsoleCommandHistoryMode@4
+SetConsoleCtrlHandler@8
+SetConsoleCursor@8
+SetConsoleCursorInfo@8
+SetConsoleCursorMode@12
+SetConsoleCursorPosition@8
+SetConsoleDisplayMode@12
+SetConsoleFont@8
+SetConsoleHardwareState@12
+SetConsoleHistoryInfo@4
+SetConsoleIcon@4
+SetConsoleInputExeNameA@4
+SetConsoleInputExeNameW@4
+SetConsoleKeyShortcuts@16
+SetConsoleLocalEUDC@16
+SetConsoleMaximumWindowSize@8
+SetConsoleMenuClose@4
+SetConsoleMode@8
+SetConsoleNlsMode@8
+SetConsoleNumberOfCommandsA@8
+SetConsoleNumberOfCommandsW@8
+SetConsoleOS2OemFormat@4
+SetConsoleOutputCP@4
+SetConsolePalette@12
+SetConsoleScreenBufferSize@8
+SetConsoleTextAttribute@8
+SetConsoleTitleA@4
+SetConsoleTitleW@4
+SetConsoleWindowInfo@12
+SetCriticalSectionSpinCount@8=ntdll.RtlSetCriticalSectionSpinCount
+SetCurrentDirectoryA@4
+SetCurrentDirectoryW@4
+SetDefaultCommConfigA@12
+SetDefaultCommConfigW@12
+SetDllDirectoryA@4
+SetDllDirectoryW@4
+SetEndOfFile@4
+SetEnvironmentVariableA@8
+SetEnvironmentVariableW@8
+SetErrorMode@4
+SetEvent@4
+SetFileApisToANSI@0
+SetFileApisToOEM@0
+SetFileAttributesA@8
+SetFileAttributesW@8
+SetFilePointer@16
+SetFilePointerEx@20
+SetFileShortNameA@8
+SetFileShortNameW@8
+SetFileTime@16
+SetFileValidData@12
+SetFirmwareEnvironmentVariableA@16
+SetFirmwareEnvironmentVariableW@16
+SetHandleContext@8
+SetHandleCount@4
+SetHandleInformation@12
+SetInformationJobObject@16
+SetLastConsoleEventActive@0
+SetLastError@4=ntdll.RtlSetLastWin32Error
+SetLocalPrimaryComputerNameA@8
+SetLocalPrimaryComputerNameW@8
+SetLocalTime@4
+SetLocaleInfoA@12
+SetLocaleInfoW@12
+SetMailslotInfo@8
+SetMessageWaitingIndicator@8
+SetNamedPipeHandleState@16
+SetPriorityClass@8
+SetProcessAffinityMask@8
+SetProcessPriorityBoost@8
+SetProcessShutdownParameters@8
+SetProcessWorkingSetSize@12
+SetStdHandle@8
+SetSystemPowerState@8
+SetSystemTime@4
+SetSystemTimeAdjustment@8
+SetTapeParameters@12
+SetTapePosition@24
+SetTermsrvAppInstallMode@4
+SetThreadAffinityMask@8
+SetThreadContext@8
+SetThreadExecutionState@4
+SetThreadIdealProcessor@8
+SetThreadLocale@4
+SetThreadPriority@8
+SetThreadPriorityBoost@8
+SetThreadUILanguage@4
+SetTimeZoneInformation@4
+SetTimerQueueTimer@24
+SetUnhandledExceptionFilter@4
+SetUserGeoID@4
+SetVDMCurrentDirectories@8
+SetVolumeLabelA@8
+SetVolumeLabelW@8
+SetVolumeMountPointA@8
+SetVolumeMountPointW@8
+SetWaitableTimer@24
+SetupComm@12
+ShowConsoleCursor@8
+SignalObjectAndWait@16
+SizeofResource@8
+Sleep@4
+SleepEx@8
+SuspendThread@4
+SwitchToFiber@4
+SwitchToThread@0
+SystemTimeToFileTime@8
+SystemTimeToTzSpecificLocalTime@12
+TerminateJobObject@8
+TerminateProcess@8
+TerminateThread@8
+TermsrvAppInstallMode@0
+Thread32First@8
+Thread32Next@8
+TlsAlloc@0
+TlsFree@4
+TlsGetValue@4
+TlsSetValue@8
+Toolhelp32ReadProcessMemory@20
+TransactNamedPipe@28
+TransmitCommChar@8
+TrimVirtualBuffer@4
+TryEnterCriticalSection@4=ntdll.RtlTryEnterCriticalSection
+TzSpecificLocalTimeToSystemTime@12
+UTRegister@28
+UTUnRegister@4
+UnhandledExceptionFilter@4
+UnlockFile@20
+UnlockFileEx@20
+UnmapViewOfFile@4
+UnregisterConsoleIME@0
+UnregisterWait@4
+UnregisterWaitEx@8
+UpdateResourceA@24
+UpdateResourceW@24
+VDMConsoleOperation@8
+VDMOperationStarted@4
+VerLanguageNameA@12
+VerLanguageNameW@12
+VerSetConditionMask@16=ntdll.VerSetConditionMask
+VerifyConsoleIoHandle@4
+VerifyVersionInfoA@16
+VerifyVersionInfoW@16
+VirtualAlloc@16
+VirtualAllocEx@20
+VirtualBufferExceptionHandler@12
+VirtualFree@12
+VirtualFreeEx@16
+VirtualLock@8
+VirtualProtect@16
+VirtualProtectEx@20
+VirtualQuery@12
+VirtualQueryEx@16
+VirtualUnlock@8
+WaitCommEvent@12
+WaitForDebugEvent@8
+WaitForMultipleObjects@16
+WaitForMultipleObjectsEx@20
+WaitForSingleObject@8
+WaitForSingleObjectEx@12
+WaitNamedPipeA@8
+WaitNamedPipeW@8
+WakeAllConditionVariable@4=ntdll.RtlWakeAllConditionVariable
+WakeConditionVariable@4=ntdll.RtlWakeConditionVariable
+WideCharToMultiByte@32
+WinExec@8
+Wow64DisableWow64FsRedirection@4
+Wow64EnableWow64FsRedirection@4
+Wow64RevertWow64FsRedirection@4
+WriteConsoleA@20
+WriteConsoleInputA@16
+WriteConsoleInputVDMA@16
+WriteConsoleInputVDMW@16
+WriteConsoleInputW@16
+WriteConsoleOutputA@20
+WriteConsoleOutputAttribute@20
+WriteConsoleOutputCharacterA@20
+WriteConsoleOutputCharacterW@20
+WriteConsoleOutputW@20
+WriteConsoleW@20
+WriteFile@20
+WriteFileEx@20
+WriteFileGather@20
+WritePrivateProfileSectionA@12
+WritePrivateProfileSectionW@12
+WritePrivateProfileStringA@16
+WritePrivateProfileStringW@16
+WritePrivateProfileStructA@20
+WritePrivateProfileStructW@20
+WriteProcessMemory@20
+WriteProfileSectionA@8
+WriteProfileSectionW@8
+WriteProfileStringA@12
+WriteProfileStringW@12
+WriteTapemark@16
+WTSGetActiveConsoleSessionId@0
+ZombifyActCtx@4
+_hread@12
+_hwrite@12
+_lclose@4
+_lcreat@8
+_llseek@12
+_lopen@8
+_lread@12=_hread@12
+_lwrite@12=_hwrite@12
+lstrcat@8=lstrcatA@8
+lstrcatA@8
+lstrcatW@8
+lstrcmp@8=lstrcmpA@8
+lstrcmpA@8
+lstrcmpW@8
+lstrcmpi@8=lstrcmpiA@8
+lstrcmpiA@8
+lstrcmpiW@8
+lstrcpy@8=lstrcpyA@8
+lstrcpyA@8
+lstrcpyW@8
+lstrcpyn@12=lstrcpynA@12
+lstrcpynA@12
+lstrcpynW@12
+lstrlen@4=lstrlenA@4
+lstrlenA@4
+lstrlenW@4
diff --git a/reactos/dll/win32/kernel32/kernel32.pspec b/reactos/dll/win32/kernel32/kernel32.pspec
deleted file mode 100644 (file)
index f0130a9..0000000
+++ /dev/null
@@ -1,1459 +0,0 @@
-#undef i386
-
-@ stdcall AcquireSRWLockExclusive(ptr) ntdll.RtlAcquireSRWLockExclusive
-@ stdcall AcquireSRWLockShared(ptr) ntdll.RtlAcquireSRWLockShared
-@ stdcall ActivateActCtx(ptr ptr)
-@ stdcall AddAtomA(str)
-@ stdcall AddAtomW(wstr)
-@ stdcall AddConsoleAliasA(str str str) ;check
-@ stdcall AddConsoleAliasW(wstr wstr wstr) ;check
-;@ stdcall -arch=x86_64 AddIntegrityLabelToBoundaryDescriptor ; Win 7
-@ stdcall AddLocalAlternateComputerNameA(str ptr)
-@ stdcall AddLocalAlternateComputerNameW(wstr ptr)
-@ stdcall AddRefActCtx(ptr)
-;@ stdcall AddSIDToBoundaryDescriptor ; Win 7
-;@ stdcall AddSecureMemoryCacheCallback ; Win 7
-@ stdcall AddVectoredContinueHandler(long ptr) ntdll.RtlAddVectoredContinueHandler
-@ stdcall AddVectoredExceptionHandler(long ptr) ntdll.RtlAddVectoredExceptionHandler
-;@ stdcall AdjustCalendarDate ; Win 7
-@ stdcall AllocConsole()
-@ stub AllocLSCallback ; missing in XP SP3 and 2003 R2 and Win 7
-@ stdcall AllocateUserPhysicalPages(long ptr ptr)
-;@ stdcall AllocateUserPhysicalPagesNuma ; Win 7
-;@ stdcall ApplicationRecoveryFinished ; Win 7
-;@ stdcall ApplicationRecoveryInProgress ; Win 7
-@ stdcall AreFileApisANSI()
-@ stdcall AssignProcessToJobObject(ptr ptr)
-@ stdcall AttachConsole(long)
-@ stdcall BackupRead(ptr ptr long ptr long long ptr)
-@ stdcall BackupSeek(ptr long long ptr ptr ptr)
-@ stdcall BackupWrite(ptr ptr long ptr long long ptr)
-@ stdcall BaseCheckAppcompatCache(long long long ptr) ;check
-;@ stdcall BaseCheckAppcompatCacheEx ; Win7
-@ stub BaseCheckRunApp
-@ stdcall BaseCleanupAppcompatCache() ; missing in Win 7
-@ stdcall BaseCleanupAppcompatCacheSupport(ptr)
-;@ stdcall BaseDllReadWriteIniFile ; Win 7
-@ stdcall BaseDumpAppcompatCache()
-@ stdcall BaseFlushAppcompatCache()
-;@ stdcall BaseFormatObjectAttributes ; Win 7
-;@ stdcall BaseFormatTimeOut ; Win 7
-;@ stdcall BaseGenerateAppCompatData ; Win 7
-;@ stdcall BaseGetNamedObjectDirectory ; Win 7
-@ stdcall BaseInitAppcompatCache() ; missing in Win 7
-@ stdcall BaseInitAppcompatCacheSupport()
-;@ stdcall BaseIsAppcompatInfrastructureDisabled ; Win 7
-@ stdcall BaseProcessInitPostImport() ; missing in Win 7
-@ stdcall BaseQueryModuleData(str str ptr ptr ptr) ;check
-;@ stdcall BaseThreadInitThunk ; Win 7
-;@ stdcall BaseSetLastNTError ; Win 7, not 64 bit
-@ stdcall BaseUpdateAppcompatCache(long long long)
-;@ stdcall BaseVerifyUnicodeString ; Win 7
-;@ stdcall Basep8BitStringToDynamicUnicodeString ; Win 7
-;@ stdcall BasepAllocateActivationContextActivationBlock ; Win 7
-;@ stdcall BasepAnsiStringToDynamicUnicodeString ; Win 7
-;@ stdcall BasepCheckAppCompat ; Win 7
-;@ stdcall BasepCheckBadapp ; Win 7
-@ stub BasepCheckWinSaferRestrictions
-@ stub BasepDebugDump ; missing in XP SP3 and Win 7
-;@ stdcall BasepFreeActivationContextActivationBlock ; Win 7
-;@ stdcall BasepFreeAppCompatData ; Win 7
-;@ stdcall BasepMapModuleHandle ; Win 7
-@ stdcall Beep(long long)
-@ stdcall BeginUpdateResourceA(str long)
-@ stdcall BeginUpdateResourceW(wstr long)
-@ stdcall BindIoCompletionCallback(long ptr long)
-@ stdcall BuildCommDCBA(str ptr)
-@ stdcall BuildCommDCBAndTimeoutsA(str ptr ptr)
-@ stdcall BuildCommDCBAndTimeoutsW(wstr ptr ptr)
-@ stdcall BuildCommDCBW(wstr ptr)
-@ stdcall CallNamedPipeA(str ptr long ptr long ptr long)
-@ stdcall CallNamedPipeW(wstr ptr long ptr long ptr long)
-;@ stdcall CallbackMayRunLong ; Win 7
-@ stdcall CancelDeviceWakeupRequest(long)
-@ stdcall CancelIo(long)
-@ stdcall CancelIoEx(long ptr)
-@ stdcall CancelSynchronousIo(long)
-;@ stdcall CancelThreadpoolIo(ptr) ntdll.TpCancelAsyncIoOperation; Win 7
-@ stdcall CancelTimerQueueTimer(long long)
-@ stdcall CancelWaitableTimer(long)
-@ stdcall ChangeTimerQueueTimer(ptr ptr long long)
-;@ stdcall CheckElevation ; Win 7
-;@ stdcall CheckElevationEnabled ; Win 7
-;@ stdcall CheckForReadOnlyResource ; Win 7
-@ stdcall CheckNameLegalDOS8Dot3A(str str long long long)
-@ stdcall CheckNameLegalDOS8Dot3W(wstr str long long long)
-@ stdcall CheckRemoteDebuggerPresent(long ptr)
-@ stdcall ClearCommBreak(long)
-@ stdcall ClearCommError(long ptr ptr)
-@ stdcall CloseConsoleHandle(long)
-@ stdcall CloseHandle(long)
-;@ stdcall ClosePrivateNamespace ; Win 7
-@ stdcall CloseProfileUserMapping()
-@ stub CloseSystemHandle ; missing in XP SP3 and Win 7
-;@ stdcall CloseThreadpool(ptr) ntdll.TpReleasePool ; Win 7
-;@ stdcall CloseThreadpoolCleanupGroup(ptr) ntdll.TpReleaseCleanupGroup ; Win 7
-;@ stdcall CloseThreadpoolCleanupGroupMembers(ptr long ptr) ntdll.TpReleaseCleanupGroupMembers ; Win 7
-;@ stdcall CloseThreadpoolIo ntdll.TpReleaseIoCompletion ; Win 7
-;@ stdcall CloseThreadpoolTimer ntdll.TpReleaseTimer ; Win 7
-;@ stdcall CloseThreadpoolWait ntdll.TpReleaseWait ; Win 7
-;@ stdcall CloseThreadpoolWork ntdll.TpReleaseWork ; Win 7
-@ stdcall CmdBatNotification(long)
-@ stdcall CommConfigDialogA(str long ptr)
-@ stdcall CommConfigDialogW(wstr long ptr)
-;@ stdcall CompareCalendarDates ; Win 7
-@ stdcall CompareFileTime(ptr ptr)
-@ stdcall CompareStringA(long long str long str long)
-;@ stdcall CompareStringEx ; Win 7
-;@ stdcall CompareStringOrdinal ; Win 7
-@ stdcall CompareStringW(long long wstr long wstr long)
-@ stdcall ConnectNamedPipe(long ptr)
-@ stdcall ConsoleMenuControl(long long long)
-@ stub ConsoleSubst ; missing in XP SP3 and Win 7
-@ stdcall ContinueDebugEvent(long long long)
-;@ stdcall ConvertCalDateTimeToSystemTime ; Win 7
-@ stdcall ConvertDefaultLocale (long)
-@ stdcall ConvertFiberToThread()
-;@ stdcall ConvertNLSDayOfWeekToWin32DayOfWeek ; Win 7
-;@ stdcall ConvertSystemTimeToCalDateTime ; Win 7
-@ stdcall ConvertThreadToFiber(ptr)
-@ stdcall ConvertThreadToFiberEx(ptr long)
-;@ stdcall CopyExtendedContext ; Win 7
-@ stdcall CopyFileA(str str long)
-@ stdcall CopyFileExA (str str ptr ptr ptr long)
-@ stdcall CopyFileExW (wstr wstr ptr ptr ptr long)
-;@ stdcall CopyFileTransactedA ; Win 7
-;@ stdcall CopyFileTransactedW ; Win 7
-@ stdcall CopyFileW(wstr wstr long)
-@ stdcall CopyLZFile(long long) LZCopy
-@ stdcall CreateActCtxA(ptr)
-@ stdcall CreateActCtxW(ptr)
-;@ stdcall CreateBoundaryDescriptorA ; Win 7
-;@ stdcall CreateBoundaryDescriptorW ; Win 7
-@ stdcall CreateConsoleScreenBuffer(long long ptr long ptr)
-@ stdcall CreateDirectoryA(str ptr)
-@ stdcall CreateDirectoryExA(str str ptr)
-@ stdcall CreateDirectoryExW(wstr wstr ptr)
-;@ stdcall CreateDirectoryTransactedA ; Win 7
-;@ stdcall CreateDirectoryTransactedW ; Win 7
-@ stdcall CreateDirectoryW(wstr ptr)
-@ stdcall CreateEventA(ptr long long str)
-@ stdcall CreateEventExA(ptr str long long)
-@ stdcall CreateEventExW(ptr wstr long long)
-@ stdcall CreateEventW(ptr long long wstr)
-@ stdcall CreateFiber(long ptr ptr)
-@ stdcall CreateFiberEx(long long long ptr ptr)
-@ stdcall CreateFileA(str long long ptr long long long)
-@ stdcall CreateFileMappingA(long ptr long long long str)
-;@ stdcall CreateFileMappingNumaA ; Win 7
-;@ stdcall CreateFileMappingNumaW ; Win 7
-@ stdcall CreateFileMappingW(long ptr long long long wstr)
-;@ stdcall CreateFileTransactedA ; Win 7
-;@ stdcall CreateFileTransactedW ; Win 7
-@ stdcall CreateFileW(wstr long long ptr long long long)
-@ stdcall CreateHardLinkA(str str ptr)
-;@ stdcall CreateHardLinkTransactedA ; Win 7
-;@ stdcall CreateHardLinkTransactedW ; Win 7
-@ stdcall CreateHardLinkW(wstr wstr ptr)
-@ stdcall CreateIoCompletionPort(long long long long)
-@ stdcall CreateJobObjectA(ptr str)
-@ stdcall CreateJobObjectW(ptr wstr)
-@ stdcall CreateJobSet(long ptr long)
-@ stub CreateKernelThread ; missing in XP SP3 and Win 7
-@ stdcall CreateMailslotA(ptr long long ptr)
-@ stdcall CreateMailslotW(ptr long long ptr)
-@ stdcall CreateMemoryResourceNotification(long)
-@ stdcall CreateMutexA(ptr long str)
-@ stdcall CreateMutexExA(ptr str long long)
-@ stdcall CreateMutexExW(ptr wstr long long)
-@ stdcall CreateMutexW(ptr long wstr)
-@ stdcall CreateNamedPipeA(str long long long long long long ptr)
-@ stdcall CreateNamedPipeW(wstr long long long long long long ptr)
-@ stdcall CreateNlsSecurityDescriptor(ptr long long) ; missing in Win 7
-@ stdcall CreatePipe(ptr ptr ptr long)
-;@ stdcall CreatePrivateNamespaceA ; Win 7
-;@ stdcall CreatePrivateNamespaceW ; Win 7
-@ stdcall CreateProcessA(str str ptr ptr long long ptr str ptr ptr)
-;@ stdcall CreateProcessAsUserW ; Win 7
-@ stdcall CreateProcessInternalA(ptr str str ptr ptr long long ptr str ptr ptr long)
-@ stdcall CreateProcessInternalW(ptr wstr wstr ptr ptr long long ptr wstr ptr ptr long)
-@ stdcall CreateProcessInternalWSecure() ; missing in Win 7
-@ stdcall CreateProcessW(wstr wstr ptr ptr long long ptr wstr ptr ptr)
-@ stdcall CreateRemoteThread(long ptr long ptr long long ptr)
-;@ stdcall CreateRemoteThreadEx api-ms-win-core-processthreads-l1-1-0.CreateRemoteThreadEx ; Win 7
-@ stdcall CreateSemaphoreA(ptr long long str)
-@ stdcall CreateSemaphoreExA(ptr long long str long long)
-@ stdcall CreateSemaphoreExW(ptr long long wstr long long)
-@ stdcall CreateSemaphoreW(ptr long long wstr)
-@ stdcall CreateSocketHandle()
-@ stdcall CreateSymbolicLinkA(str str long)
-;@ stdcall CreateSymbolicLinkTransactedA ; Win 7
-;@ stdcall CreateSymbolicLinkTransactedW ; Win 7
-@ stdcall CreateSymbolicLinkW(wstr wstr long)
-@ stdcall CreateTapePartition(long long long long)
-@ stdcall CreateThread(ptr long ptr long long ptr)
-;@ stdcall CreateThreadpool ; Win 7
-;@ stdcall CreateThreadpoolCleanupGroup ; Win 7
-;@ stdcall CreateThreadpoolIo ; Win 7
-;@ stdcall CreateThreadpoolTimer ; Win 7
-;@ stdcall CreateThreadpoolWait ; Win 7
-;@ stdcall CreateThreadpoolWork ; Win 7
-@ stdcall CreateTimerQueue ()
-@ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long)
-@ stdcall CreateToolhelp32Snapshot(long long)
-;@ stdcall arch=x86_64 CreateUmsCompletionList
-;@ stdcall arch=x86_64 CreateUmsThreadContext
-@ stdcall CreateVirtualBuffer(long long long) ; missing in Win 7
-@ stdcall CreateWaitableTimerA(ptr long str)
-@ stdcall CreateWaitableTimerExA(ptr str long long)
-@ stdcall CreateWaitableTimerExW(ptr wstr long long)
-@ stdcall CreateWaitableTimerW(ptr long wstr)
-@ stdcall DeactivateActCtx(long ptr)
-@ stdcall DebugActiveProcess(long)
-@ stdcall DebugActiveProcessStop(long)
-@ stdcall DebugBreak() ntdll.DbgBreakPoint
-@ stdcall DebugBreakProcess(long)
-@ stdcall DebugSetProcessKillOnExit(long)
-@ stdcall DecodePointer(ptr) ntdll.RtlDecodePointer
-@ stdcall DecodeSystemPointer(ptr) ntdll.RtlDecodeSystemPointer
-@ stdcall DefineDosDeviceA(long str str)
-@ stdcall DefineDosDeviceW(long wstr wstr)
-@ stdcall DelayLoadFailureHook(str str)
-@ stdcall DeleteAtom(long)
-;@ stdcall DeleteBoundaryDescriptor ntdll.RtlDeleteBoundaryDescriptor ; Win 7
-@ stdcall DeleteCriticalSection(ptr) ntdll.RtlDeleteCriticalSection
-@ stdcall DeleteFiber(ptr)
-@ stdcall DeleteFileA(str)
-;@ stdcall DeleteFileTransactedA ; Win 7
-;@ stdcall DeleteFileTransactedW ; Win 7
-@ stdcall DeleteFileW(wstr)
-;@ stdcall DeleteProcThreadAttributeList api-ms-win-core-processthreads-l1-1-0.DeleteProcThreadAttributeList ; Win 7
-@ stdcall DeleteTimerQueue(long)
-@ stdcall DeleteTimerQueueEx (long long)
-@ stdcall DeleteTimerQueueTimer(long long long)
-;@ stdcall -arch=x86_64 DeleteUmsCompletionList
-;@ stdcall -arch=x86_64 DeleteUmsThreadContext
-@ stdcall DeleteVolumeMountPointA(str) ;check
-@ stdcall DeleteVolumeMountPointW(wstr) ;check
-;@ stdcall -arch=x86_64 DequeueUmsCompletionListItems
-@ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr)
-@ stdcall DisableThreadLibraryCalls(long)
-;@ stdcall DisableThreadProfiling ; Win 7
-;@ stdcall DisassociateCurrentThreadFromCallback ntdll.TpDisassociateCallback ; Win 7
-@ stdcall DisconnectNamedPipe(long)
-@ stdcall DnsHostnameToComputerNameA (str ptr ptr)
-@ stdcall DnsHostnameToComputerNameW (wstr ptr ptr)
-@ stdcall DosDateTimeToFileTime(long long ptr)
-@ stdcall DosPathToSessionPathA(long str str)
-@ stdcall DosPathToSessionPathW(long wstr wstr)
-@ stdcall DuplicateConsoleHandle(long long long long)
-@ stdcall DuplicateHandle(long long long ptr long long long)
-;@ stdcall EnableThreadProfiling ; Win 7
-@ stdcall EncodePointer(ptr) ntdll.RtlEncodePointer
-@ stdcall EncodeSystemPointer(ptr) ntdll.RtlEncodeSystemPointer
-@ stdcall EndUpdateResourceA(long long)
-@ stdcall EndUpdateResourceW(long long)
-@ stdcall EnterCriticalSection(ptr) ntdll.RtlEnterCriticalSection
-;@ stdcall -arch=x86_64 EnterUmsSchedulingMode
-@ stdcall EnumCalendarInfoA(ptr long long long)
-@ stdcall EnumCalendarInfoExA(ptr long long long)
-;@ stdcall EnumCalendarInfoExEx ; Win 7
-@ stdcall EnumCalendarInfoExW(ptr long long long)
-@ stdcall EnumCalendarInfoW(ptr long long long)
-@ stdcall EnumDateFormatsA(ptr long long)
-@ stdcall EnumDateFormatsExA(ptr long long)
-;@ stdcall EnumDateFormatsExEx ; Win 7
-@ stdcall EnumDateFormatsExW(ptr long long)
-@ stdcall EnumDateFormatsW(ptr long long)
-@ stdcall EnumLanguageGroupLocalesA(ptr long long ptr)
-@ stdcall EnumLanguageGroupLocalesW(ptr long long ptr)
-@ stdcall EnumResourceLanguagesA(long str str ptr long)
-;@ stdcall EnumResourceLanguagesExA ; Win 7
-;@ stdcall EnumResourceLanguagesExW ; Win 7
-@ stdcall EnumResourceLanguagesW(long wstr wstr ptr long)
-@ stdcall EnumResourceNamesA(long str ptr long)
-;@ stdcall EnumResourceNamesExA ; Win 7
-;@ stdcall EnumResourceNamesExW ; Win 7
-@ stdcall EnumResourceNamesW(long wstr ptr long)
-@ stdcall EnumResourceTypesA(long ptr long)
-;@ stdcall EnumResourceTypesExA ; Win 7
-;@ stdcall EnumResourceTypesExW ; Win 7
-@ stdcall EnumResourceTypesW(long ptr long)
-@ stdcall EnumSystemCodePagesA(ptr long)
-@ stdcall EnumSystemCodePagesW(ptr long)
-;@ stdcall EnumSystemFirmwareTables ; Win 7
-@ stdcall EnumSystemGeoID(long long ptr)
-@ stdcall EnumSystemLanguageGroupsA(ptr long ptr)
-@ stdcall EnumSystemLanguageGroupsW(ptr long ptr)
-@ stdcall EnumSystemLocalesA(ptr long)
-;@ stdcall EnumSystemLocalesEx ; Win 7
-@ stdcall EnumSystemLocalesW(ptr long)
-@ stdcall EnumTimeFormatsA(ptr long long)
-;@ stdcall EnumTimeFormatsEx ; Win 7
-@ stdcall EnumTimeFormatsW(ptr long long)
-@ stdcall EnumUILanguagesA(ptr long long)
-@ stdcall EnumUILanguagesW(ptr long long)
-@ stdcall EnumerateLocalComputerNamesA(ptr long str ptr)
-@ stdcall EnumerateLocalComputerNamesW(ptr long wstr ptr)
-@ stdcall EraseTape(ptr long long)
-@ stdcall EscapeCommFunction(long long)
-@ stdcall ExitProcess(long) ; FIXME: ntdll.RtlExitUserProcess
-@ stdcall ExitThread(long) ; FIXME: ntdll.RtlExitUserThread
-@ stdcall ExitVDM(long long)
-@ stdcall ExpandEnvironmentStringsA(str ptr long)
-@ stdcall ExpandEnvironmentStringsW(wstr ptr long)
-@ stdcall ExpungeConsoleCommandHistoryA(long)
-@ stdcall ExpungeConsoleCommandHistoryW(long)
-@ stdcall ExtendVirtualBuffer(long long) ; missing in Win 7
-@ stdcall FatalAppExitA(long str)
-@ stdcall FatalAppExitW(long wstr)
-@ stdcall FatalExit(long)
-@ stdcall FileTimeToDosDateTime(ptr ptr ptr)
-@ stdcall FileTimeToLocalFileTime(ptr ptr)
-@ stdcall FileTimeToSystemTime(ptr ptr)
-@ stdcall FillConsoleOutputAttribute(long long long long ptr)
-@ stdcall FillConsoleOutputCharacterA(long long long long ptr)
-@ stdcall FillConsoleOutputCharacterW(long long long long ptr)
-@ stdcall FindActCtxSectionGuid(long ptr long ptr ptr)
-@ stdcall FindActCtxSectionStringA(long ptr long str ptr)
-@ stdcall FindActCtxSectionStringW(long ptr long wstr ptr)
-@ stdcall FindAtomA(str)
-@ stdcall FindAtomW(wstr)
-@ stdcall FindClose(long)
-@ stdcall FindCloseChangeNotification(long)
-@ stdcall FindFirstChangeNotificationA(str long long)
-@ stdcall FindFirstChangeNotificationW(wstr long long)
-@ stdcall FindFirstFileA(str ptr)
-@ stdcall FindFirstFileExA(str long ptr long ptr long)
-@ stdcall FindFirstFileExW(wstr long ptr long ptr long)
-;@ stdcall FindFirstFileNameTransactedW ; Win 7
-;@ stdcall FindFirstFileNameW ; Win 7
-;@ stdcall FindFirstFileTransactedA ; Win 7
-;@ stdcall FindFirstFileTransactedW ; Win 7
-@ stdcall FindFirstFileW(wstr ptr)
-;@ stdcall FindFirstStreamTransactedW ; Win 7
-@ stdcall FindFirstStreamW(wstr ptr ptr long)
-@ stdcall FindFirstVolumeA(ptr long)
-@ stdcall FindFirstVolumeMountPointA(str ptr long)
-@ stdcall FindFirstVolumeMountPointW(wstr ptr long)
-@ stdcall FindFirstVolumeW(ptr long)
-;@ stdcall FindNLSString ; Win 7
-;@ stdcall FindNLSStringEx ; Win 7
-@ stdcall FindNextChangeNotification(long)
-@ stdcall FindNextFileA(long ptr)
-;@ stdcall FindNextFileNameW ; Win 7
-@ stdcall FindNextFileW(long ptr)
-;@ stdcall FindNextStreamW ; Win 7
-@ stdcall FindNextVolumeA(long ptr long)
-@ stdcall FindNextVolumeMountPointA(long str long)
-@ stdcall FindNextVolumeMountPointW(long wstr long)
-@ stdcall FindNextVolumeW(long ptr long)
-@ stdcall FindResourceA(long str str)
-@ stdcall FindResourceExA(long str str long)
-@ stdcall FindResourceExW(long wstr wstr long)
-@ stdcall FindResourceW(long wstr wstr)
-;@ stdcall FindStringOrdinal ; Win 7
-@ stdcall FindVolumeClose(ptr)
-@ stdcall FindVolumeMountPointClose(ptr)
-;@ stdcall FlsAlloc(ptr) ; missing in XP SP3
-;@ stdcall FlsFree(long) ; missing in XP SP3
-;@ stdcall FlsGetValue(long) ; missing in XP SP3
-;@ stdcall FlsSetValue(long ptr) ; missing in XP SP3
-@ stdcall FlushConsoleInputBuffer(long)
-@ stdcall FlushFileBuffers(long)
-@ stdcall FlushInstructionCache(long long long)
-;@ stdcall FlushProcessWriteBuffers ntdll.NtFlushProcessWriteBuffers ; Win 7
-@ stdcall FlushViewOfFile(ptr long)
-@ stdcall FoldStringA(long str long ptr long)
-@ stdcall FoldStringW(long wstr long ptr long)
-@ stdcall FormatMessageA(long ptr long long ptr long ptr)
-@ stdcall FormatMessageW(long ptr long long ptr long ptr)
-@ stdcall FreeConsole()
-@ stdcall FreeEnvironmentStringsA(ptr)
-@ stdcall FreeEnvironmentStringsW(ptr)
-@ stdcall FreeLibrary(long)
-@ stdcall FreeLibraryAndExitThread(long long)
-;@ stdcall FreeLibraryWhenCallbackReturns ntdll.TpCallbackUnloadDllOnCompletion ; Win 7
-@ stdcall FreeResource(long)
-@ stdcall FreeUserPhysicalPages(long long long)
-@ stdcall FreeVirtualBuffer(ptr) ; missing in Win 7
-@ stdcall GenerateConsoleCtrlEvent(long long)
-@ stdcall GetACP()
-;@ stdcall GetActiveProcessorCount ; Win 7
-;@ stdcall GetActiveProcessorGroupCount ; Win 7
-;@ stdcall GetApplicationRecoveryCallback ; Win 7
-;@ stdcall GetApplicationRestartSettings ; Win 7
-@ stdcall GetAtomNameA(long ptr long)
-@ stdcall GetAtomNameW(long ptr long)
-@ stdcall GetBinaryType(str ptr) GetBinaryTypeA
-@ stdcall GetBinaryTypeA(str ptr)
-@ stdcall GetBinaryTypeW(wstr ptr)
-@ stdcall GetCPFileNameFromRegistry(long wstr long) ;check missing in Win 7
-@ stdcall GetCPInfo(long ptr)
-@ stdcall GetCPInfoExA(long long ptr)
-@ stdcall GetCPInfoExW(long long ptr)
-;@ stdcall GetCalendarDateFormat ; Win 7
-;@ stdcall GetCalendarDateFormatEx ; Win 7
-;@ stdcall GetCalendarDaysInMonth ; Win 7
-;@ stdcall GetCalendarDifferenceInDays ; Win 7
-@ stdcall GetCalendarInfoA(long long long ptr long ptr)
-;@ stdcall GetCalendarInfoEx ; Win 7
-@ stdcall GetCalendarInfoW(long long long ptr long ptr)
-;@ stdcall GetCalendarMonthsInYear ; Win 7
-;@ stdcall GetCalendarSupportedDateRange ; Win 7
-;@ stdcall GetCalendarWeekNumber ; Win 7
-@ stdcall GetComPlusPackageInstallStatus()
-@ stdcall GetCommConfig(long ptr long)
-@ stdcall GetCommMask(long ptr)
-@ stdcall GetCommModemStatus(long ptr)
-@ stdcall GetCommProperties(long ptr)
-@ stdcall GetCommState(long ptr)
-@ stdcall GetCommTimeouts(long ptr)
-@ stdcall GetCommandLineA()
-@ stdcall GetCommandLineW()
-@ stdcall GetCompressedFileSizeA(long ptr)
-;@ stdcall GetCompressedFileSizeTransactedA ; Win 7
-;@ stdcall GetCompressedFileSizeTransactedW ; Win 7
-@ stdcall GetCompressedFileSizeW(long ptr)
-@ stdcall GetComputerNameA(ptr ptr)
-@ stdcall GetComputerNameExA(long ptr ptr)
-@ stdcall GetComputerNameExW(long ptr ptr)
-@ stdcall GetComputerNameW(ptr ptr)
-@ stdcall GetConsoleAliasA(str str long str)
-@ stdcall GetConsoleAliasExesA(str long)
-@ stdcall GetConsoleAliasExesLengthA()
-@ stdcall GetConsoleAliasExesLengthW()
-@ stdcall GetConsoleAliasExesW(wstr long)
-@ stdcall GetConsoleAliasW(wstr ptr long wstr)
-@ stdcall GetConsoleAliasesA(str long str)
-@ stdcall GetConsoleAliasesLengthA(str)
-@ stdcall GetConsoleAliasesLengthW(wstr)
-@ stdcall GetConsoleAliasesW(wstr long wstr)
-@ stdcall GetConsoleCP()
-@ stdcall GetConsoleCharType(long long ptr)
-@ stdcall GetConsoleCommandHistoryA(long long long)
-@ stdcall GetConsoleCommandHistoryLengthA(long)
-@ stdcall GetConsoleCommandHistoryLengthW(long)
-@ stdcall GetConsoleCommandHistoryW(long long long)
-@ stdcall GetConsoleCursorInfo(long ptr)
-@ stdcall GetConsoleCursorMode(long ptr ptr)
-@ stdcall GetConsoleDisplayMode(ptr)
-@ stdcall GetConsoleFontInfo(long long long ptr)
-@ stdcall GetConsoleFontSize(long long)
-@ stdcall GetConsoleHardwareState(long long ptr)
-@ stdcall GetConsoleHistoryInfo(ptr)
-@ stdcall GetConsoleInputExeNameA(long ptr)
-@ stdcall GetConsoleInputExeNameW(long ptr)
-@ stdcall GetConsoleInputWaitHandle()
-@ stdcall GetConsoleKeyboardLayoutNameA(ptr)
-@ stdcall GetConsoleKeyboardLayoutNameW(ptr)
-@ stdcall GetConsoleMode(long ptr)
-@ stdcall GetConsoleNlsMode(long ptr)
-;@ stdcall GetConsoleOriginalTitleA ; Win 7
-;@ stdcall GetConsoleOriginalTitleW ; Win 7
-@ stdcall GetConsoleOutputCP()
-@ stdcall GetConsoleProcessList(ptr long) ; missing in XP SP3
-@ stdcall GetConsoleScreenBufferInfo(long ptr)
-;@ stdcall GetConsoleScreenBufferInfoEx ; Win 7
-@ stdcall GetConsoleSelectionInfo(ptr)
-@ stdcall GetConsoleTitleA(ptr long)
-@ stdcall GetConsoleTitleW(ptr long)
-@ stdcall GetConsoleWindow()
-@ stdcall GetCurrencyFormatA(long long str ptr str long)
-;@ stdcall GetCurrencyFormatEx ; Win 7
-@ stdcall GetCurrencyFormatW(long long str ptr str long)
-@ stdcall GetCurrentActCtx(ptr)
-@ stdcall GetCurrentConsoleFont(long long ptr)
-;@ stdcall GetCurrentConsoleFontEx ; Win 7
-@ stdcall GetCurrentDirectoryA(long ptr)
-@ stdcall GetCurrentDirectoryW(long ptr)
-@ stdcall GetCurrentProcess()
-@ stdcall GetCurrentProcessId()
-@ stdcall GetCurrentProcessorNumber() ntdll.RtlGetCurrentProcessorNumber
-;@ stdcall GetCurrentProcessorNumberEx ntdll.RtlGetCurrentProcessorNumberEx ; Win 7
-@ stdcall GetCurrentThread()
-@ stdcall GetCurrentThreadId()
-;@ stdcall GetCurrentUmsThread
-@ stdcall GetDateFormatA(long long ptr str ptr long)
-;@ stdcall GetDateFormatEx ; Win 7
-@ stdcall GetDateFormatW(long long ptr wstr ptr long)
-@ stub GetDaylightFlag ; missing in XP SP3 and Win 7
-@ stdcall GetDefaultCommConfigA(str ptr long)
-@ stdcall GetDefaultCommConfigW(wstr ptr long)
-@ stdcall GetDefaultSortkeySize(ptr) ; missing in Win 7
-@ stdcall GetDevicePowerState(long ptr)
-@ stdcall GetDiskFreeSpaceA(str ptr ptr ptr ptr)
-@ stdcall GetDiskFreeSpaceExA (str ptr ptr ptr)
-@ stdcall GetDiskFreeSpaceExW (wstr ptr ptr ptr)
-@ stdcall GetDiskFreeSpaceW(wstr ptr ptr ptr ptr)
-@ stdcall GetDllDirectoryA(long ptr)
-@ stdcall GetDllDirectoryW(long ptr)
-@ stdcall GetDriveTypeA(str)
-@ stdcall GetDriveTypeW(wstr)
-;@ stdcall GetDurationFormat ; Win 7
-;@ stdcall GetDurationFormatEx ; Win 7
-;@ stdcall GetDynamicTimeZoneInformation ; Win 7
-;@ stdcall GetEnabledExtendedFeatures api-ms-win-core-xstate-l1-1-0.RtlGetEnabledExtendedFeatures ; Win 7
-@ stdcall GetEnvironmentStrings()
-@ stdcall GetEnvironmentStringsA() GetEnvironmentStrings
-@ stdcall GetEnvironmentStringsW()
-@ stdcall GetEnvironmentVariableA(str ptr long)
-@ stdcall GetEnvironmentVariableW(wstr ptr long)
-;@ stdcall GetEraNameCountedString ; Win 7
-@ stdcall GetErrorMode()
-@ stdcall GetExitCodeProcess(long ptr)
-@ stdcall GetExitCodeThread(long ptr)
-@ stdcall GetExpandedNameA(str ptr)
-@ stdcall GetExpandedNameW(wstr ptr)
-;@ stdcall GetExtendedContextLength ; Win 7
-;@ stdcall GetExtendedFeaturesMask api-ms-win-core-xstate-l1-1-0.RtlGetExtendedFeaturesMask ; Win 7
-@ stdcall GetFileAttributesA(str)
-@ stdcall GetFileAttributesByHandle(long ptr long) ; missing in Win 7
-@ stdcall GetFileAttributesExA(str long ptr)
-@ stdcall GetFileAttributesExW(wstr long ptr)
-;@ stdcall GetFileAttributesTransactedA ; Win 7
-;@ stdcall GetFileAttributesTransactedW ; Win 7
-@ stdcall GetFileAttributesW(wstr)
-@ stdcall GetFileBandwidthReservation(long ptr ptr ptr ptr ptr)
-@ stdcall GetFileInformationByHandle(long ptr)
-;@ stdcall GetFileInformationByHandleEx ; Win 7
-;@ stdcall GetFileMUIInfo ; Win 7
-;@ stdcall GetFileMUIPath ; Win 7
-@ stdcall GetFileSize(long ptr)
-@ stdcall GetFileSizeEx(long ptr)
-@ stdcall GetFileTime(long ptr ptr ptr)
-@ stdcall GetFileType(long)
-@ stdcall GetFinalPathNameByHandleA(long str long long)
-@ stdcall GetFinalPathNameByHandleW(long wstr long long)
-@ stdcall GetFirmwareEnvironmentVariableA(str str ptr long)
-@ stdcall GetFirmwareEnvironmentVariableW(wstr wstr ptr long)
-@ stdcall GetFullPathNameA(str long ptr ptr)
-;@ stdcall GetFullPathNameTransactedA ; Win 7
-;@ stdcall GetFullPathNameTransactedW ; Win 7
-@ stdcall GetFullPathNameW(wstr long ptr ptr)
-@ stdcall GetGeoInfoA(long long ptr long long)
-@ stdcall GetGeoInfoW(long long ptr long long)
-@ stdcall GetHandleContext(long) ; missing on x64
-@ stdcall GetHandleInformation(long ptr)
-@ stub GetSCallbackTarget ; missing in XP SP3 and Win 7
-@ stub GetSCallbackTemplate ; missing in XP SP3 and Win 7
-@ stdcall GetLargePageMinimum()
-@ stdcall GetLargestConsoleWindowSize(long)
-@ stdcall GetLastError() ntdll.RtlGetLastWin32Error
-@ stdcall GetLinguistLangSize(ptr) ; missing in Win 7
-@ stdcall GetLocalTime(ptr)
-@ stdcall GetLocaleInfoA(long long ptr long)
-@ stdcall GetLocaleInfoEx(wstr long wstr long) ; Vista+
-@ stdcall GetLocaleInfoW(long long ptr long)
-@ stdcall GetLogicalDriveStringsA(long ptr)
-@ stdcall GetLogicalDriveStringsW(long ptr)
-@ stdcall GetLogicalDrives()
-@ stdcall GetLogicalProcessorInformation(ptr ptr)
-;@ stdcall GetLogicalProcessorInformationEx api-ms-win-core-sysinfo-l1-1-0.GetLogicalProcessorInformationEx ; Win 7
-@ stdcall GetLongPathNameA (str long long)
-;@ stdcall GetLongPathNameTransactedA ; Win 7
-;@ stdcall GetLongPathNameTransactedW ; Win 7
-@ stdcall GetLongPathNameW (wstr long long)
-@ stdcall GetMailslotInfo(long ptr ptr ptr ptr)
-;@ stdcall GetMaximumProcessorCount ; Win 7
-;@ stdcall GetMaximumProcessorGroupCount ; Win 7
-@ stdcall GetModuleFileNameA(long ptr long)
-@ stdcall GetModuleFileNameW(long ptr long)
-@ stdcall GetModuleHandleA(str)
-@ stdcall GetModuleHandleExA(long ptr ptr)
-@ stdcall GetModuleHandleExW(long ptr ptr)
-@ stdcall GetModuleHandleW(wstr)
-;@ stdcall GetNLSVersion ; Win 7
-;@ stdcall GetNLSVersionEx ; Win 7
-;@ stdcall GetNamedPipeAttribute ; Win 7
-;@ stdcall GetNamedPipeClientComputerNameA ; Win 7
-;@ stdcall GetNamedPipeClientComputerNameW ; Win 7
-;@ stdcall GetNamedPipeClientProcessId ; Win 7
-;@ stdcall GetNamedPipeClientSessionId ; Win 7
-@ stdcall GetNamedPipeHandleStateA(long ptr ptr ptr ptr str long)
-@ stdcall GetNamedPipeHandleStateW(long ptr ptr ptr ptr wstr long)
-@ stdcall GetNamedPipeInfo(long ptr ptr ptr ptr)
-;@ stdcall GetNamedPipeServerProcessId ; Win 7
-;@ stdcall GetNamedPipeServerSessionId ; Win 7
-@ stdcall GetNativeSystemInfo(ptr)
-;@ stdcall -arch=x86_64 GetNextUmsListItem
-@ stdcall GetNextVDMCommand(long)
-@ stdcall GetNlsSectionName(long long double str str double) ; missing in Win 7
-@ stdcall GetNumaAvailableMemory(ptr double ptr) ; missing in Win 7
-@ stdcall GetNumaAvailableMemoryNode(double ptr)
-;@ stdcall GetNumaAvailableMemoryNodeEx ; Win 7
-@ stdcall GetNumaHighestNodeNumber(ptr)
-;@ stdcall GetNumaNodeNumberFromHandle ; Win 7
-@ stdcall GetNumaNodeProcessorMask(double ptr)
-;@ stdcall GetNumaNodeProcessorMaskEx ; Win 7
-@ stdcall GetNumaProcessorMap(ptr double ptr) ; missing in Win 7
-@ stdcall GetNumaProcessorNode(double ptr)
-;@ stdcall GetNumaProcessorNodeEx ; Win 7
-;@ stdcall GetNumaProximityNode ; Win 7
-;@ stdcall GetNumaProximityNodeEx ; Win 7
-@ stdcall GetNumberFormatA(long long str ptr ptr long)
-;@ stdcall GetNumberFormatEx ; Win 7
-@ stdcall GetNumberFormatW(long long wstr ptr ptr long)
-@ stdcall GetNumberOfConsoleFonts()
-@ stdcall GetNumberOfConsoleInputEvents(long ptr)
-@ stdcall GetNumberOfConsoleMouseButtons(ptr)
-@ stdcall GetOEMCP()
-@ stdcall GetOverlappedResult(long ptr ptr long)
-;@ stdcall GetPhysicallyInstalledSystemMemory ; Win 7
-@ stdcall GetPriorityClass(long)
-@ stdcall GetPrivateProfileIntA(str str long str)
-@ stdcall GetPrivateProfileIntW(wstr wstr long wstr)
-@ stdcall GetPrivateProfileSectionA(str ptr long str)
-@ stdcall GetPrivateProfileSectionNamesA(ptr long str)
-@ stdcall GetPrivateProfileSectionNamesW(ptr long wstr)
-@ stdcall GetPrivateProfileSectionW(wstr ptr long wstr)
-@ stdcall GetPrivateProfileStringA(str str str ptr long str)
-@ stdcall GetPrivateProfileStringW(wstr wstr wstr ptr long wstr)
-@ stdcall GetPrivateProfileStructA (str str ptr long str)
-@ stdcall GetPrivateProfileStructW(wstr wstr ptr long wstr)
-@ stdcall GetProcAddress(long str)
-@ stdcall GetProcessAffinityMask(long ptr ptr)
-@ stdcall GetProcessFlags(long)
-;@ stdcall GetProcessDEPPolicy ; Win 7
-;@ stdcall GetProcessGroupAffinity ; Win 7
-@ stdcall GetProcessHandleCount(long ptr)
-@ stdcall GetProcessHeap()
-@ stdcall GetProcessHeaps(long ptr)
-@ stdcall GetProcessId(long)
-;@ stdcall GetProcessIdOfThread ; Win 7
-@ stdcall GetProcessIoCounters(long ptr)
-;@ stdcall GetProcessPreferredUILanguages ; Win 7
-@ stdcall GetProcessPriorityBoost(long ptr)
-@ stdcall GetProcessShutdownParameters(ptr ptr)
-@ stdcall GetProcessTimes(long ptr ptr ptr ptr)
-@ stdcall GetProcessVersion(long)
-@ stdcall GetProcessWorkingSetSize(long ptr ptr)
-;@ stdcall GetProcessWorkingSetSizeEx ; Win 7
-;@ stdcall GetProcessorSystemCycleTime ; Win 7
-@ stdcall GetProductInfo(long long long long ptr)
-@ stub GetProductName
-@ stdcall GetProfileIntA(str str long)
-@ stdcall GetProfileIntW(wstr wstr long)
-@ stdcall GetProfileSectionA(str ptr long)
-@ stdcall GetProfileSectionW(wstr ptr long)
-@ stdcall GetProfileStringA(str str str ptr long)
-@ stdcall GetProfileStringW(wstr wstr wstr ptr long)
-@ stdcall GetQueuedCompletionStatus(long ptr ptr ptr long)
-;@ stdcall GetQueuedCompletionStatusEx ; Win 7
-@ stub GetLSCallbackTarget ; missing in XP SP3 and Win 7
-@ stub GetLSCallbackTemplate ; missing in XP SP3 and Win 7
-@ stdcall GetShortPathNameA(str ptr long)
-@ stdcall GetShortPathNameW(wstr ptr long)
-@ stdcall GetStartupInfoA(ptr)
-@ stdcall GetStartupInfoW(ptr)
-@ stdcall GetStdHandle(long)
-;@ stdcall GetStringScripts ; Win 7
-@ stdcall GetStringTypeA(long long str long ptr)
-@ stdcall GetStringTypeExA(long long str long ptr)
-@ stdcall GetStringTypeExW(long long wstr long ptr)
-@ stdcall GetStringTypeW(long wstr long ptr)
-;@ stdcall GetSystemDEPPolicy ; Win 7
-@ stdcall GetSystemDefaultLCID()
-@ stdcall GetSystemDefaultLangID()
-;@ stdcall GetSystemDefaultLocaleName ; Win 7
-@ stdcall GetSystemDefaultUILanguage()
-@ stdcall GetSystemDirectoryA(ptr long)
-@ stdcall GetSystemDirectoryW(ptr long)
-;@ stdcall GetSystemFileCacheSize ; Win 7
-;@ stdcall GetSystemFirmwareTable ; Win 7
-@ stdcall GetSystemInfo(ptr)
-@ stdcall GetSystemPowerStatus(ptr)
-;@ stdcall GetSystemPreferredUILanguages ; Win 7
-@ stdcall GetSystemRegistryQuota(ptr ptr)
-@ stdcall GetSystemTime(ptr)
-@ stdcall GetSystemTimeAdjustment(ptr ptr ptr)
-@ stdcall GetSystemTimeAsFileTime(ptr)
-@ stdcall GetSystemTimes(ptr ptr ptr)
-@ stdcall GetSystemWindowsDirectoryA(ptr long)
-@ stdcall GetSystemWindowsDirectoryW(ptr long)
-@ stdcall GetSystemWow64DirectoryA(ptr long)
-@ stdcall GetSystemWow64DirectoryW(ptr long)
-@ stdcall GetTapeParameters(ptr long ptr ptr)
-@ stdcall GetTapePosition(ptr long ptr ptr ptr)
-@ stdcall GetTapeStatus(ptr)
-@ stdcall GetTempFileNameA(str str long ptr)
-@ stdcall GetTempFileNameW(wstr wstr long ptr)
-@ stdcall GetTempPathA(long ptr)
-@ stdcall GetTempPathW(long ptr)
-@ stdcall GetThreadContext(long ptr)
-@ stdcall GetThreadErrorMode()
-;@ stdcall GetThreadGroupAffinity ; Win 7
-@ stdcall GetThreadIOPendingFlag(long ptr)
-@ stdcall GetThreadId(ptr)
-;@ stdcall GetThreadIdealProcessorEx ; Win 7
-@ stdcall GetThreadLocale()
-;@ stdcall GetThreadPreferredUILanguages ; Win 7
-@ stdcall GetThreadPriority(long)
-@ stdcall GetThreadPriorityBoost(long ptr)
-@ stdcall GetThreadSelectorEntry(long long ptr)
-@ stdcall GetThreadTimes(long ptr ptr ptr ptr)
-;@ stdcall GetThreadUILanguage ; Win 7
-@ stdcall GetTickCount()
-@ stdcall -ret64 GetTickCount64()
-@ stdcall GetTimeFormatA(long long ptr str ptr long)
-;@ stdcall GetTimeFormatEx ; Win 7
-@ stdcall GetTimeFormatW(long long ptr wstr ptr long)
-@ stdcall GetTimeZoneInformation(ptr)
-;@ stdcall GetTimeZoneInformationForYear ; Win 7
-;@ stdcall GetUILanguageInfo ; Win 7
-;@ stdcall -arch=x86_64 GetUmsCompletionListEvent
-@ stdcall GetUserDefaultLCID()
-@ stdcall GetUserDefaultLangID()
-;@ stdcall GetUserDefaultLocaleName ; Win 7
-@ stdcall GetUserDefaultUILanguage()
-@ stdcall GetUserGeoID(long)
-;@ stdcall GetUserPreferredUILanguages ; Win 7
-@ stdcall GetVDMCurrentDirectories(long long)
-@ stdcall GetVersion()
-@ stdcall GetVersionExA(ptr)
-@ stdcall GetVersionExW(ptr)
-@ stdcall GetVolumeInformationA(str ptr long ptr ptr ptr ptr long)
-;@ stdcall GetVolumeInformationByHandleW ; Win 7
-@ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long)
-@ stdcall GetVolumeNameForVolumeMountPointA(str ptr long)
-@ stdcall GetVolumeNameForVolumeMountPointW(wstr ptr long)
-@ stdcall GetVolumePathNameA(str ptr long)
-@ stdcall GetVolumePathNameW(wstr ptr long)
-@ stdcall GetVolumePathNamesForVolumeNameA(str str long ptr)
-@ stdcall GetVolumePathNamesForVolumeNameW(wstr wstr long ptr)
-@ stdcall GetWindowsDirectoryA(ptr long)
-@ stdcall GetWindowsDirectoryW(ptr long)
-@ stdcall GetWriteWatch(long ptr long ptr ptr ptr)
-@ stdcall GlobalAddAtomA(str)
-@ stdcall GlobalAddAtomW(wstr)
-@ stdcall GlobalAlloc(long long)
-@ stdcall GlobalCompact(long)
-@ stdcall GlobalDeleteAtom(long)
-@ stdcall GlobalFindAtomA(str)
-@ stdcall GlobalFindAtomW(wstr)
-@ stdcall GlobalFix(long)
-@ stdcall GlobalFlags(long)
-@ stdcall GlobalFree(long)
-@ stdcall GlobalGetAtomNameA(long ptr long)
-@ stdcall GlobalGetAtomNameW(long ptr long)
-@ stdcall GlobalHandle(ptr)
-@ stdcall GlobalLock(long)
-@ stdcall GlobalMemoryStatus(ptr)
-@ stdcall GlobalMemoryStatusEx(ptr)
-@ stdcall GlobalReAlloc(long long long)
-@ stdcall GlobalSize(long)
-@ stdcall GlobalUnWire(long)
-@ stdcall GlobalUnfix(long)
-@ stdcall GlobalUnlock(long)
-@ stdcall GlobalWire(long)
-@ stdcall Heap32First(ptr long long)
-@ stdcall Heap32ListFirst(long ptr)
-@ stdcall Heap32ListNext(long ptr)
-@ stdcall Heap32Next(ptr)
-@ stdcall HeapAlloc(long long long) ntdll.RtlAllocateHeap
-@ stdcall HeapCompact(long long)
-@ stdcall HeapCreate(long long long)
-@ stdcall HeapCreateTagsW(long long wstr wstr) ; missing in Win 7
-@ stdcall HeapDestroy(long)
-@ stdcall HeapExtend(long long ptr long) ; missing in Win 7
-@ stdcall HeapFree(long long long) ntdll.RtlFreeHeap
-@ stdcall HeapLock(long)
-@ stdcall HeapQueryInformation(long long ptr long ptr)
-@ stdcall HeapQueryTagW(long long long long ptr) ; missing in Win 7
-@ stdcall HeapReAlloc(long long ptr long) ntdll.RtlReAllocateHeap
-@ stub HeapSetFlags ; missing in XP SP3 and Win 7
-@ stdcall HeapSetInformation(ptr long ptr long)
-@ stdcall HeapSize(long long ptr) ntdll.RtlSizeHeap
-@ stdcall HeapSummary(long long ptr)
-@ stdcall HeapUnlock(long)
-@ stdcall HeapUsage(long long long long ptr) ; missing in Win 7
-@ stdcall HeapValidate(long long ptr)
-@ stdcall HeapWalk(long ptr)
-;@ stdcall IdnToAscii ; Win 7
-;@ stdcall IdnToNameprepUnicode ; Win 7
-;@ stdcall IdnToUnicode ; Win 7
-@ stdcall InitAtomTable(long)
-;@ stdcall InitOnceBeginInitialize ; Win 7
-;@ stdcall InitOnceComplete ; Win 7
-;@ stdcall InitOnceExecuteOnce ; Win 7
-;@ stdcall InitOnceInitialize ntdll.RtlRunOnceInitialize ; Win 7
-;@ stdcall InitializeConditionVariable ntdll.RtlInitializeConditionVariable ; Win 7
-@ stdcall InitializeCriticalSection(ptr) ; FIXME: ntdll.RtlInitializeCriticalSection
-@ stdcall InitializeCriticalSectionAndSpinCount(ptr long)
-@ stdcall InitializeCriticalSectionEx(ptr long long)
-;@ stdcall InitializeExtendedContext ; Win 7
-;@ stdcall InitializeProcThreadAttributeList api-ms-win-core-processthreads-l1-1-0.InitializeProcThreadAttributeList ; Win 7
-@ stdcall InitializeSListHead(ptr) ntdll.RtlInitializeSListHead
-@ stdcall InitializeSRWLock(ptr) ntdll.RtlInitializeSRWLock
-@ stdcall -arch=i386 InterlockedCompareExchange (ptr long long)
-@ stdcall -arch=i386 -ret64 InterlockedCompareExchange64(ptr double double) ntdll.RtlInterlockedCompareExchange64
-@ stdcall -arch=i386 InterlockedDecrement(ptr)
-@ stdcall -arch=i386 InterlockedExchange(ptr long)
-@ stdcall -arch=i386 InterlockedExchangeAdd (ptr long )
-@ stdcall InterlockedFlushSList(ptr) ntdll.RtlInterlockedFlushSList
-@ stdcall -arch=i386 InterlockedIncrement(ptr)
-@ stdcall InterlockedPopEntrySList(ptr) ntdll.RtlInterlockedPopEntrySList
-@ stdcall InterlockedPushEntrySList(ptr ptr) ntdll.RtlInterlockedPushEntrySList
-;@ stdcall InterlockedPushListSList ntdll.RtlInterlockedPushListSList ; Win 7
-@ stdcall InvalidateConsoleDIBits(long long)
-@ stub InvalidateNSCache ; missing in XP SP3 and Win 7
-@ stdcall IsBadCodePtr(ptr)
-@ stdcall IsBadHugeReadPtr(ptr long)
-@ stdcall IsBadHugeWritePtr(ptr long)
-@ stdcall IsBadReadPtr(ptr long)
-@ stdcall IsBadStringPtrA(ptr long)
-@ stdcall IsBadStringPtrW(ptr long)
-@ stdcall IsBadWritePtr(ptr long)
-;@ stdcall IsCalendarLeapDay ; Win 7
-;@ stdcall IsCalendarLeapMonth ; Win 7
-;@ stdcall IsCalendarLeapYear ; Win 7
-@ stdcall IsDBCSLeadByte(long)
-@ stdcall IsDBCSLeadByteEx(long long)
-@ stdcall IsDebuggerPresent()
-;@ stdcall IsNLSDefinedString ; Win 7
-;@ stdcall IsNormalizedString ; Win 7
-@ stdcall IsProcessInJob(long long ptr)
-@ stdcall IsProcessorFeaturePresent(long)
-@ stdcall IsSystemResumeAutomatic()
-@ stdcall IsThreadAFiber()
-;@ stdcall IsThreadAFiber ; Win 7
-;@ stdcall IsThreadpoolTimerSet ntdll.TpIsTimerSet ; Win 7
-;@ stdcall IsTimeZoneRedirectionEnabled ; Win 7
-;@ stdcall IsValidCalDateTime ; Win 7
-@ stdcall IsValidCodePage(long)
-@ stdcall IsValidLanguageGroup(long long)
-@ stdcall IsValidLocale(long long)
-;@ stdcall IsValidLocaleName ; Win 7
-@ stdcall IsValidUILanguage(long) ; missing in Win 7
-@ stdcall IsWow64Process(ptr ptr)
-;@ stdcall K32EmptyWorkingSet ; Win 7
-;@ stdcall K32EnumDeviceDrivers ; Win 7
-;@ stdcall K32EnumPageFilesA ; Win 7
-;@ stdcall K32EnumPageFilesW ; Win 7
-;@ stdcall K32EnumProcessModules ; Win 7
-;@ stdcall K32EnumProcessModulesEx ; Win 7
-;@ stdcall K32EnumProcesses ; Win 7
-;@ stdcall K32GetDeviceDriverBaseNameA ; Win 7
-;@ stdcall K32GetDeviceDriverBaseNameW ; Win 7
-;@ stdcall K32GetDeviceDriverFileNameA ; Win 7
-;@ stdcall K32GetDeviceDriverFileNameW ; Win 7
-;@ stdcall K32GetMappedFileNameA ; Win 7
-;@ stdcall K32GetMappedFileNameW ; Win 7
-;@ stdcall K32GetModuleBaseNameA ; Win 7
-;@ stdcall K32GetModuleBaseNameW ; Win 7
-;@ stdcall K32GetModuleFileNameExA ; Win 7
-;@ stdcall K32GetModuleFileNameExW ; Win 7
-;@ stdcall K32GetModuleInformation ; Win 7
-;@ stdcall K32GetPerformanceInfo ; Win 7
-;@ stdcall K32GetProcessImageFileNameA ; Win 7
-;@ stdcall K32GetProcessImageFileNameW ; Win 7
-;@ stdcall K32GetProcessMemoryInfo ; Win 7
-;@ stdcall K32GetWsChanges ; Win 7
-;@ stdcall K32GetWsChangesEx ; Win 7
-;@ stdcall K32InitializeProcessForWsWatch ; Win 7
-;@ stdcall K32QueryWorkingSet ; Win 7
-;@ stdcall K32QueryWorkingSetEx ; Win 7
-@ stdcall LCIDToLocaleName(long wstr long long) ; needed for wine gecko; missing in XP SP3
-@ stdcall LCMapStringA(long long str long ptr long)
-;@ stdcall LCMapStringEx ; Win 7
-@ stdcall LCMapStringW(long long wstr long ptr long)
-@ stdcall LZClose(long)
-;@ stdcall LZCloseFile ; Win 7
-@ stdcall LZCopy(long long)
-;@ stdcall LZCreateFileW ; Win 7
-@ stdcall LZDone()
-@ stdcall LZInit(long)
-@ stdcall LZOpenFileA(str ptr long)
-@ stdcall LZOpenFileW(wstr ptr long)
-@ stdcall LZRead(long str long)
-@ stdcall LZSeek(long long long)
-@ stdcall LZStart()
-@ stdcall LeaveCriticalSection(ptr) ntdll.RtlLeaveCriticalSection
-;@ stdcall LeaveCriticalSectionWhenCallbackReturns ntdll.TpCallbackLeaveCriticalSectionOnCompletion ; Win 7
-;@ stdcall LoadAppInitDlls ; Win 7
-@ stdcall LoadLibraryA(str)
-@ stdcall LoadLibraryExA( str long long)
-@ stdcall LoadLibraryExW(wstr long long)
-@ stdcall LoadLibraryW(wstr)
-@ stdcall LoadModule(str ptr)
-@ stdcall LoadResource(long long)
-;@ stdcall LoadStringBaseExW ; Win 7
-;@ stdcall LoadStringBaseW ; Win 7
-@ stdcall LocalAlloc(long long)
-@ stdcall LocalCompact(long)
-@ stdcall LocalFileTimeToFileTime(ptr ptr)
-@ stdcall LocalFlags(long)
-@ stdcall LocalFree(long)
-@ stdcall LocalHandle(ptr)
-@ stdcall LocalLock(long)
-@ stdcall LocalReAlloc(long long long)
-@ stdcall LocalShrink(long long)
-@ stdcall LocalSize(long)
-@ stdcall LocalUnlock(long)
-;@ stub LocaleNameToLCID ; missing in XP SP3
-;@ stdcall LocateExtendedFeature api-ms-win-core-xstate-l1-1-0.RtlLocateExtendedFeature ; Win 7
-;@ stdcall LocateLegacyContext api-ms-win-core-xstate-l1-1-0.RtlLocateLegacyContext ; Win 7
-@ stdcall LockFile(long long long long long)
-@ stdcall LockFileEx(long long long long long ptr)
-@ stdcall LockResource(long)
-@ stdcall MakeCriticalSectionGlobal(ptr)
-
-@ stdcall MapUserPhysicalPages(ptr long ptr)
-@ stdcall MapUserPhysicalPagesScatter(ptr long ptr)
-@ stdcall MapViewOfFile(long long long long long)
-@ stdcall MapViewOfFileEx(long long long long long ptr)
-;@ stdcall MapViewOfFileExNuma ; Win 7
-@ stdcall Module32First(long ptr)
-@ stdcall Module32FirstW(long ptr)
-@ stdcall Module32Next(long ptr)
-@ stdcall Module32NextW(long ptr)
-@ stdcall MoveFileA(str str)
-@ stdcall MoveFileExA(str str long)
-@ stdcall MoveFileExW(wstr wstr long)
-;@ stdcall MoveFileTransactedA ; Win 7
-;@ stdcall MoveFileTransactedW ; Win 7
-@ stdcall MoveFileW(wstr wstr)
-@ stdcall MoveFileWithProgressA(str str ptr ptr long)
-@ stdcall MoveFileWithProgressW(wstr wstr ptr ptr long)
-@ stdcall MulDiv(long long long)
-@ stdcall MultiByteToWideChar(long long str long ptr long)
-@ stdcall NeedCurrentDirectoryForExePathA(str)
-@ stdcall NeedCurrentDirectoryForExePathW(wstr)
-;@ stdcall NlsCheckPolicy ; Win 7
-@ stdcall NlsConvertIntegerToString(double double double wstr double) ; missing in Win 7
-;@ stdcall NlsEventDataDescCreate ; Win 7
-@ stdcall NlsGetCacheUpdateCount()
-@ stub NlsResetProcessLocale ; missing in XP SP3 and Win 7
-;@ stdcall NlsUpdateLocale ; Win 7
-;@ stdcall NlsUpdateSystemLocale ; Win 7
-;@ stdcall NlsWriteEtwEvent ; Win 7
-;@ stdcall NormalizeString ; Win 7
-;@ stdcall NotifyMountMgr ; Win 7
-@ stub NotifyNLSUserCache ; missing in XP SP3 and win 7
-;@ stdcall NotifyUILanguageChange ; Win 7
-@ stdcall NumaVirtualQueryNode(long long long long) ; missing in win 7
-@ stdcall OpenConsoleW(wstr long long long)
-@ stdcall OpenDataFile(long long) ; missing in Win 7
-@ stdcall OpenEventA(long long str)
-@ stdcall OpenEventW(long long wstr)
-@ stdcall OpenFile(str ptr long)
-;@ stdcall OpenFileById ; Win 7
-@ stdcall OpenFileMappingA(long long str)
-@ stdcall OpenFileMappingW(long long wstr)
-@ stdcall OpenJobObjectA(long long str)
-@ stdcall OpenJobObjectW(long long wstr)
-@ stdcall OpenMutexA(long long str)
-@ stdcall OpenMutexW(long long wstr)
-;@ stdcall OpenPrivateNamespaceA ; Win 7
-;@ stdcall OpenPrivateNamespaceW ; Win 7
-@ stdcall OpenProcess(long long long)
-;@ stdcall OpenProcessToken api-ms-win-core-processthreads-l1-1-0.OpenProcessToken ; Win 7
-@ stdcall OpenProfileUserMapping()
-@ stdcall OpenSemaphoreA(long long str)
-@ stdcall OpenSemaphoreW(long long wstr)
-@ stdcall OpenThread(long long long)
-;@ stdcall OpenThreadToken api-ms-win-core-processthreads-l1-1-0.OpenThreadToken ; win 7
-@ stdcall OpenWaitableTimerA(long long str)
-@ stdcall OpenWaitableTimerW(long long wstr)
-@ stdcall OutputDebugStringA(str)
-@ stdcall OutputDebugStringW(wstr)
-@ stdcall PeekConsoleInputA(ptr ptr long ptr)
-@ stdcall PeekConsoleInputW(ptr ptr long ptr)
-@ stdcall PeekNamedPipe(long ptr long ptr ptr ptr)
-@ stdcall PostQueuedCompletionStatus(long long ptr ptr)
-;@ stdcall PowerClearRequest ; Win 7
-;@ stdcall PowerCreateRequest ; Win 7
-;@ stdcall PowerSetRequest ; Win 7
-@ stdcall PrepareTape(ptr long long)
-@ stdcall PrivCopyFileExW(wstr wstr ptr ptr long long)
-@ stdcall PrivMoveFileIdentityW(long long long)
-@ stdcall Process32First (ptr ptr)
-@ stdcall Process32FirstW (ptr ptr)
-@ stdcall Process32Next (ptr ptr)
-@ stdcall Process32NextW (ptr ptr)
-@ stdcall ProcessIdToSessionId(long ptr)
-@ stdcall PulseEvent(long)
-@ stdcall PurgeComm(long long)
-;@ stdcall QueryActCtxSettingsW ; Win 7
-;@ stdcall QueryActCtxW(long ptr ptr long ptr long ptr)
-@ stdcall QueryActCtxW(long ptr ptr long ptr long ptr)
-@ stdcall QueryDepthSList(ptr) ntdll.RtlQueryDepthSList
-@ stdcall QueryDosDeviceA(str ptr long)
-@ stdcall QueryDosDeviceW(wstr ptr long)
-@ stdcall QueryFullProcessImageNameA(ptr long str ptr) ; Vista and later
-@ stdcall QueryFullProcessImageNameW(ptr long wstr ptr) ; Vista and later
-;@ stdcall QueryIdleProcessorCycleTime ; Win 7
-;@ stdcall QueryIdleProcessorCycleTimeEx ; Win 7
-@ stdcall QueryInformationJobObject(long long ptr long ptr)
-@ stdcall QueryMemoryResourceNotification(ptr ptr)
-@ stub QueryNumberOfEventLogRecords ; missing in XP SP3 and Win 7
-@ stub QueryOldestEventLogRecord ; missing in XP SP3 and Win 7
-@ stdcall QueryPerformanceCounter(ptr)
-@ stdcall QueryPerformanceFrequency(ptr)
-;@ stdcall QueryProcessAffinityUpdateMode ; Win 7
-;@ stdcall QueryProcessCycleTime ; Win 7
-;@ stdcall QueryThreadCycleTime ; Win 7
-;@ stdcall QueryThreadProfiling ; Win 7
-;@ stdcall QueryThreadpoolStackInformation ; Win 7
-;@ stdcall -arch=x86_64 QueryUmsThreadInformation
-;@ stdcall QueryUnbiasedInterruptTime ; Win 7
-@ stdcall QueryWin31IniFilesMappedToRegistry(long long long long) ; missing in Win 7
-@ stdcall QueueUserAPC(ptr long long)
-@ stdcall QueueUserWorkItem(ptr ptr long)
-@ stdcall RaiseException(long long long ptr)
-;@ stdcall RaiseFailFastException ; Win 7
-@ stub ReOpenFile ;@ stdcall ReOpenFile(ptr long long long)
-@ stdcall ReadConsoleA(long ptr long ptr ptr)
-@ stdcall ReadConsoleInputA(long ptr long ptr)
-@ stdcall ReadConsoleInputExA(long ptr long ptr long)
-@ stdcall ReadConsoleInputExW(long ptr long ptr long)
-@ stdcall ReadConsoleInputW(long ptr long ptr)
-@ stdcall ReadConsoleOutputA(long ptr long long ptr)
-@ stdcall ReadConsoleOutputAttribute(long ptr long long ptr)
-@ stdcall ReadConsoleOutputCharacterA(long ptr long long ptr)
-@ stdcall ReadConsoleOutputCharacterW(long ptr long long ptr)
-@ stdcall ReadConsoleOutputW(long ptr long long ptr)
-@ stdcall ReadConsoleW(long ptr long ptr ptr)
-@ stdcall ReadDirectoryChangesW(long ptr long long long ptr ptr ptr)
-@ stdcall ReadFile(long ptr long ptr ptr)
-@ stdcall ReadFileEx(long ptr long ptr ptr)
-@ stdcall ReadFileScatter(long ptr long ptr ptr)
-@ stdcall ReadProcessMemory(long ptr ptr long ptr)
-;@ stdcall ReadThreadProfilingData ; Win 7
-;@ stdcall RegCloseKey ; Win 7
-;@ stdcall RegCreateKeyExA ; Win 7
-;@ stdcall RegCreateKeyExW ; Win 7
-;@ stdcall RegDeleteKeyExA ; Win 7
-;@ stdcall RegDeleteKeyExW ; Win 7
-;@ stdcall RegDeleteTreeA ; Win 7
-;@ stdcall RegDeleteTreeW ; Win 7
-;@ stdcall RegDeleteValueA ; Win 7
-;@ stdcall RegDeleteValueW ; Win 7
-;@ stdcall RegDisablePredefinedCacheEx ; Win 7
-;@ stdcall RegEnumKeyExA ; Win 7
-;@ stdcall RegEnumKeyExW ; Win 7
-;@ stdcall RegEnumValueA ; Win 7
-;@ stdcall RegEnumValueW ; Win 7
-;@ stdcall RegFlushKey ; Win 7
-;@ stdcall RegGetKeySecurity ; Win 7
-;@ stdcall RegGetValueA ; Win 7
-;@ stdcall RegGetValueW ; Win 7
-;@ stdcall RegKrnGetGlobalState ; Win 7
-;@ stdcall RegKrnInitialize ; Win 7
-;@ stdcall RegLoadKeyA ; Win 7
-;@ stdcall RegLoadKeyW ; Win 7
-;@ stdcall RegLoadMUIStringA ; Win 7
-;@ stdcall RegLoadMUIStringW ; Win 7
-;@ stdcall RegNotifyChangeKeyValue ; Win 7
-;@ stdcall RegOpenCurrentUser ; Win 7
-;@ stdcall RegOpenKeyExA ; Win 7
-;@ stdcall RegOpenKeyExW ; Win 7
-;@ stdcall RegOpenUserClassesRoot ; Win 7
-;@ stdcall RegQueryInfoKeyA ; Win 7
-;@ stdcall RegQueryInfoKeyW ; Win 7
-;@ stdcall RegQueryValueExA ; Win 7
-;@ stdcall RegQueryValueExW ; Win 7
-;@ stdcall RegRestoreKeyA ; Win 7
-;@ stdcall RegRestoreKeyW ; Win 7
-;@ stdcall RegSaveKeyExA ; Win 7
-;@ stdcall RegSaveKeyExW ; Win 7
-;@ stdcall RegSetKeySecurity ; Win 7
-;@ stdcall RegSetValueExA ; Win 7
-;@ stdcall RegSetValueExW ; Win 7
-;@ stdcall RegUnLoadKeyA ; Win 7
-;@ stdcall RegUnLoadKeyW ; Win 7
-;@ stdcall RegisterApplicationRecoveryCallback ; Win 7
-@ stdcall RegisterApplicationRestart(wstr long)
-@ stdcall RegisterConsoleIME(ptr ptr)
-@ stdcall RegisterConsoleOS2(long)
-@ stdcall RegisterConsoleVDM(long long long long long long long long long long long)
-;@ stub RegisterServiceProcess ; missing in XP SP3 and Win 7
-@ stub RegisterSysMsgHandler ; missing in XP SP3 and win 7
-@ stdcall RegisterWaitForInputIdle(ptr)
-@ stdcall RegisterWaitForSingleObject(ptr long ptr ptr long long)
-@ stdcall RegisterWaitForSingleObjectEx(long ptr ptr long long)
-@ stdcall RegisterWowBaseHandlers(long)
-@ stdcall RegisterWowExec(long)
-@ stdcall ReinitializeCriticalSection(ptr)
-@ stdcall ReleaseActCtx(ptr)
-@ stdcall ReleaseMutex(long)
-;@ stdcall ReleaseMutexWhenCallbackReturns ntdll.TpCallbackReleaseMutexOnCompletion ; Win 7
-@ stdcall ReleaseSRWLockExclusive(ptr) ntdll.RtlReleaseSRWLockExclusive
-@ stdcall ReleaseSRWLockShared(ptr) ntdll.RtlReleaseSRWLockShared
-@ stdcall ReleaseSemaphore(long long ptr)
-;@ stdcall ReleaseSemaphoreWhenCallbackReturns ntdll.TpCallbackReleaseSemaphoreOnCompletion ; Win 7
-@ stdcall RemoveDirectoryA(str)
-;@ stdcall RemoveDirectoryTransactedA ; Win 7
-;@ stdcall RemoveDirectoryTransactedW ; Win 7
-@ stdcall RemoveDirectoryW(wstr)
-@ stdcall RemoveLocalAlternateComputerNameA(str long)
-@ stdcall RemoveLocalAlternateComputerNameW(wstr long)
-;@ stdcall RemoveSecureMemoryCacheCallback ; Win 7
-@ stdcall RemoveVectoredContinueHandler(ptr) ntdll.RtlRemoveVectoredContinueHandler
-@ stdcall RemoveVectoredExceptionHandler(ptr) ntdll.RtlRemoveVectoredExceptionHandler
-@ stdcall ReplaceFile(wstr wstr wstr long ptr ptr) ReplaceFileW
-@ stdcall ReplaceFileA(str str str long ptr ptr)
-@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr)
-;@ stdcall ReplacePartitionUnit ; Win 7
-@ stdcall RequestDeviceWakeup(long)
-@ stdcall RequestWakeupLatency(long)
-@ stdcall ResetEvent(long)
-@ stdcall ResetWriteWatch(ptr long)
-;@ stdcall ResolveLocaleName ; Win 7
-@ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error
-@ stdcall ResumeThread(long)
-@ cdecl -arch=x86_64 RtlAddFunctionTable(ptr long long) ntdll.RtlAddFunctionTable
-@ stdcall -register RtlCaptureContext(ptr) ntdll.RtlCaptureContext
-@ stdcall RtlCaptureStackBackTrace(long long ptr ptr) ntdll.RtlCaptureStackBackTrace
-@ stdcall -arch=x86_64 RtlCompareMemory(ptr ptr ptr)
-@ stdcall -arch=x86_64 RtlCopyMemory(ptr ptr ptr)
-@ stdcall -arch=x86_64 RtlDeleteFunctionTable(ptr)
-@ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory
-@ stdcall -arch=x86_64 RtlInstallFunctionTableCallback(double double long ptr ptr ptr)
-@ stdcall -arch=x86_64 RtlLookupFunctionEntry(ptr ptr ptr) ntdll.RtlLookupFunctionEntry
-@ stdcall RtlMoveMemory(ptr ptr long) ntdll.RtlMoveMemory
-@ stdcall -arch=x86_64 RtlPcToFileHeader(ptr ptr) ntdll.RtlPcToFileHeader
-@ stdcall -arch=x86_64 RtlRaiseException(ptr) ntdll.RtlRaiseException
-@ stdcall -arch=x86_64 RtlRestoreContext(ptr ptr) ntdll.RtlRestoreContext
-@ stdcall RtlUnwind(ptr ptr ptr long) ntdll.RtlUnwind
-@ stdcall -arch=x86_64 RtlUnwindEx(ptr ptr ptr ptr ptr ptr) ntdll.RtlUnwindEx
-@ stdcall -arch=x86_64 RtlVirtualUnwind(ptr ptr ptr long) ntdll.RtlVirtualUnwind
-@ stdcall RtlZeroMemory(ptr long) ntdll.RtlZeroMemory
-@ stdcall ScrollConsoleScreenBufferA(long ptr ptr ptr ptr)
-@ stdcall ScrollConsoleScreenBufferW(long ptr ptr ptr ptr)
-@ stdcall SearchPathA(str str str long ptr ptr)
-@ stdcall SearchPathW(wstr wstr wstr long ptr ptr)
-@ stdcall SetCPGlobal(long) ; missing in Win 7
-@ stdcall SetCalendarInfoA(long long long str)
-@ stdcall SetCalendarInfoW(long long long wstr)
-@ stdcall SetClientTimeZoneInformation(ptr)
-@ stdcall SetComPlusPackageInstallStatus(ptr)
-@ stdcall SetCommBreak(long)
-@ stdcall SetCommConfig(long ptr long)
-@ stdcall SetCommMask(long ptr)
-@ stdcall SetCommState(long ptr)
-@ stdcall SetCommTimeouts(long ptr)
-@ stdcall SetComputerNameA(str)
-@ stdcall SetComputerNameExA(long str)
-@ stdcall SetComputerNameExW(long wstr)
-@ stdcall SetComputerNameW(wstr)
-@ stdcall SetConsoleActiveScreenBuffer(long)
-@ stdcall SetConsoleCP(long)
-@ stdcall SetConsoleCommandHistoryMode(long) ; missing in win 7
-@ stdcall SetConsoleCtrlHandler(ptr long)
-@ stdcall SetConsoleCursor(long long)
-@ stdcall SetConsoleCursorInfo(long ptr)
-@ stdcall SetConsoleCursorMode(long long long)
-@ stdcall SetConsoleCursorPosition(long long)
-@ stdcall SetConsoleDisplayMode(long long ptr)
-@ stdcall SetConsoleFont(long long)
-@ stdcall SetConsoleHardwareState(long long long)
-@ stdcall SetConsoleHistoryInfo(ptr)
-@ stdcall SetConsoleIcon(ptr)
-@ stdcall SetConsoleInputExeNameA(ptr)
-@ stdcall SetConsoleInputExeNameW(ptr)
-@ stdcall SetConsoleKeyShortcuts(long long long long)
-@ stdcall SetConsoleLocalEUDC(long long long long)
-@ stdcall SetConsoleMaximumWindowSize(long long)
-@ stdcall SetConsoleMenuClose(long)
-@ stdcall SetConsoleMode(long long)
-@ stdcall SetConsoleNlsMode(long long)
-@ stdcall SetConsoleNumberOfCommandsA(long long)
-@ stdcall SetConsoleNumberOfCommandsW(long long)
-@ stdcall SetConsoleOS2OemFormat(long)
-@ stdcall SetConsoleOutputCP(long)
-@ stdcall SetConsolePalette(long long long)
-;@ stdcall SetConsoleScreenBufferInfoEx ; Win 7
-@ stdcall SetConsoleScreenBufferSize(long long)
-@ stdcall SetConsoleTextAttribute(long long)
-@ stdcall SetConsoleTitleA(str)
-@ stdcall SetConsoleTitleW(wstr)
-@ stdcall SetConsoleWindowInfo(long long ptr)
-@ stdcall SetCriticalSectionSpinCount(ptr long) ntdll.RtlSetCriticalSectionSpinCount
-;@ stdcall SetCurrentConsoleFontEx ; Win 7
-@ stdcall SetCurrentDirectoryA(str)
-@ stdcall SetCurrentDirectoryW(wstr)
-@ stub SetDaylightFlag ; missing in XP SP3 and Win 7
-@ stdcall SetDefaultCommConfigA(str ptr long)
-@ stdcall SetDefaultCommConfigW(wstr ptr long)
-@ stdcall SetDllDirectoryA(str)
-@ stdcall SetDllDirectoryW(wstr)
-;@ stdcall SetDynamicTimeZoneInformation ; Win 7
-@ stdcall SetEndOfFile(long)
-;@ stdcall SetEnvironmentStringsA ; Win 7
-;@ stdcall SetEnvironmentStringsW ; Win 7
-@ stdcall SetEnvironmentVariableA(str str)
-@ stdcall SetEnvironmentVariableW(wstr wstr)
-@ stdcall SetErrorMode(long)
-@ stdcall SetEvent(long)
-;@ stdcall SetEventWhenCallbackReturns ntdll.TpCallbackSetEventOnCompletion ; Win 7
-;@ stdcall SetExtendedFeaturesMask api-ms-win-core-xstate-l1-1-0.RtlSetExtendedFeaturesMask ; Win 7
-@ stdcall SetFileApisToANSI()
-@ stdcall SetFileApisToOEM()
-@ stdcall SetFileAttributesA(str long)
-;@ stdcall SetFileAttributesTransactedA ; Win 7
-;@ stdcall SetFileAttributesTransactedW ; Win 7
-@ stdcall SetFileAttributesW(wstr long)
-;@ stdcall SetFileBandwidthReservation ; Win 7
-;@ stdcall SetFileCompletionNotificationModes ; Win 7
-;@ stdcall SetFileInformationByHandle ; Win 7
-;@ stdcall SetFileIoOverlappedRange ; Win 7
-@ stdcall SetFilePointer(long long ptr long)
-@ stdcall SetFilePointerEx(long double ptr long)
-@ stdcall SetFileShortNameA(long str)
-@ stdcall SetFileShortNameW(long wstr)
-@ stdcall SetFileTime(long ptr ptr ptr)
-@ stdcall SetFileValidData(long double)
-@ stdcall SetFirmwareEnvironmentVariableA(str str ptr long)
-@ stdcall SetFirmwareEnvironmentVariableW(wstr wstr ptr long)
-@ stdcall SetHandleContext(long long) ; missing in Win 7 x64
-@ stdcall SetHandleCount(long)
-@ stdcall SetHandleInformation(long long long)
-@ stdcall SetInformationJobObject(long long ptr long)
-@ stub SetLastConsoleEventActive ; missing in XP SP3
-@ stdcall SetLastError(long) ntdll.RtlSetLastWin32Error
-@ stub SetLocalPrimaryComputerNameA ; missing in XP SP3
-@ stub SetLocalPrimaryComputerNameW ; missing in XP SP3
-@ stdcall SetLocalTime(ptr)
-@ stdcall SetLocaleInfoA(long long str)
-@ stdcall SetLocaleInfoW(long long wstr)
-@ stdcall SetMailslotInfo(long long)
-@ stdcall SetMessageWaitingIndicator(long double)
-;@ stdcall SetNamedPipeAttribute ; Win 7
-@ stdcall SetNamedPipeHandleState(long ptr ptr ptr)
-@ stdcall SetPriorityClass(long long)
-@ stdcall SetProcessAffinityMask(long long)
-;@ stdcall SetProcessAffinityUpdateMode ; Win 7
-;@ stdcall SetProcessDEPPolicy ; Win 7
-;@ stdcall SetProcessPreferredUILanguages ; Win 7
-@ stdcall SetProcessPriorityBoost(long long)
-@ stdcall SetProcessShutdownParameters(long long)
-@ stdcall SetProcessWorkingSetSize(long long long)
-;@ stdcall SetProcessWorkingSetSizeEx ; Win 7
-;@ stdcall SetSearchPathMode ; Win 7
-@ stdcall SetStdHandle(long long)
-;@ stdcall SetStdHandleEx ; Win 7
-;@ stdcall SetSystemFileCacheSize ; Win 7
-@ stdcall SetSystemPowerState(long long)
-@ stdcall SetSystemTime(ptr)
-@ stdcall SetSystemTimeAdjustment(long long)
-@ stdcall SetTapeParameters(ptr long ptr)
-@ stdcall SetTapePosition(ptr long long long long long)
-@ stdcall SetTermsrvAppInstallMode(long)
-@ stdcall SetThreadAffinityMask(long long)
-@ stdcall SetThreadContext(long ptr)
-@ stdcall SetThreadErrorMode(long ptr)
-@ stdcall SetThreadExecutionState(long)
-;@ stdcall SetThreadGroupAffinity ; Win 7
-@ stdcall SetThreadIdealProcessor(long long)
-;@ stdcall SetThreadIdealProcessorEx ; Win 7
-@ stdcall SetThreadLocale(long)
-;@ stdcall SetThreadPreferredUILanguages ; Win 7
-@ stdcall SetThreadPriority(long long)
-@ stdcall SetThreadPriorityBoost(long long)
-;@ stdcall SetThreadStackGuarantee ; Win 7
-;@ stdcall SetThreadToken api-ms-win-core-processthreads-l1-1-0.SetThreadToken ; Win 7
-@ stdcall SetThreadUILanguage(long)
-;@ stdcall SetThreadpoolStackInformation ; Win 7
-;@ stdcall SetThreadpoolThreadMaximum ntdll.TpSetPoolMaxThreads ; Win 7
-;@ stdcall SetThreadpoolThreadMinimum ; Win 7
-;@ stdcall SetThreadpoolTimer ntdll.TpSetTimer ; Win 7
-;@ stdcall SetThreadpoolWait ntdll.TpSetWait ; Win 7
-@ stdcall SetTimeZoneInformation(ptr)
-@ stdcall SetTimerQueueTimer(long ptr ptr long long long)
-;@ stdcall -arch?x86_64 SetUmsThreadInformation
-@ stdcall SetUnhandledExceptionFilter(ptr)
-@ stdcall SetUserGeoID(long)
-@ stdcall SetVDMCurrentDirectories(long long)
-@ stdcall SetVolumeLabelA(str str)
-@ stdcall SetVolumeLabelW(wstr wstr)
-@ stdcall SetVolumeMountPointA(str str)
-@ stdcall SetVolumeMountPointW(wstr wstr)
-@ stdcall SetWaitableTimer(long ptr long ptr ptr long)
-;@ stdcall SetWaitableTimerEx api-ms-win-core-threadpool-l1-1-0.SetWaitableTimerEx ; Win 7
-@ stdcall SetupComm(long long long)
-@ stdcall ShowConsoleCursor(long long)
-@ stdcall SignalObjectAndWait(long long long long)
-@ stdcall SizeofResource(long long)
-@ stdcall Sleep(long)
-;@ stdcall SleepConditionVariableCS ; Win 7
-;@ stdcall SleepConditionVariableSRW ; Win 7
-@ stdcall SleepEx(long long)
-;@ stdcall SortCloseHandle ; Win 7
-;@ stdcall SortGetHandle ; Win 7
-;@ stdcall StartThreadpoolIo ntdll.TpStartAsyncIoOperation ; Win 7
-;@ stdcall SubmitThreadpoolWork ntdll.TpPostWork ; Win 7
-@ stdcall SuspendThread(long)
-@ stdcall SwitchToFiber(ptr)
-@ stdcall SwitchToThread()
-@ stdcall SystemTimeToFileTime(ptr ptr)
-@ stdcall SystemTimeToTzSpecificLocalTime (ptr ptr ptr)
-@ stdcall TerminateJobObject(long long)
-@ stdcall TerminateProcess(long long)
-@ stdcall TerminateThread(long long)
-@ stdcall TermsrvAppInstallMode()
-@ stdcall Thread32First(long ptr)
-@ stdcall Thread32Next(long ptr)
-@ stdcall TlsAlloc()
-@ stub TlsAllocInternal ; missing in XP SP3 and Win 7
-@ stdcall TlsFree(long)
-@ stub TlsFreeInternal ; missing in XP SP3 and Win 7
-@ stdcall TlsGetValue(long)
-@ stdcall TlsSetValue(long ptr)
-@ stdcall Toolhelp32ReadProcessMemory(long ptr ptr long ptr)
-@ stdcall TransactNamedPipe(long ptr long ptr long ptr ptr)
-@ stdcall TransmitCommChar(long long)
-@ stdcall TrimVirtualBuffer(ptr) ; missing in Win 7
-;@ stdcall TryAcquireSRWLockExclusive ntdll.RtlTryAcquireSRWLockExclusive ; Win 7
-;@ stdcall TryAcquireSRWLockShared ntdll.RtlTryAcquireSRWLockShared ; Win 7
-@ stdcall TryEnterCriticalSection(ptr) ntdll.RtlTryEnterCriticalSection
-;@ stdcall TrySubmitThreadpoolCallback ; Win 7
-@ stdcall TzSpecificLocalTimeToSystemTime(ptr ptr ptr)
-@ stdcall UTRegister(long str str str ptr ptr ptr)
-@ stdcall UTUnRegister(long)
-;@ stdcall -arch=x86_64 UmsThreadYield
-@ stdcall UnhandledExceptionFilter(ptr)
-@ stdcall UninitializeCriticalSection(ptr)
-@ stdcall UnlockFile(long long long long long)
-@ stdcall UnlockFileEx(long long long long ptr)
-@ stdcall UnmapViewOfFile(ptr)
-;@ stdcall UnregisterApplicationRecoveryCallback ; Win 7
-;@ stdcall UnregisterApplicationRestart ; Win 7
-@ stdcall UnregisterConsoleIME()
-@ stdcall UnregisterWait(long)
-@ stdcall UnregisterWaitEx(long long)
-;@ stdcall UpdateCalendarDayOfWeek ; Win 7
-;@ stdcall UpdateProcThreadAttribute api-ms-win-core-processthreads-l1-1-0.UpdateProcThreadAttribute ; Win 7
-@ stdcall UpdateResourceA(long str str long ptr long)
-@ stdcall UpdateResourceW(long wstr wstr long ptr long)
-@ stdcall VDMConsoleOperation(long long)
-@ stdcall VDMOperationStarted(long)
-@ stub ValidateCType ; missing in XP SP3 and Win 7
-@ stub ValidateLocale ; missing in XP SP3 and Win 7
-@ stdcall VerLanguageNameA(long str long)
-@ stdcall VerLanguageNameW(long wstr long)
-@ stdcall -ret64 VerSetConditionMask(long long long long) ntdll.VerSetConditionMask
-@ stdcall VerifyConsoleIoHandle(long)
-;@ stdcall VerifyScripts ; Win 7
-@ stdcall VerifyVersionInfoA(long long double)
-@ stdcall VerifyVersionInfoW(long long double)
-@ stdcall VirtualAlloc(ptr long long long)
-@ stdcall VirtualAllocEx(long ptr long long long)
-;@ stdcall VirtualAllocExNuma ; Win 7
-@ stdcall VirtualBufferExceptionHandler(long long long) ; missing in Win 7
-@ stdcall VirtualFree(ptr long long)
-@ stdcall VirtualFreeEx(long ptr long long)
-@ stdcall VirtualLock(ptr long)
-@ stdcall VirtualProtect(ptr long long ptr)
-@ stdcall VirtualProtectEx(long ptr long long ptr)
-@ stdcall VirtualQuery(ptr ptr long)
-@ stdcall VirtualQueryEx(long ptr ptr long)
-@ stdcall VirtualUnlock(ptr long)
-;@ stdcall WTSGetActiveConsoleSessionId ; Win 7
-@ stdcall WaitCommEvent(long ptr ptr)
-@ stdcall WaitForDebugEvent(ptr long)
-@ stdcall WaitForMultipleObjects(long ptr long long)
-@ stdcall WaitForMultipleObjectsEx(long ptr long long long)
-@ stdcall WaitForSingleObject(long long)
-@ stdcall WaitForSingleObjectEx(long long long)
-;@ stdcall WaitForThreadpoolIoCallbacks ntdll.TpWaitForIoCompletion ; Win 7
-;@ stdcall WaitForThreadpoolTimerCallbacks ntdll.TpWaitForTimer ; Win 7
-;@ stdcall WaitForThreadpoolWaitCallbacks ntdll.TpWaitForWait ; Win 7
-;@ stdcall WaitForThreadpoolWorkCallbacks ntdll.TpWaitForWork ; Win 7
-@ stdcall WaitNamedPipeA (str long)
-@ stdcall WaitNamedPipeW (wstr long)
-@ stdcall WakeAllConditionVariable(ptr) ntdll.RtlWakeAllConditionVariable
-@ stdcall WakeConditionVariable(ptr) ntdll.RtlWakeConditionVariable
-;@ stdcall WerGetFlags ; Win 7
-;@ stdcall WerRegisterFile ; Win 7
-;@ stdcall WerRegisterMemoryBlock ; Win 7
-;@ stdcall WerRegisterRuntimeExceptionModule ; Win 7
-;@ stdcall WerSetFlags ; Win 7
-;@ stdcall WerUnregisterFile ; Win 7
-;@ stdcall WerUnregisterMemoryBlock ; Win 7
-;@ stdcall WerUnregisterRuntimeExceptionModule ; Win 7
-;@ stdcall WerpCleanupMessageMapping ; Win 7
-;@ stdcall WerpInitiateRemoteRecovery ; Win 7
-;@ stdcall WerpNotifyLoadStringResource ; Win 7
-;@ stdcall WerpNotifyLoadStringResourceEx ; Win 7
-;@ stdcall WerpNotifyUseStringResource ; Win 7
-;@ stdcall WerpStringLookup ; Win 7
-@ stdcall WideCharToMultiByte(long long wstr long ptr long ptr ptr)
-@ stdcall WinExec(str long)
-@ stdcall Wow64DisableWow64FsRedirection(ptr)
-@ stdcall Wow64EnableWow64FsRedirection(long)
-;@ stdcall Wow64GetThreadContext ; Win 7
-;@ stdcall Wow64GetThreadSelectorEntry ; Win 7
-@ stdcall Wow64RevertWow64FsRedirection(ptr)
-;@ stdcall Wow64SetThreadContext ; Win 7
-;@ stdcall Wow64SuspendThread ; Win 7
-@ stdcall WriteConsoleA(long ptr long ptr ptr)
-@ stdcall WriteConsoleInputA(long ptr long ptr)
-@ stdcall WriteConsoleInputVDMA(long long long long)
-@ stdcall WriteConsoleInputVDMW(long long long long)
-@ stdcall WriteConsoleInputW(long ptr long ptr)
-@ stdcall WriteConsoleOutputA(long ptr long long ptr)
-@ stdcall WriteConsoleOutputAttribute(long ptr long long ptr)
-@ stdcall WriteConsoleOutputCharacterA(long ptr long long ptr)
-@ stdcall WriteConsoleOutputCharacterW(long ptr long long ptr)
-@ stdcall WriteConsoleOutputW(long ptr long long ptr)
-@ stdcall WriteConsoleW(long ptr long ptr ptr)
-@ stdcall WriteFile(long ptr long ptr ptr)
-@ stdcall WriteFileEx(long ptr long ptr ptr)
-@ stdcall WriteFileGather(long ptr long ptr ptr)
-@ stdcall WritePrivateProfileSectionA(str str str)
-@ stdcall WritePrivateProfileSectionW(wstr wstr wstr)
-@ stdcall WritePrivateProfileStringA(str str str str)
-@ stdcall WritePrivateProfileStringW(wstr wstr wstr wstr)
-@ stdcall WritePrivateProfileStructA (str str ptr long str)
-@ stdcall WritePrivateProfileStructW(wstr wstr ptr long wstr)
-@ stdcall WriteProcessMemory(long ptr ptr long ptr)
-@ stdcall WriteProfileSectionA(str str)
-@ stdcall WriteProfileSectionW(str str)
-@ stdcall WriteProfileStringA(str str str)
-@ stdcall WriteProfileStringW(wstr wstr wstr)
-@ stdcall WriteTapemark(ptr long long long)
-@ stdcall WTSGetActiveConsoleSessionId() ; missing in win 7
-@ stdcall ZombifyActCtx(ptr)
-;@ stdcall -arch=x86_64 __C_specific_handler ntdll.__C_specific_handler
-;@ stdcall -arch=x86_64 __chkstk ntdll.__chkstk
-;@ stdcall -arch=x86_64 __misaligned_access ntdll.__misaligned_access
-@ stub _DebugOut ; missing in XP SP3 and Win 7
-@ stub _DebugPrintf ; missing in XP SP3 and Win 7
-@ stdcall _hread(long ptr long)
-@ stdcall _hwrite(long ptr long)
-@ stdcall _lclose(long)
-@ stdcall _lcreat(str long)
-@ stdcall _llseek(long long long)
-;@ stdcall -arch=x86_64 _local_unwind ntdll._local_unwind; Win 7
-@ stdcall _lopen(str long)
-@ stdcall _lread(long ptr long) _hread
-@ stdcall _lwrite(long ptr long) _hwrite
-@ stub dprintf ; missing in XP SP3 and Win 7
-@ stdcall lstrcat(str str) lstrcatA
-@ stdcall lstrcatA(str str)
-@ stdcall lstrcatW(wstr wstr)
-@ stdcall lstrcmp(str str) lstrcmpA
-@ stdcall lstrcmpA(str str)
-@ stdcall lstrcmpW(wstr wstr)
-@ stdcall lstrcmpi(str str) lstrcmpiA
-@ stdcall lstrcmpiA(str str)
-@ stdcall lstrcmpiW(wstr wstr)
-@ stdcall lstrcpy(ptr str) lstrcpyA
-@ stdcall lstrcpyA(ptr str)
-@ stdcall lstrcpyW(ptr wstr)
-@ stdcall lstrcpyn(ptr str long) lstrcpynA
-@ stdcall lstrcpynA(ptr str long)
-@ stdcall lstrcpynW(ptr wstr long)
-@ stdcall lstrlen(str) lstrlenA
-@ stdcall lstrlenA(str)
-@ stdcall lstrlenW(wstr)
-;@ stdcall -arch=x86_64 uaw_lstrcmpW ; Win 7
-;@ stdcall -arch=x86_64 uaw_lstrcmpiW ; Win 7
-;@ stdcall -arch=x86_64 uaw_lstrlenW ; Win 7
-;@ stdcall -arch=x86_64 uaw_wcschr ; Win 7
-;@ stdcall -arch=x86_64 uaw_wcscpy ; Win 7
-;@ stdcall -arch=x86_64 uaw_wcsicmp ; Win 7
-;@ stdcall -arch=x86_64 uaw_wcslen ; Win 7
-;@ stdcall -arch=x86_64 uaw_wcsrchr ; Win 7
-
index d72472e..f5a8205 100644 (file)
@@ -1,12 +1,11 @@
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
 <module name="kernel32" type="win32dll" crt="dll" baseaddress="${BASEADDRESS_KERNEL32}" installbase="system32" installname="kernel32.dll">
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
 <module name="kernel32" type="win32dll" crt="dll" baseaddress="${BASEADDRESS_KERNEL32}" installbase="system32" installname="kernel32.dll">
-       <importlibrary definition="kernel32.pspec" />
+       <importlibrary definition="kernel32.def" />
        <include base="kernel32">.</include>
        <include base="kernel32" root="intermediate">.</include>
        <include base="kernel32">include</include>
        <include base="ReactOS">include/reactos/subsys</include>
        <include base="kernel32">.</include>
        <include base="kernel32" root="intermediate">.</include>
        <include base="kernel32">include</include>
        <include base="ReactOS">include/reactos/subsys</include>
-       <library>wine</library>
        <library>pseh</library>
        <library>normalize</library>
        <library>ntdll</library>
        <library>pseh</library>
        <library>normalize</library>
        <library>ntdll</library>
index 5710a8f..af73705 100644 (file)
 /* synched with wine 1.1.26 */
 
 #include <k32.h>
 /* synched with wine 1.1.26 */
 
 #include <k32.h>
-
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(actctx);
+#define NDEBUG
+#include <debug.h>
 
 #define ACTCTX_FAKE_HANDLE ((HANDLE) 0xf00baa)
 
 
 #define ACTCTX_FAKE_HANDLE ((HANDLE) 0xf00baa)
 
index d1e8a97..b608367 100644 (file)
@@ -1371,20 +1371,6 @@ SetConsolePalette(DWORD Unknown0,
     return FALSE;
 }
 
     return FALSE;
 }
 
-
-/*
- * @unimplemented (Undocumented)
- */
-BOOL
-WINAPI
-SetLastConsoleEventActive(VOID)
-{
-    DPRINT1("SetLastConsoleEventActive() UNIMPLEMENTED!\n");
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
-}
-
-
 /*
  * @unimplemented (Undocumented)
  */
 /*
  * @unimplemented (Undocumented)
  */
index 228ba4d..337dc05 100644 (file)
  */
 
 #include <k32.h>
  */
 
 #include <k32.h>
-
-
-#include "wine/unicode.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(resource);
+#define NDEBUG
+#include <debug.h>
 
 struct format_args
 {
 
 struct format_args
 {
index 1813a5c..326f224 100644 (file)
  */
 
 #include <k32.h>
  */
 
 #include <k32.h>
-
-#include "wine/config.h"
-#include "wine/unicode.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(nls);
+#define NDEBUG
+#include <debug.h>
 
 #define DATE_DATEVARSONLY 0x0100  /* only date stuff: yMdg */
 #define TIME_TIMEVARSONLY 0x0200  /* only time stuff: hHmst */
 
 #define DATE_DATEVARSONLY 0x0100  /* only date stuff: yMdg */
 #define TIME_TIMEVARSONLY 0x0200  /* only time stuff: hHmst */
index c852f34..030f07c 100644 (file)
@@ -958,17 +958,6 @@ SetThreadStackGuarantee(IN OUT PULONG StackSizeInBytes)
     return FALSE;
 }
 
     return FALSE;
 }
 
-HANDLE
-WINAPI
-ReOpenFile(IN HANDLE hOriginalFile,
-           IN DWORD dwDesiredAccess,
-           IN DWORD dwShareMode,
-           IN DWORD dwFlags)
-{
-    STUB;
-    return INVALID_HANDLE_VALUE;
-}
-
 BOOL
 WINAPI
 SetProcessWorkingSetSizeEx(IN HANDLE hProcess,
 BOOL
 WINAPI
 SetProcessWorkingSetSizeEx(IN HANDLE hProcess,
@@ -1259,3 +1248,134 @@ UnregisterConsoleIME(VOID)
     STUB;
     return FALSE;
 }
     STUB;
     return FALSE;
 }
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+BaseCheckRunApp(IN DWORD Unknown1,
+                IN DWORD Unknown2,
+                IN DWORD Unknown3,
+                IN DWORD Unknown4,
+                IN DWORD Unknown5,
+                IN DWORD Unknown6,
+                IN DWORD Unknown7,
+                IN DWORD Unknown8,
+                IN DWORD Unknown9,
+                IN DWORD Unknown10)
+{
+    STUB;
+    return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+BasepCheckWinSaferRestrictions(IN DWORD Unknown1,
+                               IN DWORD Unknown2,
+                               IN DWORD Unknown3,
+                               IN DWORD Unknown4,
+                               IN DWORD Unknown5,
+                               IN DWORD Unknown6)
+{
+    STUB;
+    return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+NumaVirtualQueryNode(IN DWORD Unknown1,
+                     IN DWORD Unknown2,
+                     IN DWORD Unknown3,
+                     IN DWORD Unknown4)
+{
+    STUB;
+    return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+HANDLE
+WINAPI
+ReOpenFile(IN HANDLE hOriginalFile,
+           IN DWORD dwDesiredAccess,
+           IN DWORD dwShareMode,
+           IN DWORD dwFlags)
+{
+   STUB;
+   return INVALID_HANDLE_VALUE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+SetLastConsoleEventActive(VOID)
+{
+    STUB;
+    return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+SetConsoleCommandHistoryMode(IN DWORD dwMode)
+{
+    STUB;
+    return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+SetLocalPrimaryComputerNameA(IN DWORD Unknown1,
+                             IN DWORD Unknown2)
+{
+    STUB;
+    return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+SetLocalPrimaryComputerNameW(IN DWORD Unknown1,
+                             IN DWORD Unknown2)
+{
+    STUB;
+    return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+WINAPI
+SetTermsrvAppInstallMode(IN BOOL bInstallMode)
+{
+    STUB;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+TermsrvAppInstallMode(VOID)
+{
+    STUB;
+    return FALSE;
+}
index cba61e3..1ba4a8f 100644 (file)
@@ -9,10 +9,8 @@
 
 #include <k32.h>
 #include <reactos/buildno.h>
 
 #include <k32.h>
 #include <reactos/buildno.h>
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32Ver);
+#define NDEBUG
+#include <debug.h>
 
 #define UNICODIZE1(x) L##x
 #define UNICODIZE(x) UNICODIZE1(x)
 
 #define UNICODIZE1(x) L##x
 #define UNICODIZE(x) UNICODIZE1(x)
index 5df4c98..76591e0 100644 (file)
@@ -9,9 +9,8 @@
  *     2001-12-07 created
  */
 #include <k32.h>
  *     2001-12-07 created
  */
 #include <k32.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(kernel32session);
+#define NDEBUG
+#include <debug.h>
 
 DWORD ActiveConsoleSessionId = 0;
 
 
 DWORD ActiveConsoleSessionId = 0;