%ifndef INCLUDED_KERNEL32_INC
%define INCLUDED_KERNEL32_INC

;
; Kernel32 API definitions for NASM.
;
; (C) G-RoM in 1999

Extern _AddAtomA@4
Extern _AddAtomW@4
Extern _AllocConsole@0
Extern _AreFileApisANSI@0
Extern _BackupRead@28
Extern _BackupSeek@24
Extern _BackupWrite@28
Extern _Beep@8
Extern _BeginUpdateResourceA@8
Extern _BeginUpdateResourceW@8
Extern _BuildCommDCBA@8
Extern _BuildCommDCBAndTimeoutsA@12
Extern _BuildCommDCBAndTimeoutsW@12
Extern _BuildCommDCBW@8
Extern _CallNamedPipeA@28
Extern _CallNamedPipeW@28
Extern _CancelIo@4
Extern _CancelWaitableTimer@4
Extern _ClearCommBreak@4
Extern _ClearCommError@12
Extern _CloseHandle@4
Extern _CloseProfileUserMapping@0
Extern _CommConfigDialogA@12
Extern _CommConfigDialogW@12
Extern _CompareFileTime@8
Extern _CompareStringA@24
Extern _CompareStringW@24
Extern _ConnectNamedPipe@8
Extern _ContinueDebugEvent@12
Extern _ConvertDefaultLocale@4
Extern _ConvertThreadToFiber@4
Extern _CopyFileA@12
Extern _CopyFileExA@24
Extern _CopyFileExW@24
Extern _CopyFileW@12
Extern _CreateConsoleScreenBuffer@20
Extern _CreateDirectoryA@8
Extern _CreateDirectoryExA@12
Extern _CreateDirectoryExW@12
Extern _CreateDirectoryW@8
Extern _CreateEventA@16
Extern _CreateEventW@16
Extern _CreateFiber@12
Extern _CreateFileA@28
Extern _CreateFileMappingA@24
Extern _CreateFileMappingW@24
Extern _CreateFileW@28
Extern _CreateIoCompletionPort@16
Extern _CreateMailslotA@16
Extern _CreateMailslotW@16
Extern _CreateMutexA@12
Extern _CreateMutexW@12
Extern _CreateNamedPipeA@32
Extern _CreateNamedPipeW@32
Extern _CreatePipe@16
Extern _CreateProcessA@40
Extern _CreateProcessW@40
Extern _CreateRemoteThread@28
Extern _CreateSemaphoreA@16
Extern _CreateSemaphoreW@16
Extern _CreateTapePartition@16
Extern _CreateThread@24
Extern _CreateWaitableTimerA@12
Extern _CreateWaitableTimerW@12
Extern _DebugActiveProcess@4
Extern _DebugBreak@0
Extern _DefineDosDeviceA@12
Extern _DefineDosDeviceW@12
Extern _DeleteAtom@4
Extern _DeleteCriticalSection@4
Extern _DeleteFiber@4
Extern _DeleteFileA@4
Extern _DeleteFileW@4
Extern _DeviceIoControl@32
Extern _DisableThreadLibraryCalls@4
Extern _DisconnectNamedPipe@4
Extern _DosDateTimeToFileTime@12
Extern _DuplicateHandle@28
Extern _EndUpdateResourceA@8
Extern _EndUpdateResourceW@8
Extern _EnterCriticalSection@4
Extern _EnumCalendarInfoA@16
Extern _EnumCalendarInfoW@16
Extern _EnumDateFormatsA@12
Extern _EnumDateFormatsW@12
Extern _EnumResourceLanguagesA@20
Extern _EnumResourceLanguagesW@20
Extern _EnumResourceNamesA@16
Extern _EnumResourceNamesW@16
Extern _EnumResourceTypesA@12
Extern _EnumResourceTypesW@12
Extern _EnumSystemCodePagesA@8
Extern _EnumSystemCodePagesW@8
Extern _EnumSystemLocalesA@8
Extern _EnumSystemLocalesW@8
Extern _EnumTimeFormatsA@12
Extern _EnumTimeFormatsW@12
Extern _EraseTape@12
Extern _EscapeCommFunction@8
Extern _ExitProcess@4
Extern _ExitThread@4
Extern _ExpandEnvironmentStringsA@12
Extern _ExpandEnvironmentStringsW@12
Extern _FatalAppExitA@8
Extern _FatalAppExitW@8
Extern _FatalExit@4
Extern _FileTimeToDosDateTime@12
Extern _FileTimeToLocalFileTime@8
Extern _FileTimeToSystemTime@8
Extern _FillConsoleOutputAttribute@20
Extern _FillConsoleOutputCharacterA@20
Extern _FillConsoleOutputCharacterW@20
Extern _FindAtomA@4
Extern _FindAtomW@4
Extern _FindClose@4
Extern _FindCloseChangeNotification@4
Extern _FindFirstChangeNotificationA@12
Extern _FindFirstChangeNotificationW@12
Extern _FindFirstFileA@8
Extern _FindFirstFileExA@24
Extern _FindFirstFileExW@24
Extern _FindFirstFileW@8
Extern _FindNextChangeNotification@4
Extern _FindNextFileA@8
Extern _FindNextFileW@8
Extern _FindResourceA@12
Extern _FindResourceExA@16
Extern _FindResourceExW@16
Extern _FindResourceW@12
Extern _FlushConsoleInputBuffer@4
Extern _FlushFileBuffers@4
Extern _FlushInstructionCache@12
Extern _FlushViewOfFile@8
Extern _FoldStringA@20
Extern _FoldStringW@20
Extern _FormatMessageA@28
Extern _FormatMessageW@28
Extern _FreeConsole@0
Extern _FreeEnvironmentStringsA@4
Extern _FreeEnvironmentStringsW@4
Extern _FreeLibrary@4
Extern _FreeLibraryAndExitThread@8
Extern _FreeResource@4
Extern _GenerateConsoleCtrlEvent@8
Extern _GetACP@0
Extern _GetAtomNameA@12
Extern _GetAtomNameW@12
Extern _GetBinaryType@8
Extern _GetBinaryTypeA@8
Extern _GetBinaryTypeW@8
Extern _GetCPInfo@8
Extern _GetCommConfig@12
Extern _GetCommMask@8
Extern _GetCommModemStatus@8
Extern _GetCommProperties@8
Extern _GetCommState@8
Extern _GetCommTimeouts@8
Extern _GetCommandLineA@0
Extern _GetCommandLineW@0
Extern _GetCompressedFileSizeA@8
Extern _GetCompressedFileSizeW@8
Extern _GetComputerNameA@8
Extern _GetComputerNameW@8
Extern _GetConsoleCP@0
Extern _GetConsoleCursorInfo@8
Extern _GetConsoleMode@8
Extern _GetConsoleOutputCP@0
Extern _GetConsoleScreenBufferInfo@8
Extern _GetConsoleTitleA@8
Extern _GetConsoleTitleW@8
Extern _GetCurrencyFormatA@24
Extern _GetCurrencyFormatW@24
Extern _GetCurrentDirectoryA@8
Extern _GetCurrentDirectoryW@8
Extern _GetCurrentProcess@0
Extern _GetCurrentProcessId@0
Extern _GetCurrentThread@0
Extern _GetCurrentThreadId@0
Extern _GetDateFormatA@24
Extern _GetDateFormatW@24
Extern _GetDefaultCommConfigA@12
Extern _GetDefaultCommConfigW@12
Extern _GetDiskFreeSpaceA@20
Extern _GetDiskFreeSpaceExA@16
Extern _GetDiskFreeSpaceExW@16
Extern _GetDiskFreeSpaceW@20
Extern _GetDriveTypeA@4
Extern _GetDriveTypeW@4
Extern _GetEnvironmentStrings@0
Extern _GetEnvironmentStringsA@0
Extern _GetEnvironmentStringsW@0
Extern _GetEnvironmentVariableA@12
Extern _GetEnvironmentVariableW@12
Extern _GetExitCodeProcess@8
Extern _GetExitCodeThread@8
Extern _GetFileAttributesA@4
Extern _GetFileAttributesExA@12
Extern _GetFileAttributesExW@12
Extern _GetFileAttributesW@4
Extern _GetFileInformationByHandle@8
Extern _GetFileSize@8
Extern _GetFileTime@16
Extern _GetFileType@4
Extern _GetFullPathNameA@16
Extern _GetFullPathNameW@16
Extern _GetHandleInformation@8
Extern _GetLargestConsoleWindowSize@4
Extern _GetLastError@0
Extern _GetLocalTime@4
Extern _GetLocaleInfoA@16
Extern _GetLocaleInfoW@16
Extern _GetLogicalDriveStringsA@8
Extern _GetLogicalDriveStringsW@8
Extern _GetLogicalDrives@0
Extern _GetMailslotInfo@20
Extern _GetModuleFileNameA@12
Extern _GetModuleFileNameW@12
Extern _GetModuleHandleA@4
Extern _GetModuleHandleW@4
Extern _GetNamedPipeHandleStateA@28
Extern _GetNamedPipeHandleStateW@28
Extern _GetNamedPipeInfo@20
Extern _GetNumberFormatA@24
Extern _GetNumberFormatW@24
Extern _GetOEMCP@0
Extern _GetOverlappedResult@16
Extern _GetPriorityClass@4
Extern _GetPrivateProfileIntA@16
Extern _GetPrivateProfileIntW@16
Extern _GetPrivateProfileSectionA@16
Extern _GetPrivateProfileSectionNamesA@12
Extern _GetPrivateProfileSectionNamesW@12
Extern _GetPrivateProfileSectionW@16
Extern _GetPrivateProfileStringA@24
Extern _GetPrivateProfileStringW@24
Extern _GetPrivateProfileStructA@20
Extern _GetPrivateProfileStructW@20
Extern _GetProcAddress@8
Extern _GetProcessAffinityMask@12
Extern _GetProcessHeap@0
Extern _GetProcessHeaps@8
Extern _GetProcessPriorityBoost@8
Extern _GetProcessShutdownParameters@8
Extern _GetProcessTimes@20
Extern _GetProcessVersion@4
Extern _GetProcessWorkingSetSize@12
Extern _GetProfileIntA@12
Extern _GetProfileIntW@12
Extern _GetProfileSectionA@12
Extern _GetProfileSectionW@12
Extern _GetProfileStringA@20
Extern _GetProfileStringW@20
Extern _GetQueuedCompletionStatus@20
Extern _GetShortPathNameA@12
Extern _GetShortPathNameW@12
Extern _GetStartupInfoA@4
Extern _GetStartupInfoW@4
Extern _GetStdHandle@4
Extern _GetStringTypeA@20
Extern _GetStringTypeExA@20
Extern _GetStringTypeExW@20
Extern _GetStringTypeW@16
Extern _GetSystemDefaultLCID@0
Extern _GetSystemDefaultLangID@0
Extern _GetSystemDirectoryA@8
Extern _GetSystemDirectoryW@8
Extern _GetSystemInfo@4
Extern _GetSystemPowerStatus@4
Extern _GetSystemTime@4
Extern _GetSystemTimeAdjustment@12
Extern _GetSystemTimeAsFileTime@4
Extern _GetTapeParameters@16
Extern _GetTapePosition@20
Extern _GetTapeStatus@4
Extern _GetTempFileNameA@16
Extern _GetTempFileNameW@16
Extern _GetTempPathA@8
Extern _GetTempPathW@8
Extern _GetThreadContext@8
Extern _GetThreadLocale@0
Extern _GetThreadPriority@4
Extern _GetThreadPriorityBoost@8
Extern _GetThreadSelectorEntry@12
Extern _GetThreadTimes@20
Extern _GetTickCount@0
Extern _GetTimeFormatA@24
Extern _GetTimeFormatW@24
Extern _GetTimeZoneInformation@4
Extern _GetUserDefaultLCID@0
Extern _GetUserDefaultLangID@0
Extern _GetVersion@0
Extern _GetVersionExA@4
Extern _GetVersionExW@4
Extern _GetVolumeInformationA@32
Extern _GetVolumeInformationW@32
Extern _GetWindowsDirectoryA@8
Extern _GetWindowsDirectoryW@8
Extern _GlobalAddAtomA@4
Extern _GlobalAddAtomW@4
Extern _GlobalAlloc@8
Extern _GlobalCompact@4
Extern _GlobalDeleteAtom@4
Extern _GlobalFindAtomA@4
Extern _GlobalFindAtomW@4
Extern _GlobalFix@4
Extern _GlobalFlags@4
Extern _GlobalFree@4
Extern _GlobalGetAtomNameA@12
Extern _GlobalGetAtomNameW@12
Extern _GlobalHandle@4
Extern _GlobalLock@4
Extern _GlobalMemoryStatus@4
Extern _GlobalReAlloc@12
Extern _GlobalSize@4
Extern _GlobalUnWire@4
Extern _GlobalUnfix@4
Extern _GlobalUnlock@4
Extern _GlobalWire@4
Extern _HeapAlloc@12
Extern _HeapCompact@8
Extern _HeapCreate@12
Extern _HeapDestroy@4
Extern _HeapFree@12
Extern _HeapLock@4
Extern _HeapReAlloc@16
Extern _HeapSize@12
Extern _HeapUnlock@4
Extern _HeapValidate@12
Extern _HeapWalk@8
Extern _InitAtomTable@4
Extern _InitializeCriticalSection@4
Extern _InterlockedCompareExchange@12
Extern _InterlockedDecrement@4
Extern _InterlockedExchange@8
Extern _InterlockedExchangeAdd@8
Extern _InterlockedIncrement@4
Extern _IsBadCodePtr@4
Extern _IsBadHugeReadPtr@8
Extern _IsBadHugeWritePtr@8
Extern _IsBadReadPtr@8
Extern _IsBadStringPtrA@8
Extern _IsBadStringPtrW@8
Extern _IsBadWritePtr@8
Extern _IsDBCSLeadByte@4
Extern _IsDBCSLeadByteEx@8
Extern _IsDebuggerPresent@0
Extern _IsProcessorFeaturePresent@4
Extern _IsValidCodePage@4
Extern _IsValidLocale@8
Extern _LCMapStringA@24
Extern _LCMapStringW@24
Extern _LeaveCriticalSection@4
Extern _LoadLibraryA@4
Extern _LoadLibraryExA@12
Extern _LoadLibraryExW@12
Extern _LoadLibraryW@4
Extern _LoadModule@8
Extern _LoadResource@8
Extern _LocalAlloc@8
Extern _LocalCompact@4
Extern _LocalFileTimeToFileTime@8
Extern _LocalFlags@4
Extern _LocalFree@4
Extern _LocalHandle@4
Extern _LocalLock@4
Extern _LocalReAlloc@12
Extern _LocalShrink@8
Extern _LocalSize@4
Extern _LocalUnlock@4
Extern _LockFile@20
Extern _LockFileEx@24
Extern _LockResource@4
Extern _MapViewOfFile@20
Extern _MapViewOfFileEx@24
Extern _MoveFileA@8
Extern _MoveFileExA@12
Extern _MoveFileExW@12
Extern _MoveFileW@8
Extern _MulDiv@12
Extern _MultiByteToWideChar@24
Extern _OpenEventA@12
Extern _OpenEventW@12
Extern _OpenFile@12
Extern _OpenFileMappingA@12
Extern _OpenFileMappingW@12
Extern _OpenMutexA@12
Extern _OpenMutexW@12
Extern _OpenProcess@12
Extern _OpenProfileUserMapping@0
Extern _OpenSemaphoreA@12
Extern _OpenSemaphoreW@12
Extern _OpenWaitableTimerA@12
Extern _OpenWaitableTimerW@12
Extern _OutputDebugStringA@4
Extern _OutputDebugStringW@4
Extern _PeekConsoleInputA@16
Extern _PeekConsoleInputW@16
Extern _PeekNamedPipe@24
Extern _PostQueuedCompletionStatus@16
Extern _PrepareTape@12
Extern _PulseEvent@4
Extern _PurgeComm@8
Extern _QueryDosDeviceA@12
Extern _QueryDosDeviceW@12
Extern _QueryPerformanceCounter@4
Extern _QueryPerformanceFrequency@4
Extern _QueueUserAPC@12
Extern _RaiseException@16
Extern _ReadConsoleA@20
Extern _ReadConsoleInputA@16
Extern _ReadConsoleInputW@16
Extern _ReadConsoleOutputA@20
Extern _ReadConsoleOutputAttribute@20
Extern _ReadConsoleOutputCharacterA@20
Extern _ReadConsoleOutputCharacterW@20
Extern _ReadConsoleOutputW@20
Extern _ReadConsoleW@20
Extern _ReadDirectoryChangesW@32
Extern _ReadFile@20
Extern _ReadFileEx@20
Extern _ReadProcessMemory@20
Extern _ReleaseMutex@4
Extern _ReleaseSemaphore@12
Extern _RemoveDirectoryA@4
Extern _RemoveDirectoryW@4
Extern _ResetEvent@4
Extern _ResumeThread@4
Extern _RtlFillMemory@12
Extern _RtlMoveMemory@12
Extern _RtlUnwind@16
Extern _RtlZeroMemory@8
Extern _ScrollConsoleScreenBufferA@20
Extern _ScrollConsoleScreenBufferW@20
Extern _SearchPathA@24
Extern _SearchPathW@24
Extern _SetCommBreak@4
Extern _SetCommConfig@12
Extern _SetCommMask@8
Extern _SetCommState@8
Extern _SetCommTimeouts@8
Extern _SetComputerNameA@4
Extern _SetComputerNameW@4
Extern _SetConsoleActiveScreenBuffer@4
Extern _SetConsoleCP@4
Extern _SetConsoleCtrlHandler@8
Extern _SetConsoleCursorInfo@8
Extern _SetConsoleCursorPosition@8
Extern _SetConsoleMode@8
Extern _SetConsoleOutputCP@4
Extern _SetConsoleScreenBufferSize@8
Extern _SetConsoleTextAttribute@8
Extern _SetConsoleTitleA@4
Extern _SetConsoleTitleW@4
Extern _SetConsoleWindowInfo@12
Extern _SetCurrentDirectoryA@4
Extern _SetCurrentDirectoryW@4
Extern _SetDefaultCommConfigA@12
Extern _SetDefaultCommConfigW@12
Extern _SetEndOfFile@4
Extern _SetEnvironmentVariableA@8
Extern _SetEnvironmentVariableW@8
Extern _SetErrorMode@4
Extern _SetEvent@4
Extern _SetFileApisToANSI@0
Extern _SetFileApisToOEM@0
Extern _SetFileAttributesA@8
Extern _SetFileAttributesW@8
Extern _SetFilePointer@16
Extern _SetFileTime@16
Extern _SetHandleCount@4
Extern _SetHandleInformation@12
Extern _SetLastError@4
Extern _SetLocalTime@4
Extern _SetLocaleInfoA@12
Extern _SetLocaleInfoW@12
Extern _SetMailslotInfo@8
Extern _SetNamedPipeHandleState@16
Extern _SetPriorityClass@8
Extern _SetProcessAffinityMask@8
Extern _SetProcessPriorityBoost@8
Extern _SetProcessShutdownParameters@8
Extern _SetProcessWorkingSetSize@12
Extern _SetStdHandle@8
Extern _SetSystemPowerState@8
Extern _SetSystemTime@4
Extern _SetSystemTimeAdjustment@8
Extern _SetTapeParameters@12
Extern _SetTapePosition@24
Extern _SetThreadAffinityMask@8
Extern _SetThreadContext@8
Extern _SetThreadIdealProcessor@8
Extern _SetThreadLocale@4
Extern _SetThreadPriority@8
Extern _SetThreadPriorityBoost@8
Extern _SetTimeZoneInformation@4
Extern _SetUnhandledExceptionFilter@4
Extern _SetVolumeLabelA@8
Extern _SetVolumeLabelW@8
Extern _SetWaitableTimer@24
Extern _SetupComm@12
Extern _SignalObjectAndWait@16
Extern _SizeofResource@8
Extern _Sleep@4
Extern _SleepEx@8
Extern _SuspendThread@4
Extern _SwitchToFiber@4
Extern _SwitchToThread@0
Extern _SystemTimeToFileTime@8
Extern _SystemTimeToTzSpecificLocalTime@12
Extern _TerminateProcess@8
Extern _TerminateThread@8
Extern _TlsAlloc@0
Extern _TlsFree@4
Extern _TlsGetValue@4
Extern _TlsSetValue@8
Extern _TransactNamedPipe@28
Extern _TransmitCommChar@8
Extern _TryEnterCriticalSection@4
Extern _UnhandledExceptionFilter@4
Extern _UnlockFile@20
Extern _UnlockFileEx@20
Extern _UnmapViewOfFile@4
Extern _UpdateResourceA@24
Extern _UpdateResourceW@24
Extern _VerLanguageNameA@12
Extern _VerLanguageNameW@12
Extern _VirtualAlloc@16
Extern _VirtualAllocEx@20
Extern _VirtualFree@12
Extern _VirtualFreeEx@16
Extern _VirtualLock@8
Extern _VirtualProtect@16
Extern _VirtualProtectEx@20
Extern _VirtualQuery@12
Extern _VirtualQueryEx@16
Extern _VirtualUnlock@8
Extern _WaitCommEvent@12
Extern _WaitForDebugEvent@8
Extern _WaitForMultipleObjects@16
Extern _WaitForMultipleObjectsEx@20
Extern _WaitForSingleObject@8
Extern _WaitForSingleObjectEx@12
Extern _WaitNamedPipeA@8
Extern _WaitNamedPipeW@8
Extern _WideCharToMultiByte@32
Extern _WinExec@8
Extern _WriteConsoleA@20
Extern _WriteConsoleInputA@16
Extern _WriteConsoleInputW@16
Extern _WriteConsoleOutputA@20
Extern _WriteConsoleOutputAttribute@20
Extern _WriteConsoleOutputCharacterA@20
Extern _WriteConsoleOutputCharacterW@20
Extern _WriteConsoleOutputW@20
Extern _WriteConsoleW@20
Extern _WriteFile@20
Extern _WriteFileEx@20
Extern _WritePrivateProfileSectionA@12
Extern _WritePrivateProfileSectionW@12
Extern _WritePrivateProfileStringA@16
Extern _WritePrivateProfileStringW@16
Extern _WritePrivateProfileStructA@20
Extern _WritePrivateProfileStructW@20
Extern _WriteProcessMemory@20
Extern _WriteProfileSectionA@8
Extern _WriteProfileSectionW@8
Extern _WriteProfileStringA@12
Extern _WriteProfileStringW@12
Extern _WriteTapemark@16
Extern __hread@12
Extern __hwrite@12
Extern __lclose@4
Extern __lcreat@8
Extern __llseek@12
Extern __lopen@8
Extern __lread@12
Extern __lwrite@12
Extern _lstrcat@8
Extern _lstrcatA@8
Extern _lstrcatW@8
Extern _lstrcmp@8
Extern _lstrcmpA@8
Extern _lstrcmpW@8
Extern _lstrcmpi@8
Extern _lstrcmpiA@8
Extern _lstrcmpiW@8
Extern _lstrcpy@8
Extern _lstrcpyA@8
Extern _lstrcpyW@8
Extern _lstrcpyn@12
Extern _lstrcpynA@12
Extern _lstrcpynW@12
Extern _lstrlen@4
Extern _lstrlenA@4
Extern _lstrlenW@4

%define AddAtomA                               _AddAtomA@4
%define AddAtomW                               _AddAtomW@4
%define AddConsoleAliasA                       _AddConsoleAliasA@12
%define AddConsoleAliasW                       _AddConsoleAliasW@12
%define AllocConsole                           _AllocConsole@0
%define AreFileApisANSI                        _AreFileApisANSI@0
%define BackupRead                             _BackupRead@28
%define BackupSeek                             _BackupSeek@24
%define BackupWrite                            _BackupWrite@28
%define BaseAttachCompleteThunk                _BaseAttachCompleteThunk@0
%define Beep                                   _Beep@8
%define BeginUpdateResourceA                   _BeginUpdateResourceA@8
%define BeginUpdateResourceW                   _BeginUpdateResourceW@8
%define BuildCommDCBA                          _BuildCommDCBA@8
%define BuildCommDCBAndTimeoutsA               _BuildCommDCBAndTimeoutsA@12
%define BuildCommDCBAndTimeoutsW               _BuildCommDCBAndTimeoutsW@12
%define BuildCommDCBW                          _BuildCommDCBW@8
%define CallNamedPipeA                         _CallNamedPipeA@28
%define CallNamedPipeW                         _CallNamedPipeW@28
%define CancelIo                               _CancelIo@4
%define CancelWaitableTimer                    _CancelWaitableTimer@4
%define ClearCommBreak                         _ClearCommBreak@4
%define ClearCommError                         _ClearCommError@12
%define CloseConsoleHandle                     _CloseConsoleHandle@4
%define CloseHandle                            _CloseHandle@4
%define CloseProfileUserMapping                _CloseProfileUserMapping@0
%define CmdBatNotification                     _CmdBatNotification@4
%define CommConfigDialogA                      _CommConfigDialogA@12
%define CommConfigDialogW                      _CommConfigDialogW@12
%define CompareFileTime                        _CompareFileTime@8
%define CompareStringA                         _CompareStringA@24
%define CompareStringW                         _CompareStringW@24
%define ConnectNamedPipe                       _ConnectNamedPipe@8
%define ConsoleMenuControl                     _ConsoleMenuControl@12
%define ContinueDebugEvent                     _ContinueDebugEvent@12
%define ConvertDefaultLocale                   _ConvertDefaultLocale@4
%define ConvertThreadToFiber                   _ConvertThreadToFiber@4
%define CopyFileA                              _CopyFileA@12
%define CopyFileExA                            _CopyFileExA@24
%define CopyFileExW                            _CopyFileExW@24
%define CopyFileW                              _CopyFileW@12
%define CreateConsoleScreenBuffer              _CreateConsoleScreenBuffer@20
%define CreateDirectoryA                       _CreateDirectoryA@8
%define CreateDirectoryExA                     _CreateDirectoryExA@12
%define CreateDirectoryExW                     _CreateDirectoryExW@12
%define CreateDirectoryW                       _CreateDirectoryW@8
%define CreateEventA                           _CreateEventA@16
%define CreateEventW                           _CreateEventW@16
%define CreateFiber                            _CreateFiber@12
%define CreateFileA                            _CreateFileA@28
%define CreateFileMappingA                     _CreateFileMappingA@24
%define CreateFileMappingW                     _CreateFileMappingW@24
%define CreateFileW                            _CreateFileW@28
%define CreateIoCompletionPort                 _CreateIoCompletionPort@16
%define CreateMailslotA                        _CreateMailslotA@16
%define CreateMailslotW                        _CreateMailslotW@16
%define CreateMutexA                           _CreateMutexA@12
%define CreateMutexW                           _CreateMutexW@12
%define CreateNamedPipeA                       _CreateNamedPipeA@32
%define CreateNamedPipeW                       _CreateNamedPipeW@32
%define CreatePipe                             _CreatePipe@16
%define CreateProcessA                         _CreateProcessA@40
%define CreateProcessW                         _CreateProcessW@40
%define CreateRemoteThread                     _CreateRemoteThread@28
%define CreateSemaphoreA                       _CreateSemaphoreA@16
%define CreateSemaphoreW                       _CreateSemaphoreW@16
%define CreateTapePartition                    _CreateTapePartition@16
%define CreateThread                           _CreateThread@24
%define CreateVirtualBuffer                    _CreateVirtualBuffer@12
%define CreateWaitableTimerA                   _CreateWaitableTimerA@12
%define CreateWaitableTimerW                   _CreateWaitableTimerW@24
%define DebugActiveProcess                     _DebugActiveProcess@4
%define DebugBreak                             _DebugBreak@0
%define DefineDosDeviceA                       _DefineDosDeviceA@12
%define DefineDosDeviceW                       _DefineDosDeviceW@12
%define DeleteAtom                             _DeleteAtom@4
%define DeleteCriticalSection                  _DeleteCriticalSection@4
%define DeleteFiber                            _DeleteFiber@4
%define DeleteFileA                            _DeleteFileA@4
%define DeleteFileW                            _DeleteFileW@4
%define DeviceIoControl                        _DeviceIoControl@32
%define DisableThreadLibraryCalls              _DisableThreadLibraryCalls@4
%define DisconnectNamedPipe                    _DisconnectNamedPipe@4
%define DosDateTimeToFileTime                  _DosDateTimeToFileTime@12
%define DuplicateConsoleHandle                 _DuplicateConsoleHandle@16
%define DuplicateHandle                        _DuplicateHandle@28
%define EndUpdateResourceA                     _EndUpdateResourceA@8
%define EndUpdateResourceW                     _EndUpdateResourceW@8
%define EnterCriticalSection                   _EnterCriticalSection@4
%define EnumCalendarInfoA                      _EnumCalendarInfoA@16
%define EnumCalendarInfoW                      _EnumCalendarInfoW@16
%define EnumDateFormatsA                       _EnumDateFormatsA@12
%define EnumDateFormatsW                       _EnumDateFormatsW@12
%define EnumResourceLanguagesA                 _EnumResourceLanguagesA@20
%define EnumResourceLanguagesW                 _EnumResourceLanguagesW@20
%define EnumResourceNamesA                     _EnumResourceNamesA@16
%define EnumResourceNamesW                     _EnumResourceNamesW@16
%define EnumResourceTypesA                     _EnumResourceTypesA@12
%define EnumResourceTypesW                     _EnumResourceTypesW@12
%define EnumSystemCodePagesA                   _EnumSystemCodePagesA@8
%define EnumSystemCodePagesW                   _EnumSystemCodePagesW@8
%define EnumSystemLocalesA                     _EnumSystemLocalesA@8
%define EnumSystemLocalesW                     _EnumSystemLocalesW@8
%define EnumTimeFormatsA                       _EnumTimeFormatsA@12
%define EnumTimeFormatsW                       _EnumTimeFormatsW@12
%define EraseTape                              _EraseTape@12
%define EscapeCommFunction                     _EscapeCommFunction@8
%define ExitProcess                            _ExitProcess@4
%define ExitThread                             _ExitThread@4
%define ExitVDM                                _ExitVDM@8
%define ExpandEnvironmentStringsA              _ExpandEnvironmentStringsA@12
%define ExpandEnvironmentStringsW              _ExpandEnvironmentStringsW@12
%define ExpungeConsoleCommandHistoryA          _ExpungeConsoleCommandHistoryA@4
%define ExpungeConsoleCommandHistoryW          _ExpungeConsoleCommandHistoryW@4
%define ExtendVirtualBuffer                    _ExtendVirtualBuffer@8
%define FatalAppExitA                          _FatalAppExitA@8
%define FatalAppExitW                          _FatalAppExitW@8
%define FatalExit                              _FatalExit@4
%define FileTimeToDosDateTime                  _FileTimeToDosDateTime@12
%define FileTimeToLocalFileTime                _FileTimeToLocalFileTime@8
%define FileTimeToSystemTime                   _FileTimeToSystemTime@8
%define FillConsoleOutputAttribute             _FillConsoleOutputAttribute@20
%define FillConsoleOutputCharacterA            _FillConsoleOutputCharacterA@20
%define FillConsoleOutputCharacterW            _FillConsoleOutputCharacterW@20
%define FindAtomA                              _FindAtomA@4
%define FindAtomW                              _FindAtomW@4
%define FindClose                              _FindClose@4
%define FindCloseChangeNotification            _FindCloseChangeNotification@4
%define FindFirstChangeNotificationA           _FindFirstChangeNotificationA@12
%define FindFirstChangeNotificationW           _FindFirstChangeNotificationW@12
%define FindFirstFileA                         _FindFirstFileA@8
%define FindFirstFileExA                       _FindFirstFileExA@24
%define FindFirstFileExW                       _FindFirstFileExW@24
%define FindFirstFileW                         _FindFirstFileW@8
%define FindNextChangeNotification             _FindNextChangeNotification@4
%define FindNextFileA                          _FindNextFileA@8
%define FindNextFileW                          _FindNextFileW@8
%define FindResourceA                          _FindResourceA@12
%define FindResourceExA                        _FindResourceExA@16
%define FindResourceExW                        _FindResourceExW@16
%define FindResourceW                          _FindResourceW@12
%define FlushConsoleInputBuffer                _FlushConsoleInputBuffer@4
%define FlushFileBuffers                       _FlushFileBuffers@4
%define FlushInstructionCache                  _FlushInstructionCache@12
%define FlushViewOfFile                        _FlushViewOfFile@8
%define FoldStringA                            _FoldStringA@20
%define FoldStringW                            _FoldStringW@20
%define FormatMessageA                         _FormatMessageA@28
%define FormatMessageW                         _FormatMessageW@28
%define FreeConsole                            _FreeConsole@0
%define FreeEnvironmentStringsA                _FreeEnvironmentStringsA@4
%define FreeEnvironmentStringsW                _FreeEnvironmentStringsW@4
%define FreeLibrary                            _FreeLibrary@4
%define FreeLibraryAndExitThread               _FreeLibraryAndExitThread@8
%define FreeResource                           _FreeResource@4
%define FreeVirtualBuffer                      _FreeVirtualBuffer@4
%define GenerateConsoleCtrlEvent               _GenerateConsoleCtrlEvent@8
%define GetACP                                 _GetACP@0
%define GetAtomNameA                           _GetAtomNameA@12
%define GetAtomNameW                           _GetAtomNameW@12
%define GetBinaryType                          _GetBinaryType@8
%define GetBinaryTypeA                         _GetBinaryTypeA@8
%define GetBinaryTypeW                         _GetBinaryTypeW@8
%define GetCPInfo                              _GetCPInfo@8
%define GetCommConfig                          _GetCommConfig@12
%define GetCommMask                            _GetCommMask@8
%define GetCommModemStatus                     _GetCommModemStatus@8
%define GetCommProperties                      _GetCommProperties@8
%define GetCommState                           _GetCommState@8
%define GetCommTimeouts                        _GetCommTimeouts@8
%define GetCommandLineA                        _GetCommandLineA@0
%define GetCommandLineW                        _GetCommandLineW@0
%define GetCompressedFileSizeA                 _GetCompressedFileSizeA@8
%define GetCompressedFileSizeW                 _GetCompressedFileSizeW@8
%define GetComputerNameA                       _GetComputerNameA@8
%define GetComputerNameW                       _GetComputerNameW@8
%define GetConsoleAliasA                       _GetConsoleAliasA@16
%define GetConsoleAliasExesA                   _GetConsoleAliasExesA@8
%define GetConsoleAliasExesLengthA             _GetConsoleAliasExesLengthA@0
%define GetConsoleAliasExesLengthW             _GetConsoleAliasExesLengthW@0
%define GetConsoleAliasExesW                   _GetConsoleAliasExesW@8
%define GetConsoleAliasW                       _GetConsoleAliasW@16
%define GetConsoleAliasesA                     _GetConsoleAliasesA@12
%define GetConsoleAliasesLengthA               _GetConsoleAliasesLengthA@4
%define GetConsoleAliasesLengthW               _GetConsoleAliasesLengthW@4
%define GetConsoleAliasesW                     _GetConsoleAliasesW@12
%define GetConsoleCP                           _GetConsoleCP@0
%define GetConsoleCommandHistoryA              _GetConsoleCommandHistoryA@12
%define GetConsoleCommandHistoryLengthA        _GetConsoleCommandHistoryLengthA@4
%define GetConsoleCommandHistoryLengthW        _GetConsoleCommandHistoryLengthW@4
%define GetConsoleCommandHistoryW              _GetConsoleCommandHistoryW@12
%define GetConsoleCursorInfo                   _GetConsoleCursorInfo@8
%define GetConsoleDisplayMode                  _GetConsoleDisplayMode@4
%define GetConsoleFontInfo                     _GetConsoleFontInfo@16
%define GetConsoleFontSize                     _GetConsoleFontSize@8
%define GetConsoleHardwareState                _GetConsoleHardwareState@12
%define GetConsoleInputExeNameA                _GetConsoleInputExeNameA@8
%define GetConsoleInputExeNameW                _GetConsoleInputExeNameW@8
%define GetConsoleInputWaitHandle              _GetConsoleInputWaitHandle@0
%define GetConsoleKeyboardLayoutNameA          _GetConsoleKeyboardLayoutNameA@4
%define GetConsoleKeyboardLayoutNameW          _GetConsoleKeyboardLayoutNameW@4
%define GetConsoleMode                         _GetConsoleMode@8
%define GetConsoleOutputCP                     _GetConsoleOutputCP@0
%define GetConsoleScreenBufferInfo             _GetConsoleScreenBufferInfo@8
%define GetConsoleTitleA                       _GetConsoleTitleA@8
%define GetConsoleTitleW                       _GetConsoleTitleW@8
%define GetCurrencyFormatA                     _GetCurrencyFormatA@24
%define GetCurrencyFormatW                     _GetCurrencyFormatW@24
%define GetCurrentConsoleFont                  _GetCurrentConsoleFont@12
%define GetCurrentDirectoryA                   _GetCurrentDirectoryA@8
%define GetCurrentDirectoryW                   _GetCurrentDirectoryW@8
%define GetCurrentProcess                      _GetCurrentProcess@0
%define GetCurrentProcessId                    _GetCurrentProcessId@0
%define GetCurrentThread                       _GetCurrentThread@0
%define GetCurrentThreadId                     _GetCurrentThreadId@0
%define GetDateFormatA                         _GetDateFormatA@24
%define GetDateFormatW                         _GetDateFormatW@24
%define GetDefaultCommConfigA                  _GetDefaultCommConfigA@12
%define GetDefaultCommConfigW                  _GetDefaultCommConfigW@12
%define GetDiskFreeSpaceA                      _GetDiskFreeSpaceA@20
%define GetDiskFreeSpaceExA                    _GetDiskFreeSpaceExA@16
%define GetDiskFreeSpaceExW                    _GetDiskFreeSpaceExW@16
%define GetDiskFreeSpaceW                      _GetDiskFreeSpaceW@20
%define GetDriveTypeA                          _GetDriveTypeA@4
%define GetDriveTypeW                          _GetDriveTypeW@4
%define GetEnvironmentStrings                  _GetEnvironmentStrings@0
%define GetEnvironmentStringsA                 _GetEnvironmentStringsA@0
%define GetEnvironmentStringsW                 _GetEnvironmentStringsW@0
%define GetEnvironmentVariableA                _GetEnvironmentVariableA@12
%define GetEnvironmentVariableW                _GetEnvironmentVariableW@12
%define GetExitCodeProcess                     _GetExitCodeProcess@8
%define GetExitCodeThread                      _GetExitCodeThread@8
%define GetFileAttributesA                     _GetFileAttributesA@4
%define GetFileAttributesExA                   _GetFileAttributesExA@12
%define GetFileAttributesExW                   _GetFileAttributesExW@12
%define GetFileAttributesW                     _GetFileAttributesW@4
%define GetFileInformationByHandle             _GetFileInformationByHandle@8
%define GetFileSize                            _GetFileSize@8
%define GetFileTime                            _GetFileTime@16
%define GetFileType                            _GetFileType@4
%define GetFullPathNameA                       _GetFullPathNameA@16
%define GetFullPathNameW                       _GetFullPathNameW@16
%define GetHandleInformation                   _GetHandleInformation@8
%define GetLargestConsoleWindowSize            _GetLargestConsoleWindowSize@4
%define GetLastError                           _GetLastError@0
%define GetLocalTime                           _GetLocalTime@4
%define GetLocaleInfoA                         _GetLocaleInfoA@16
%define GetLocaleInfoW                         _GetLocaleInfoW@16
%define GetLogicalDriveStringsA                _GetLogicalDriveStringsA@8
%define GetLogicalDriveStringsW                _GetLogicalDriveStringsW@8
%define GetLogicalDrives                       _GetLogicalDrives@0
%define GetMailslotInfo                        _GetMailslotInfo@20
%define GetModuleFileNameA                     _GetModuleFileNameA@12
%define GetModuleFileNameW                     _GetModuleFileNameW@12
%define GetModuleHandleA                       _GetModuleHandleA@4
%define GetModuleHandleW                       _GetModuleHandleW@4
%define GetNamedPipeHandleStateA               _GetNamedPipeHandleStateA@28
%define GetNamedPipeHandleStateW               _GetNamedPipeHandleStateW@28
%define GetNamedPipeInfo                       _GetNamedPipeInfo@20
%define GetNextVDMCommand                      _GetNextVDMCommand@4
%define GetNumberFormatA                       _GetNumberFormatA@24
%define GetNumberFormatW                       _GetNumberFormatW@24
%define GetNumberOfConsoleFonts                _GetNumberOfConsoleFonts@0
%define GetNumberOfConsoleInputEvents          _GetNumberOfConsoleInputEvents@8
%define GetNumberOfConsoleMouseButtons         _GetNumberOfConsoleMouseButtons@4
%define GetOEMCP                               _GetOEMCP@0
%define GetOverlappedResult                    _GetOverlappedResult@16
%define GetPriorityClass                       _GetPriorityClass@4
%define GetPrivateProfileIntA                  _GetPrivateProfileIntA@16
%define GetPrivateProfileIntW                  _GetPrivateProfileIntW@16
%define GetPrivateProfileSectionA              _GetPrivateProfileSectionA@16
%define GetPrivateProfileSectionNamesA         _GetPrivateProfileSectionNamesA@12
%define GetPrivateProfileSectionNamesW         _GetPrivateProfileSectionNamesW@12
%define GetPrivateProfileSectionW              _GetPrivateProfileSectionW@16
%define GetPrivateProfileStringA               _GetPrivateProfileStringA@24
%define GetPrivateProfileStringW               _GetPrivateProfileStringW@24
%define GetPrivateProfileStructA               _GetPrivateProfileStructA@20
%define GetPrivateProfileStructW               _GetPrivateProfileStructW@20
%define GetProcAddress                         _GetProcAddress@8
%define GetProcessAffinityMask                 _GetProcessAffinityMask@12
%define GetProcessHeap                         _GetProcessHeap@0
%define GetProcessHeaps                        _GetProcessHeaps@8
%define GetProcessPriorityBoost                _GetProcessPriorityBoost@8
%define GetProcessShutdownParameters           _GetProcessShutdownParameters@8
%define GetProcessTimes                        _GetProcessTimes@20
%define GetProcessVersion                      _GetProcessVersion@4
%define GetProcessWorkingSetSize               _GetProcessWorkingSetSize@12
%define GetProfileIntA                         _GetProfileIntA@12
%define GetProfileIntW                         _GetProfileIntW@12
%define GetProfileSectionA                     _GetProfileSectionA@12
%define GetProfileSectionW                     _GetProfileSectionW@12
%define GetProfileStringA                      _GetProfileStringA@20
%define GetProfileStringW                      _GetProfileStringW@20
%define GetQueuedCompletionStatus              _GetQueuedCompletionStatus@20
%define GetShortPathNameA                      _GetShortPathNameA@12
%define GetShortPathNameW                      _GetShortPathNameW@12
%define GetStartupInfoA                        _GetStartupInfoA@4
%define GetStartupInfoW                        _GetStartupInfoW@4
%define GetStdHandle                           _GetStdHandle@4
%define GetStringTypeA                         _GetStringTypeA@20
%define GetStringTypeExA                       _GetStringTypeExA@20
%define GetStringTypeExW                       _GetStringTypeExW@20
%define GetStringTypeW                         _GetStringTypeW@16
%define GetSystemDefaultLCID                   _GetSystemDefaultLCID@0
%define GetSystemDefaultLangID                 _GetSystemDefaultLangID@0
%define GetSystemDirectoryA                    _GetSystemDirectoryA@8
%define GetSystemDirectoryW                    _GetSystemDirectoryW@8
%define GetSystemInfo                          _GetSystemInfo@4
%define GetSystemPowerStatus                   _GetSystemPowerStatus@4
%define GetSystemTime                          _GetSystemTime@4
%define GetSystemTimeAdjustment                _GetSystemTimeAdjustment@12
%define GetSystemTimeAsFileTime                _GetSystemTimeAsFileTime@4
%define GetTapeParameters                      _GetTapeParameters@16
%define GetTapePosition                        _GetTapePosition@20
%define GetTapeStatus                          _GetTapeStatus@4
%define GetTempFileNameA                       _GetTempFileNameA@16
%define GetTempFileNameW                       _GetTempFileNameW@16
%define GetTempPathA                           _GetTempPathA@8
%define GetTempPathW                           _GetTempPathW@8
%define GetThreadContext                       _GetThreadContext@8
%define GetThreadLocale                        _GetThreadLocale@0
%define GetThreadPriority                      _GetThreadPriority@4
%define GetThreadPriorityBoost                 _GetThreadPriorityBoost@8
%define GetThreadSelectorEntry                 _GetThreadSelectorEntry@12
%define GetThreadTimes                         _GetThreadTimes@20
%define GetTickCount                           _GetTickCount@0
%define GetTimeFormatA                         _GetTimeFormatA@24
%define GetTimeFormatW                         _GetTimeFormatW@24
%define GetTimeZoneInformation                 _GetTimeZoneInformation@4
%define GetUserDefaultLCID                     _GetUserDefaultLCID@0
%define GetUserDefaultLangID                   _GetUserDefaultLangID@0
%define GetVDMCurrentDirectories               _GetVDMCurrentDirectories@8
%define GetVersion                             _GetVersion@0
%define GetVersionExA                          _GetVersionExA@4
%define GetVersionExW                          _GetVersionExW@4
%define GetVolumeInformationA                  _GetVolumeInformationA@32
%define GetVolumeInformationW                  _GetVolumeInformationW@32
%define GetWindowsDirectoryA                   _GetWindowsDirectoryA@8
%define GetWindowsDirectoryW                   _GetWindowsDirectoryW@8
%define GlobalAddAtomA                         _GlobalAddAtomA@4
%define GlobalAddAtomW                         _GlobalAddAtomW@4
%define GlobalAlloc                            _GlobalAlloc@8
%define GlobalCompact                          _GlobalCompact@4
%define GlobalDeleteAtom                       _GlobalDeleteAtom@4
%define GlobalFindAtomA                        _GlobalFindAtomA@4
%define GlobalFindAtomW                        _GlobalFindAtomW@4
%define GlobalFix                              _GlobalFix@4
%define GlobalFlags                            _GlobalFlags@4
%define GlobalFree                             _GlobalFree@4
%define GlobalGetAtomNameA                     _GlobalGetAtomNameA@12
%define GlobalGetAtomNameW                     _GlobalGetAtomNameW@12
%define GlobalHandle                           _GlobalHandle@4
%define GlobalLock                             _GlobalLock@4
%define GlobalMemoryStatus                     _GlobalMemoryStatus@4
%define GlobalReAlloc                          _GlobalReAlloc@12
%define GlobalSize                             _GlobalSize@4
%define GlobalUnWire                           _GlobalUnWire@4
%define GlobalUnfix                            _GlobalUnfix@4
%define GlobalUnlock                           _GlobalUnlock@4
%define GlobalWire                             _GlobalWire@4
%define HeapAlloc                              _HeapAlloc@12
%define HeapCompact                            _HeapCompact@8
%define HeapCreate                             _HeapCreate@12
%define HeapDestroy                            _HeapDestroy@4
%define HeapExtend                             _HeapExtend@16
%define HeapFree                               _HeapFree@12
%define HeapLock                               _HeapLock@4
%define HeapReAlloc                            _HeapReAlloc@16
%define HeapSize                               _HeapSize@12
%define HeapUnlock                             _HeapUnlock@4
%define HeapWalk                               _HeapWalk@8
%define InitAtomTable                          _InitAtomTable@4
%define InitializeCriticalSection              _InitializeCriticalSection@4
%define InterlockedCompareExchange             _InterlockedCompareExchange@12
%define InterlockedDecrement                   _InterlockedDecrement@4
%define InterlockedExchange                    _InterlockedExchange@8
%define InterlockedExchangeAdd                 _InterlockedExchangeAdd@8
%define InterlockedIncrement                   _InterlockedIncrement@4
%define InvalidateConsoleDIBits                _InvalidateConsoleDIBits@8
%define IsBadCodePtr                           _IsBadCodePtr@4
%define IsBadHugeReadPtr                       _IsBadHugeReadPtr@8
%define IsBadHugeWritePtr                      _IsBadHugeWritePtr@8
%define IsBadReadPtr                           _IsBadReadPtr@8
%define IsBadStringPtrA                        _IsBadStringPtrA@8
%define IsBadStringPtrW                        _IsBadStringPtrW@8
%define IsBadWritePtr                          _IsBadWritePtr@8
%define IsDBCSLeadByte                         _IsDBCSLeadByte@4
%define IsDBCSLeadByteEx                       _IsDBCSLeadByteEx@8
%define IsDebuggerPresent                      _IsDebuggerPresent@0
%define IsProcessorFeaturePresent              _IsProcessorFeaturePresent@4
%define IsValidCodePage                        _IsValidCodePage@4
%define IsValidLocale                          _IsValidLocale@8
%define LCMapStringA                           _LCMapStringA@24
%define LCMapStringW                           _LCMapStringW@24
%define LeaveCriticalSection                   _LeaveCriticalSection@4
%define LoadLibraryA                           _LoadLibraryA@4
%define LoadLibraryExA                         _LoadLibraryExA@12
%define LoadLibraryExW                         _LoadLibraryExW@12
%define LoadLibraryW                           _LoadLibraryW@4
%define LoadModule                             _LoadModule@8
%define LoadResource                           _LoadResource@8
%define LocalAlloc                             _LocalAlloc@8
%define LocalCompact                           _LocalCompact@4
%define LocalFileTimeToFileTime                _LocalFileTimeToFileTime@8
%define LocalFlags                             _LocalFlags@4
%define LocalFree                              _LocalFree@4
%define LocalHandle                            _LocalHandle@4
%define LocalLock                              _LocalLock@4
%define LocalReAlloc                           _LocalReAlloc@12
%define LocalShrink                            _LocalShrink@8
%define LocalSize                              _LocalSize@4
%define LocalUnlock                            _LocalUnlock@4
%define LockFile                               _LockFile@20
%define LockFileEx                             _LockFileEx@24
%define LockResource                           _LockResource@4
%define MapViewOfFile                          _MapViewOfFile@20
%define MapViewOfFileEx                        _MapViewOfFileEx@24
%define MoveFileA                              _MoveFileA@8
%define MoveFileExA                            _MoveFileExA@12
%define MoveFileExW                            _MoveFileExW@12
%define MoveFileW                              _MoveFileW@8
%define MulDiv                                 _MulDiv@12
%define MultiByteToWideChar                    _MultiByteToWideChar@24
%define OpenConsoleW                           _OpenConsoleW@16
%define OpenEventA                             _OpenEventA@12
%define OpenEventW                             _OpenEventW@12
%define OpenFile                               _OpenFile@12
%define OpenFileMappingA                       _OpenFileMappingA@12
%define OpenFileMappingW                       _OpenFileMappingW@12
%define OpenMutexA                             _OpenMutexA@12
%define OpenMutexW                             _OpenMutexW@12
%define OpenProcess                            _OpenProcess@12
%define OpenProfileUserMapping                 _OpenProfileUserMapping@0
%define OpenSemaphoreA                         _OpenSemaphoreA@12
%define OpenSemaphoreW                         _OpenSemaphoreW@12
%define OpenWaitableTimerA                     _OpenWaitableTimerA@12
%define OpenWaitableTimerW                     _OpenWaitableTimerW@12
%define OutputDebugStringA                     _OutputDebugStringA@4
%define OutputDebugStringW                     _OutputDebugStringW@4
%define PeekConsoleInputA                      _PeekConsoleInputA@16
%define PeekConsoleInputW                      _PeekConsoleInputW@16
%define PeekNamedPipe                          _PeekNamedPipe@24
%define PostQueuedCompletionStatus             _PostQueuedCompletionStatus@16
%define PrepareTape                            _PrepareTape@12
%define PulseEvent                             _PulseEvent@4
%define PurgeComm                              _PurgeComm@8
%define QueryDosDeviceA                        _QueryDosDeviceA@12
%define QueryDosDeviceW                        _QueryDosDeviceW@12
%define QueryPerformanceCounter                _QueryPerformanceCounter@4
%define QueryPerformanceFrequency              _QueryPerformanceFrequency@4
%define QueryWin31IniFilesMappedToRegistry     _QueryWin31IniFilesMappedToRegistry@16
%define QueueUserAPC                           _QueueUserAPC@12
%define RaiseException                         _RaiseException@16
%define ReadConsoleA                           _ReadConsoleA@20
%define ReadConsoleInputA                      _ReadConsoleInputA@16
%define ReadConsoleInputExA                    _ReadConsoleInputExA@20
%define ReadConsoleInputExW                    _ReadConsoleInputExW@20
%define ReadConsoleInputW                      _ReadConsoleInputW@16
%define ReadConsoleOutputA                     _ReadConsoleOutputA@20
%define ReadConsoleOutputAttribute             _ReadConsoleOutputAttribute@20
%define ReadConsoleOutputCharacterA            _ReadConsoleOutputCharacterA@20
%define ReadConsoleOutputCharacterW            _ReadConsoleOutputCharacterW@20
%define ReadConsoleOutputW                     _ReadConsoleOutputW@20
%define ReadConsoleW                           _ReadConsoleW@20
%define ReadDirectoryChangesW                  _ReadDirectoryChangesW@32
%define ReadFile                               _ReadFile@20
%define ReadFileEx                             _ReadFileEx@20
%define ReadProcessMemory                      _ReadProcessMemory@20
%define RegisterConsoleVDM                     _RegisterConsoleVDM@44
%define RegisterWaitForInputIdle               _RegisterWaitForInputIdle@4
%define RegisterWowBaseHandlers                _RegisterWowBaseHandlers@4
%define RegisterWowExec                        _RegisterWowExec@4
%define ReleaseMutex                           _ReleaseMutex@4
%define ReleaseSemaphore                       _ReleaseSemaphore@12
%define RemoveDirectoryA                       _RemoveDirectoryA@4
%define RemoveDirectoryW                       _RemoveDirectoryW@4
%define ResetEvent                             _ResetEvent@4
%define ResumeThread                           _ResumeThread@4
%define RtlFillMemory                          _RtlFillMemory@12
%define RtlMoveMemory                          _RtlMoveMemory@12
%define RtlUnwind                              _RtlUnwind@16
%define RtlZeroMemory                          _RtlZeroMemory@8
%define ScrollConsoleScreenBufferA             _ScrollConsoleScreenBufferA@20
%define ScrollConsoleScreenBufferW             _ScrollConsoleScreenBufferW@20
%define SearchPathA                            _SearchPathA@24
%define SearchPathW                            _SearchPathW@24
%define SetCommBreak                           _SetCommBreak@4
%define SetCommConfig                          _SetCommConfig@12
%define SetCommMask                            _SetCommMask@8
%define SetCommState                           _SetCommState@8
%define SetCommTimeouts                        _SetCommTimeouts@8
%define SetComputerNameA                       _SetComputerNameA@4
%define SetComputerNameW                       _SetComputerNameW@4
%define SetConsoleActiveScreenBuffer           _SetConsoleActiveScreenBuffer@4
%define SetConsoleCP                           _SetConsoleCP@4
%define SetConsoleCommandHistoryMode           _SetConsoleCommandHistoryMode@4
%define SetConsoleCtrlHandler                  _SetConsoleCtrlHandler@8
%define SetConsoleCursor                       _SetConsoleCursor@8
%define SetConsoleCursorInfo                   _SetConsoleCursorInfo@8
%define SetConsoleCursorPosition               _SetConsoleCursorPosition@8
%define SetConsoleDisplayMode                  _SetConsoleDisplayMode@12
%define SetConsoleFont                         _SetConsoleFont@8
%define SetConsoleHardwareState                _SetConsoleHardwareState@12
%define SetConsoleIcon                         _SetConsoleIcon@4
%define SetConsoleInputExeNameA                _SetConsoleInputExeNameA@4
%define SetConsoleInputExeNameW                _SetConsoleInputExeNameW@4
%define SetConsoleKeyShortcuts                 _SetConsoleKeyShortcuts@16
%define SetConsoleMaximumWindowSize            _SetConsoleMaximumWindowSize@8
%define SetConsoleMenuClose                    _SetConsoleMenuClose@4
%define SetConsoleMode                         _SetConsoleMode@8
%define SetConsoleNumberOfCommandsA            _SetConsoleNumberOfCommandsA@8
%define SetConsoleNumberOfCommandsW            _SetConsoleNumberOfCommandsW@8
%define SetConsoleOutputCP                     _SetConsoleOutputCP@4
%define SetConsolePalette                      _SetConsolePalette@12
%define SetConsoleScreenBufferSize             _SetConsoleScreenBufferSize@8
%define SetConsoleTextAttribute                _SetConsoleTextAttribute@8
%define SetConsoleTitleA                       _SetConsoleTitleA@4
%define SetConsoleTitleW                       _SetConsoleTitleW@4
%define SetConsoleWindowInfo                   _SetConsoleWindowInfo@12
%define SetCurrentDirectoryA                   _SetCurrentDirectoryA@4
%define SetCurrentDirectoryW                   _SetCurrentDirectoryW@4
%define SetDefaultCommConfigA                  _SetDefaultCommConfigA@12
%define SetDefaultCommConfigW                  _SetDefaultCommConfigW@12
%define SetEndOfFile                           _SetEndOfFile@4
%define SetEnvironmentVariableA                _SetEnvironmentVariableA@8
%define SetEnvironmentVariableW                _SetEnvironmentVariableW@8
%define SetErrorMode                           _SetErrorMode@4
%define SetEvent                               _SetEvent@4
%define SetFileApisToANSI                      _SetFileApisToANSI@0
%define SetFileApisToOEM                       _SetFileApisToOEM@0
%define SetFileAttributesA                     _SetFileAttributesA@8
%define SetFileAttributesW                     _SetFileAttributesW@8
%define SetFilePointer                         _SetFilePointer@16
%define SetFileTime                            _SetFileTime@16
%define SetHandleCount                         _SetHandleCount@4
%define SetHandleInformation                   _SetHandleInformation@12
%define SetLastConsoleEventActive              _SetLastConsoleEventActive@0
%define SetLastError                           _SetLastError@4
%define SetLocalTime                           _SetLocalTime@4
%define SetLocaleInfoA                         _SetLocaleInfoA@12
%define SetLocaleInfoW                         _SetLocaleInfoW@12
%define SetMailslotInfo                        _SetMailslotInfo@8
%define SetNamedPipeHandleState                _SetNamedPipeHandleState@16
%define SetPriorityClass                       _SetPriorityClass@8
%define SetProcessAffinityMask                 _SetProcessAffinityMask@8
%define SetProcessPriorityBoost                _SetProcessPriorityBoost@8
%define SetProcessShutdownParameters           _SetProcessShutdownParameters@8
%define SetProcessWorkingSetSize               _SetProcessWorkingSetSize@12
%define SetStdHandle                           _SetStdHandle@8
%define SetSystemPowerState                    _SetSystemPowerState@8
%define SetSystemTime                          _SetSystemTime@4
%define SetSystemTimeAdjustment                _SetSystemTimeAdjustment@8
%define SetTapeParameters                      _SetTapeParameters@12
%define SetTapePosition                        _SetTapePosition@24
%define SetThreadAffinityMask                  _SetThreadAffinityMask@8
%define SetThreadContext                       _SetThreadContext@8
%define SetThreadIdealProcessor                _SetThreadIdealProcessor@8
%define SetThreadLocale                        _SetThreadLocale@4
%define SetThreadPriority                      _SetThreadPriority@8
%define SetThreadPriorityBoost                 _SetThreadPriorityBoost@8
%define SetTimeZoneInformation                 _SetTimeZoneInformation@4
%define SetUnhandledExceptionFilter            _SetUnhandledExceptionFilter@4
%define SetVDMCurrentDirectories               _SetVDMCurrentDirectories@8
%define SetVolumeLabelA                        _SetVolumeLabelA@8
%define SetVolumeLabelW                        _SetVolumeLabelW@8
%define SetWaitableTimer                       _SetWaitableTimer@24
%define SetupComm                              _SetupComm@12
%define ShowConsoleCursor                      _ShowConsoleCursor@8
%define SignalObjectAndWait                    _SignalObjectAndWait@16
%define SizeofResource                         _SizeofResource@8
%define Sleep                                  _Sleep@4
%define SleepEx                                _SleepEx@8
%define SuspendThread                          _SuspendThread@4
%define SwitchToFiber                          _SwitchToFiber@4
%define SwitchToThread                         _SwitchToThread@0
%define SystemTimeToFileTime                   _SystemTimeToFileTime@8
%define SystemTimeToTzSpecificLocalTime        _SystemTimeToTzSpecificLocalTime@12
%define TerminateProcess                       _TerminateProcess@8
%define TerminateThread                        _TerminateThread@8
%define TlsAlloc                               _TlsAlloc@0
%define TlsFree                                _TlsFree@4
%define TlsGetValue                            _TlsGetValue@4
%define TlsSetValue                            _TlsSetValue@8
%define TransactNamedPipe                      _TransactNamedPipe@28
%define TransmitCommChar                       _TransmitCommChar@8
%define TrimVirtualBuffer                      _TrimVirtualBuffer@4
%define TryEnterCriticalSection                _TryEnterCriticalSection@4
%define UnhandledExceptionFilter               _UnhandledExceptionFilter@4
%define UnlockFile                             _UnlockFile@20
%define UnlockFileEx                           _UnlockFileEx@20
%define UnmapViewOfFile                        _UnmapViewOfFile@4
%define UpdateResourceA                        _UpdateResourceA@24
%define UpdateResourceW                        _UpdateResourceW@24
%define VDMConsoleOperation                    _VDMConsoleOperation@8
%define VDMOperationStarted                    _VDMOperationStarted@4
%define VerLanguageNameA                       _VerLanguageNameA@12
%define VerLanguageNameW                       _VerLanguageNameW@12
%define VerifyConsoleIoHandle                  _VerifyConsoleIoHandle@4
%define VirtualAlloc                           _VirtualAlloc@16
%define VirtualAllocEx                         _VirtualAllocEx@20
%define VirtualBufferExceptionHandler          _VirtualBufferExceptionHandler@12
%define VirtualFree                            _VirtualFree@12
%define VirtualFreeEx                          _VirtualFreeEx@16
%define VirtualLock                            _VirtualLock@8
%define VirtualProtect                         _VirtualProtect@16
%define VirtualProtectEx                       _VirtualProtectEx@20
%define VirtualQuery                           _VirtualQuery@12
%define VirtualQueryEx                         _VirtualQueryEx@16
%define VirtualUnlock                          _VirtualUnlock@8
%define WaitCommEvent                          _WaitCommEvent@12
%define WaitForDebugEvent                      _WaitForDebugEvent@8
%define WaitForMultipleObjects                 _WaitForMultipleObjects@16
%define WaitForMultipleObjectsEx               _WaitForMultipleObjectsEx@20
%define WaitForSingleObject                    _WaitForSingleObject@8
%define WaitForSingleObjectEx                  _WaitForSingleObjectEx@12
%define WaitNamedPipeA                         _WaitNamedPipeA@8
%define WaitNamedPipeW                         _WaitNamedPipeW@8
%define WideCharToMultiByte                    _WideCharToMultiByte@32
%define WinExec                                _WinExec@8
%define WriteConsoleA                          _WriteConsoleA@20
%define WriteConsoleInputA                     _WriteConsoleInputA@16
%define WriteConsoleInputVDMA                  _WriteConsoleInputVDMA@16
%define WriteConsoleInputVDMW                  _WriteConsoleInputVDMW@16
%define WriteConsoleInputW                     _WriteConsoleInputW@16
%define WriteConsoleOutputA                    _WriteConsoleOutputA@20
%define WriteConsoleOutputAttribute            _WriteConsoleOutputAttribute@20
%define WriteConsoleOutputCharacterA           _WriteConsoleOutputCharacterA@20
%define WriteConsoleOutputCharacterW           _WriteConsoleOutputCharacterW@20
%define WriteConsoleOutputW                    _WriteConsoleOutputW@20
%define WriteConsoleW                          _WriteConsoleW@20
%define WriteFile                              _WriteFile@20
%define WriteFileEx                            _WriteFileEx@20
%define WritePrivateProfileSectionA            _WritePrivateProfileSectionA@12
%define WritePrivateProfileSectionW            _WritePrivateProfileSectionW@12
%define WritePrivateProfileStringA             _WritePrivateProfileStringA@16
%define WritePrivateProfileStringW             _WritePrivateProfileStringW@16
%define WritePrivateProfileStructA             _WritePrivateProfileStructA@20
%define WritePrivateProfileStructW             _WritePrivateProfileStructW@20
%define WriteProcessMemory                     _WriteProcessMemory@20
%define WriteProfileSectionA                   _WriteProfileSectionA@8
%define WriteProfileSectionW                   _WriteProfileSectionW@8
%define WriteProfileStringA                    _WriteProfileStringA@12
%define WriteProfileStringW                    _WriteProfileStringW@12
%define WriteTapemark                          _WriteTapemark@16
%define _hread                                 __hread@12
%define _hwrite                                __hwrite@12
%define _lclose                                __lclose@4
%define _lcreat                                __lcreat@8
%define _llseek                                __llseek@12
%define _lopen                                 __lopen@8
%define _lread                                 __lread@12
%define _lwrite                                __lwrite@12
%define lstrcat                                _lstrcat@8
%define lstrcatA                               _lstrcatA@8
%define lstrcatW                               _lstrcatW@8
%define lstrcmp                                _lstrcmp@8
%define lstrcmpA                               _lstrcmpA@8
%define lstrcmpW                               _lstrcmpW@8
%define lstrcmpi                               _lstrcmpi@8
%define lstrcmpiA                              _lstrcmpiA@8
%define lstrcmpiW                              _lstrcmpiW@8
%define lstrcpy                                _lstrcpy@8
%define lstrcpyA                               _lstrcpyA@8
%define lstrcpyW                               _lstrcpyW@8
%define lstrcpyn                               _lstrcpyn@12
%define lstrcpynA                              _lstrcpynA@12
%define lstrcpynW                              _lstrcpynW@12
%define lstrlen                                _lstrlen@4
%define lstrlenA                               _lstrlenA@4
%define lstrlenW                               _lstrlenW@4

%endif