; $Id: KERNEL32.DEF,v 1.164 2004-05-24 08:56:05 sandervl Exp $

;Basis is Windows95 KERNEL32
LIBRARY KERNEL32 INITINSTANCE TERMINSTANCE
DATA MULTIPLE NONSHARED LOADONCALL
CODE SHARED LOADONCALL

DESCRIPTION 'Odin32 System DLL - Kernel32'

SEGMENTS

   _GLOBALDATA CLASS 'DATA'       SHARED LOADONCALL READWRITE

IMPORTS
  _Dos32QueryModFromEIP        =  DOSCALLS.360
   Dos32QueryModFromEIP        =  DOSCALLS.360
  _DosQueryModFromEIP          =  DOSCALLS.360
   DosQueryModFromEIP          =  DOSCALLS.360
   DosAliasMem                 =  DOSCALLS.298
  _DosAliasMem                 =  DOSCALLS.298
   DosQuerySysState            =  DOSCALLS.368
  _DosQuerySysState            =  DOSCALLS.368

  WinQueueFromID                = PMMERGE.5313

  Win32WaitForIdleThread        = PMMERGE.5474
  LookupAtom                    = PMMERGE.10020

  _O32_RegCloseKey              = REGISTRY.1
  _O32_RegCreateKey             = REGISTRY.3
  _O32_RegCreateKeyEx           = REGISTRY.4
  _O32_RegDeleteKey             = REGISTRY.7
  _O32_RegDeleteValue           = REGISTRY.9
  _O32_RegEnumKey               = REGISTRY.11
  _O32_RegEnumKeyEx             = REGISTRY.12
  _O32_RegEnumValue             = REGISTRY.15
  _O32_RegFlushKey              = REGISTRY.17
  _O32_RegOpenKey               = REGISTRY.22
  _O32_RegOpenKeyEx             = REGISTRY.23
  _O32_RegQueryInfoKey          = REGISTRY.26
  _O32_RegQueryValue            = REGISTRY.30
  _O32_RegQueryValueEx          = REGISTRY.31
  _O32_RegSetValue              = REGISTRY.42
  _O32_RegSetValueEx            = REGISTRY.43

EXPORTS

;-----------------------------------
; ordinal exports (Windows 95 only)
;-----------------------------------

;  Ordinal0001 = _OS2Ordinal0001@??           @1
;  Ordinal0002 = _OS2Ordinal0002@??           @2
;  Ordinal0003 = _OS2Ordinal0003@??           @3
;  Ordinal0004 = _OS2Ordinal0004@??           @4
;  Ordinal0005 = _OS2Ordinal0005@??           @5
;  Ordinal0006 = _OS2Ordinal0006@??           @6
;  Ordinal0007 = _OS2Ordinal0007@??           @7
;  Ordinal0008 = _OS2Ordinal0008@??           @8
;  Ordinal0009 = _OS2Ordinal0009@??           @9
;  Ordinal0010 = _OS2Ordinal0010@??           @10
;  Ordinal0011 = _OS2Ordinal0011@??           @11
;  Ordinal0012 = _OS2Ordinal0012@??           @12
;  Ordinal0013 = _OS2Ordinal0013@??           @13
;  Ordinal0014 = _OS2Ordinal0014@??           @14
;  Ordinal0015 = _OS2Ordinal0015@??           @15
   Ordinal0016 = _KERNEL32_16@12              @16
   Ordinal0017 = _KERNEL32_17@4               @17
;  Ordinal0018 = _OS2Ordinal0018@??           @18
;  Ordinal0019 = _OS2Ordinal0019@??           @19
;  Ordinal0020 = _OS2Ordinal0020@??           @20
;  Ordinal0021 = _OS2Ordinal0021@??           @21
;  Ordinal0022 = _OS2Ordinal0022@??           @22
;  Ordinal0023 = _OS2Ordinal0023@??           @23
;  Ordinal0024 = _OS2Ordinal0024@??           @24
;  Ordinal0025 = _OS2Ordinal0025@??           @25
;  Ordinal0026 = _OS2Ordinal0026@??           @26
;  Ordinal0027 = _OS2Ordinal0027@??           @27
;  Ordinal0028 = _OS2Ordinal0028@??           @28
;  Ordinal0029 = _OS2Ordinal0029@??           @29
;  Ordinal0030 = _OS2Ordinal0030@??           @30
;  Ordinal0031 = _OS2Ordinal0031@??           @31
;  Ordinal0032 = _OS2Ordinal0032@??           @32
;  Ordinal0033 = _OS2Ordinal0033@??           @33
;  Ordinal0034 = _OS2Ordinal0034@??           @34
;  Ordinal0035 = _OS2Ordinal0035@??           @35
;  Ordinal0036 = _OS2Ordinal0036@??           @36
;  Ordinal0037 = _OS2Ordinal0037@??           @37
;  Ordinal0038 = _OS2Ordinal0038@??           @38
;  Ordinal0039 = _OS2Ordinal0039@??           @39
;  Ordinal0040 = _OS2Ordinal0040@??           @40
;  Ordinal0041 = _OS2Ordinal0041@??           @41
   Ordinal0042 = _NullFunction@0              @42
;  Ordinal0043 = _OS2Ordinal0043@??           @43
;  Ordinal0044 = _OS2Ordinal0044@??           @44
;  Ordinal0045 = _OS2Ordinal0045@??           @45
;  Ordinal0046 = _OS2Ordinal0046@??           @46
   Ordinal0047 = _NullFunction@0              @47
;  Ordinal0048 = _OS2Ordinal0048@??           @49
;  Ordinal0049 = _OS2Ordinal0049@??           @49
;  Ordinal0051 = _OS2Ordinal0051@??           @51
;  Ordinal0052 = _OS2Ordinal0052@??           @52
;  Ordinal0053 = _OS2Ordinal0053@??           @53
;  Ordinal0054 = _OS2Ordinal0054@??           @54 ; forwarded from WOW32.WOWCallback16
;  Ordinal0055 = _OS2Ordinal0055@??           @55 ; forwarded from WOW32.WOWCallback16Ex
;  Ordinal0056 = _OS2Ordinal0056@??           @56 ; forwarded from WOW32.WOWGetVDMPointer
;  Ordinal0057 = _OS2Ordinal0057@??           @57 ; forwarded from WOW32.WOWHandle32
;  Ordinal0058 = _OS2Ordinal0058@??           @58 ; forwarded from WOW32.WOWHandle16
;  Ordinal0059 = _OS2Ordinal0059@??           @59 ; forwarded from WOW32.WOWGlobalAlloc16
;  Ordinal0050 = _OS2Ordinal0060@??           @60 ; forwarded from WOW32.WOWGlobalLock16
;  Ordinal0061 = _OS2Ordinal0061@??           @61 ; forwarded from WOW32.WOWGlobalUnlock16
;  Ordinal0062 = _OS2Ordinal0062@??           @62 ; forwarded from WOW32.WOWGlobalFree16
;  Ordinal0063 = _OS2Ordinal0063@??           @63 ; forwarded from WOW32.WOWGlobalAllocLock16
;  Ordinal0064 = _OS2Ordinal0064@??           @64 ; forwarded from WOW32.WOWGlobalUnlockFree16
;  Ordinal0065 = _OS2Ordinal0065@??           @65 ; forwarded from WOW32.WOWGlobalLockSize16
;  Ordinal0066 = _OS2Ordinal0066@??           @66 ; forwarded from WOW32.WOWYield16
;  Ordinal0067 = _OS2Ordinal0067@??           @67 ; forwarded from WOW32.WOWDirectedYield16
;  Ordinal0068 = _OS2Ordinal0068@??           @68 : forwarded from WOW32.WOWGetVDMPointerFix
;  Ordinal0069 = _OS2Ordinal0069@??           @69 ; forwarded from WOW32.WOWGetVDMPointerUnfix
;  Ordinal0070 = _OS2Ordinal0070@??           @70 ; forwarded from WOW32.WOW32_1
;  Ordinal0071 = _OS2Ordinal0071@??           @71
;  Ordinal0072 = _OS2Ordinal0072@??           @72
;  Ordinal0073 = _OS2Ordinal0073@??           @73
;  Ordinal0074 = _OS2Ordinal0074@??           @74
;  Ordinal0075 = _OS2Ordinal0075@??           @75
;  Ordinal0076 = _OS2Ordinal0076@??           @76
;  Ordinal0077 = _OS2Ordinal0077@??           @77
;  Ordinal0078 = _OS2Ordinal0078@??           @78
;  Ordinal0079 = _OS2Ordinal0079@??           @79
;  Ordinal0080 = _OS2Ordinal0080@??           @80
;  Ordinal0081 = _OS2Ordinal0081@??           @81
;  Ordinal0082 = _OS2Ordinal0082@??           @82
;  Ordinal0083 = _OS2Ordinal0083@??           @83
;  Ordinal0084 = _OS2Ordinal0084@??           @84
;  Ordinal0085 = _OS2Ordinal0085@??           @85
;  Ordinal0086 = _OS2Ordinal0086@??           @86
;  Ordinal0087 = _OS2Ordinal0087@??           @87
;  Ordinal0088 = _OS2Ordinal0088@??           @88
;  Ordinal0089 = _OS2Ordinal0089@??           @89
;  Ordinal0090 = _OS2Ordinal0090@??           @90
;  Ordinal0091 = _OS2Ordinal0091@??           @91
;  Ordinal0092 = _OS2Ordinal0092@??           @92
;  Ordinal0093 = _OS2Ordinal0093@??           @93
;  Ordinal0094 = _OS2Ordinal0094@??           @94
;  Ordinal0095 = _OS2Ordinal0095@??           @95
;  Ordinal0096 = _OS2Ordinal0096@??           @96
;  Ordinal0097 = _OS2Ordinal0097@??           @97
;  Ordinal0098 = _OS2Ordinal0098@??           @98
                 _KERNEL32_99@4               @99 NONAME
                 _KERNEL32_100@12             @100 NONAME
;  Ordinal0101 = _OS2Ordinal0101@??           @101


;--------------
; name exports
;--------------

;;Not supported; just present
     LoadLibrary16              = _LoadLibrary16@4                @35
     FreeLibrary16              = _FreeLibrary16@4                @36
     GetProcAddress16           = _GetProcAddress16@8             @37
     ReleaseThunkLock           = _ReleaseThunkLock@4             @48
     RestoreThunkLock           = _RestoreThunkLock@4             @49
     _ConfirmWin16Lock          = __ConfirmWin16Lock@0            @96

     AddAtomA                   = _AddAtomA@4                      @50
     AddAtomW                   = _AddAtomW@4                      @102
;    AddConsoleAliasA           = _AddConsoleAliasA@??             @2    ;NT
;    AddConsoleAliasW           = _AddConsoleAliasW@??             @3     ;NT
     AllocConsole               = _AllocConsole@0                  @103
;    AllocLSCallback            = _AllocLSCallback@??              @104  ;W95
;    AllocSLCallback            = _AllocSLCallback@??              @105  ;W95
     AreFileApisANSI            = _AreFileApisANSI@0               @106
     BackupRead                 = _BackupRead@28                   @107
     BackupSeek                 = _BackupSeek@24                   @108
     BackupWrite                = _BackupWrite@28                  @109
;    BaseAttachCompleteThunk    = _BaseAttachCompleteThunk@??      @9     ;NT
     Beep                       = _Beep@8                          @110
     BeginUpdateResourceA       = _BeginUpdateResourceA@8          @111
     BeginUpdateResourceW       = _BeginUpdateResourceW@8          @112
     BuildCommDCBA              = _BuildCommDCBA@8                 @113
     BuildCommDCBAndTimeoutsA   = _BuildCommDCBAndTimeoutsA@12     @114
     BuildCommDCBAndTimeoutsW   = _BuildCommDCBAndTimeoutsW@12     @115
     BuildCommDCBW              = _BuildCommDCBW@8                 @116
     CallNamedPipeA             = _CallNamedPipeA@28               @117
     CallNamedPipeW             = _CallNamedPipeW@28               @118
;    Callback12                 = _Callback12@??                   @119  ;W95
;    Callback16                 = _Callback16@??                   @120  ;W95
;    Callback20                 = _Callback20@??                   @121  ;W95
;    Callback24                 = _Callback24@??                   @122  ;W95
;    Callback28                 = _Callback28@??                   @123  ;W95
;    Callback32                 = _Callback32@??                   @124  ;W95
;    Callback36                 = _Callback36@??                   @125  ;W95
;    Callback40                 = _Callback40@??                   @126  ;W95
;    Callback44                 = _Callback44@??                   @127  ;W95
;    Callback48                 = _Callback48@??                   @128  ;W95
;    Callback4                  = _Callback4@??                    @129  ;W95
;    Callback52                 = _Callback52@??                   @130  ;W95
;    Callback56                 = _Callback56@??                   @131  ;W95
;    Callback60                 = _Callback60@??                   @132  ;W95
;    Callback64                 = _Callback64@??                   @133  ;W95
;    Callback8                  = _Callback8@??                    @134  ;W95
     CancelIo                   = _CancelIo@4                      @19   ;NT
     CancelWaitableTimer        = _CancelWaitableTimer@4           @20   ;NT
     ClearCommBreak             = _ClearCommBreak@4                @135
     ClearCommError             = _ClearCommError@12               @136
     CloseHandle                = _CloseHandle@4                   @137
;    CloseConsoleHandle         = _CloseConsoleHandle@??           @22   ;NT
     CloseProfileUserMapping    = _CloseProfileUserMapping@0       @138
;    CloseSystemHandle          = _CloseSystemHandle@??            @139  ;W95
     CmdBatNotification         = _CmdBatNotification@4            @26   ;NT
     CommConfigDialogA          = _CommConfigDialogA@12            @140
     CommConfigDialogW          = _CommConfigDialogW@12            @141
     CompareFileTime            = _CompareFileTime@8               @142
     CompareStringA             = _CompareStringA@24               @143
     CompareStringW             = _CompareStringW@24               @144
     ConnectNamedPipe           = _ConnectNamedPipe@8              @145
;    ConsoleMenuControl         = _ConsoleMenuControl@??           @33   ;NT
     ContinueDebugEvent         = _ContinueDebugEvent@12           @146
     ConvertDefaultLocale       = _ConvertDefaultLocale@4          @147
     ConvertToGlobalHandle      = _ConvertToGlobalHandle@4         @148  ;W95
     CopyFileA                  = _CopyFileA@12                    @149
     CopyFileExA                = _CopyFileExA@24                  @38   ;NT
     CopyFileExW                = _CopyFileExW@24                  @39   ;NT
     CopyFileW                  = _CopyFileW@12                    @150
     CreateConsoleScreenBuffer  = _CreateConsoleScreenBuffer@20    @151
     CreateDirectoryA           = _CreateDirectoryA@8              @152
     CreateDirectoryExA         = _CreateDirectoryExA@12           @153
     CreateDirectoryExW         = _CreateDirectoryExW@12           @154
     CreateDirectoryW           = _CreateDirectoryW@8              @155
     CreateEventA               = _CreateEventA@16                 @156
     CreateEventW               = _CreateEventW@16                 @157
     CreateFiber                = _CreateFiber@12                  @1048    ;NT
     CreateFileA                = _CreateFileA@28                  @158
     CreateFileW                = _CreateFileW@28                  @161
     CreateFileMappingA         = _CreateFileMappingA@24           @159
     CreateFileMappingW         = _CreateFileMappingW@24           @160
     CreateIoCompletionPort     = _CreateIoCompletionPort@16       @162
;    CreateKernelThread         = _CreateKernelThread@??           @163  ;W95
     CreateMailslotA            = _CreateMailslotA@16              @164
     CreateMailslotW            = _CreateMailslotW@16              @165
     CreateMutexA               = _CreateMutexA@12                 @166
     CreateMutexW               = _CreateMutexW@12                 @167
     CreateNamedPipeA           = _CreateNamedPipeA@32             @168
     CreateNamedPipeW           = _CreateNamedPipeW@32             @169
     CreatePipe                 = _CreatePipe@16                   @170
     CreateProcessA             = _CreateProcessA@40               @171
     CreateProcessW             = _CreateProcessW@40               @172
     CreateRemoteThread         = _CreateRemoteThread@28           @173
     CreateSemaphoreA           = _CreateSemaphoreA@16             @174
     CreateSemaphoreW           = _CreateSemaphoreW@16             @175
;    CreateSocketHandle         = _CreateSocketHandle@??           @176  ;W95
     CreateTapePartition        = _CreateTapePartition@16          @177
     CreateThread               = _CreateThread@24                 @178
;;;;     CreateToolhelp32Snapshot   = _CreateToolhelp32Snapshot@8      @179  ;W95
;    CreateVirtualBuffer        = _CreateVirtualBuffer@??          @68   ;NT
     CreateWaitableTimerA       = _CreateWaitableTimerA@12         @69   ;NT
     CreateWaitableTimerW       = _CreateWaitableTimerW@12         @70   ;NT
     DebugActiveProcess         = _DebugActiveProcess@4            @180
     DebugBreak                 = _DebugBreak@0                    @181
     DefineDosDeviceA           = _DefineDosDeviceA@12             @182
     DefineDosDeviceW           = _DefineDosDeviceW@12             @183
     DeleteAtom                 = _DeleteAtom@4                    @184
     DeleteCriticalSection      = _DeleteCriticalSection@4         @185
     DeleteFiber                = _DeleteFiber@4                   @77   ;NT
     DeleteFileA                = _DeleteFileA@4                   @186
     DeleteFileW                = _DeleteFileW@4                   @187
     DeviceIoControl            = _DeviceIoControl@32              @188
     DisableThreadLibraryCalls  = _DisableThreadLibraryCalls@4     @189
     DisconnectNamedPipe        = _DisconnectNamedPipe@4           @190
     DosDateTimeToFileTime      = _DosDateTimeToFileTime@12        @191
;    DuplicateConsoleHandle     = _DuplicateConsoleHandle@??             ;NT
     DuplicateHandle            = _DuplicateHandle@28              @192
     EndUpdateResourceA         = _EndUpdateResourceA@8            @193
     EndUpdateResourceW         = _EndUpdateResourceW@8            @194
     EnterCriticalSection       = _EnterCriticalSection@4          @195
     EnumCalendarInfoA          = _EnumCalendarInfoA@16            @196
     EnumCalendarInfoW          = _EnumCalendarInfoW@16            @197
     EnumDateFormatsA           = _EnumDateFormatsA@12             @198
     EnumDateFormatsW           = _EnumDateFormatsW@12             @199
     EnumResourceLanguagesA     = _EnumResourceLanguagesA@20       @200
     EnumResourceLanguagesW     = _EnumResourceLanguagesW@20       @201
     EnumResourceNamesA         = _EnumResourceNamesA@16           @202
     EnumResourceNamesW         = _EnumResourceNamesW@16           @203
     EnumResourceTypesA         = _EnumResourceTypesA@12           @204
     EnumResourceTypesW         = _EnumResourceTypesW@12           @205
     EnumSystemCodePagesA       = _EnumSystemCodePagesA@8          @206
     EnumSystemCodePagesW       = _EnumSystemCodePagesW@8          @207
     EnumSystemLocalesA         = _EnumSystemLocalesA@8            @208
     EnumSystemLocalesW         = _EnumSystemLocalesW@8            @209
     EnumTimeFormatsA           = _EnumTimeFormatsA@12             @210
     EnumTimeFormatsW           = _EnumTimeFormatsW@12             @211
     EraseTape                  = _EraseTape@12                    @212
     EscapeCommFunction         = _EscapeCommFunction@8            @213
     ExitProcess                = _ExitProcess@4                   @214
     ExitThread                 = _ExitThread@4                    @215
;    ExitVDM                    = _ExitVDM@??                           ;NT
     ExpandEnvironmentStringsA  = _ExpandEnvironmentStringsA@12    @216
     ExpandEnvironmentStringsW  = _ExpandEnvironmentStringsW@12    @217
;    ExpungeConsoleCommandHistoryA = _ExpungeConsoleCommandHistoryA@??   ;NT
;    ExpungeConsoleCommandHistoryW = _ExpungeConsoleCommandHistoryW@??   ;NT
;    ExtendVirtualBuffer        = _ExtendVirtualBuffer@??                ;NT
     FT_Exit0                   = _FT_Exit0@4                     @218   ;W95
     FT_Exit12                  = _FT_Exit12@4                    @219   ;W95
     FT_Exit16                  = _FT_Exit16@4                    @220   ;W95
     FT_Exit20                  = _FT_Exit20@4                    @221   ;W95
     FT_Exit24                  = _FT_Exit24@4                    @222   ;W95
     FT_Exit28                  = _FT_Exit28@4                    @223   ;W95
     FT_Exit32                  = _FT_Exit32@4                    @224   ;W95
     FT_Exit36                  = _FT_Exit36@4                    @225   ;W95
     FT_Exit4                   = _FT_Exit4@4                     @226   ;W95
     FT_Exit40                  = _FT_Exit40@4                    @227   ;W95
     FT_Exit44                  = _FT_Exit44@4                    @228   ;W95
     FT_Exit48                  = _FT_Exit48@4                    @229   ;W95
     FT_Exit52                  = _FT_Exit52@4                    @230   ;W95
     FT_Exit56                  = _FT_Exit56@4                    @231   ;W95
     FT_Exit8                   = _FT_Exit8@4                     @232   ;W95
     FT_Prolog                  = _FT_Prolog@4                    @233   ;W95
     FT_Thunk                   = _FT_Thunk@4                     @234   ;W95
     FatalAppExitA              = _FatalAppExitA@8                @235
     FatalAppExitW              = _FatalAppExitW@8                @236
     FatalExit                  = _FatalExit@4                    @237
     FileTimeToDosDateTime      = _FileTimeToDosDateTime@12       @238
     FileTimeToLocalFileTime    = _FileTimeToLocalFileTime@8      @239
     FileTimeToSystemTime       = _FileTimeToSystemTime@8         @240
     FillConsoleOutputAttribute  = _FillConsoleOutputAttribute@20 @241
     FillConsoleOutputCharacterA  = _FillConsoleOutputCharacterA@20 @242
     FillConsoleOutputCharacterW  = _FillConsoleOutputCharacterW@20 @243
     FindAtomA                  = _FindAtomA@4                    @244
     FindAtomW                  = _FindAtomW@4                    @245
     FindClose                  = _FindClose@4                    @246
     FindCloseChangeNotification  = _FindCloseChangeNotification@4 @247
     FindFirstChangeNotificationA  = _FindFirstChangeNotificationA@12 @248
     FindFirstChangeNotificationW  = _FindFirstChangeNotificationW@12 @249
     FindFirstFileA             = _FindFirstFileA@8               @250
     FindFirstFileExA           = _FindFirstFileExA@24            @850
     FindFirstFileExW           = _FindFirstFileExW@24            @851
     FindFirstFileW             = _FindFirstFileW@8               @251
     FindNextChangeNotification = _FindNextChangeNotification@4   @252
     FindNextFileA              = _FindNextFileA@8                @253
     FindNextFileW              = _FindNextFileW@8                @254
     FindResourceA              = _FindResourceA@12               @255
     FindResourceExA            = _FindResourceExA@16             @256
     FindResourceExW            = _FindResourceExW@16             @257
     FindResourceW              = _FindResourceW@12               @258
     FlushConsoleInputBuffer    = _FlushConsoleInputBuffer@4      @259
     FlushFileBuffers           = _FlushFileBuffers@4             @260
     FlushInstructionCache      = _FlushInstructionCache@12       @261
     FlushViewOfFile            = _FlushViewOfFile@8              @262
     FoldStringA                = _FoldStringA@20                 @263
     FoldStringW                = _FoldStringW@20                 @264
     FormatMessageA             = _FormatMessageA@28              @265
     FormatMessageW             = _FormatMessageW@28              @266
     FreeConsole                = _FreeConsole@0                  @267
     FreeEnvironmentStringsA    = _FreeEnvironmentStringsA@4      @268
     FreeEnvironmentStringsW    = _FreeEnvironmentStringsW@4      @269
;    FreeLSCallback             = _FreeLSCallback@??              @270   ;W95
     FreeLibrary                = _FreeLibrary@4                  @271
     FreeLibraryAndExitThread   = _FreeLibraryAndExitThread@8    @272
     FreeResource               = _FreeResource@4                 @273
;    FreeSLCallback             = _FreeSLCallback@??              @274   ;W95
;    FreeVirtualBuffer          = _FreeVirtualBuffer@??                  ;NT
     GenerateConsoleCtrlEvent   = _GenerateConsoleCtrlEvent@8     @275
     GetACP                     = _GetACP@0                       @276
     GetAtomNameA               = _GetAtomNameA@12                @277
     GetAtomNameW               = _GetAtomNameW@12                @278
     GetBinaryType              = _GetBinaryTypeA@8               @279
     GetBinaryTypeA             = _GetBinaryTypeA@8               @280
     GetBinaryTypeW             = _GetBinaryTypeW@8               @281
     GetCPInfo                  = _GetCPInfo@8                    @282
     GetCommConfig              = _GetCommConfig@12               @283
     GetCommMask                = _GetCommMask@8                  @284
     GetCommModemStatus         = _GetCommModemStatus@8           @285
     GetCommProperties          = _GetCommProperties@8            @286
     GetCommState               = _GetCommState@8                 @287
     GetCommTimeouts            = _GetCommTimeouts@8              @288
     GetCommandLineA            = _GetCommandLineA@0              @289
     GetCommandLineW            = _GetCommandLineW@0              @290
     GetCompressedFileSizeA     = _GetCompressedFileSizeA@8       @291
     GetCompressedFileSizeW     = _GetCompressedFileSizeW@8       @292
     GetComputerNameA           = _GetComputerNameA@8             @293
     GetComputerNameW           = _GetComputerNameW@8             @294
;    GetConsoleAliasA           = _GetConsoleAliasA@??                   ;NT
;    GetConsoleAliasExesA       = _GetConsoleAliasExesA@??               ;NT
;    GetConsoleAliasExesLengthA = _GetConsoleAliasExesLengthA@??         ;NT
;    GetConsoleAliasExesLengthW = _GetConsoleAliasExesLengthW@??         ;NT
;    GetConsoleAliasExesW       = _GetConsoleAliasExesW@??               ;NT
;    GetConsoleAliasW           = _GetConsoleAliasW@??                   ;NT
;    GetConsoleAliasesA         = _GetConsoleAliasesA@??                 ;NT
;    GetConsoleAliasesLengthA   = _GetConsoleAliasesLengthA@??           ;NT
;    GetConsoleAliasesLengthW   = _GetConsoleAliasesLengthW@??           ;NT
;    GetConsoleAliasesW         = _GetConsoleAliasesW@??                 ;NT
     GetConsoleCP               = _GetConsoleCP@0                 @295
;    GetConsoleCommandHistoryA       = _GetConsoleCommandHistoryA@??     ;NT
;    GetConsoleCommandHistoryLengthA = _GetConsoleCommandHistoryLengthA@?? ;NT
;    GetConsoleCommandHistoryLengthW = _GetConsoleCommandHistoryLengthW@?? ;NT
;    GetConsoleCommandHistoryW       = _GetConsoleCommandHistoryW@??     ;NT
     GetConsoleCursorInfo       = _GetConsoleCursorInfo@8         @296
;    GetConsoleDisplayMode         = _GetConsoleDisplayMode@??           ;NT
;    GetConsoleFontInfo            = _GetConsoleFontInfo@??              ;NT
;    GetConsoleFontSize            = _GetConsoleFontSize@??              ;NT
;    GetConsoleHardwareState       = _GetConsoleHardwareState@??         ;NT
;    GetConsoleInputExeNameA       = _GetConsoleInputExeNameA@??         ;NT
;    GetConsoleInputExeNameW       = _GetConsoleInputExeNameW@??         ;NT
;    GetConsoleInputWaitHandle     = _GetConsoleInputWaitHandle@??       ;NT
;    GetConsoleKeyboardLayoutNameA = _GetConsoleKeyboardLayoutNameA@??   ;NT
;    GetConsoleKeyboardLayoutNameW = _GetConsoleKeyboardLayoutNameW@??   ;NT
     GetConsoleMode             = _GetConsoleMode@8           @297
     GetConsoleOutputCP         = _GetConsoleOutputCP@0       @298
     GetConsoleScreenBufferInfo  = _GetConsoleScreenBufferInfo@8 @299
     GetConsoleTitleA           = _GetConsoleTitleA@8         @300
     GetConsoleTitleW           = _GetConsoleTitleW@8         @301
     GetCurrencyFormatA         = _GetCurrencyFormatA@24      @302
     GetCurrencyFormatW         = _GetCurrencyFormatW@24      @303
;    GetCurrentConsoleFont      = _GetCurrentConsoleFont@??              ;NT
     GetCurrentDirectoryA       = _GetCurrentDirectoryA@8     @304
     GetCurrentDirectoryW       = _GetCurrentDirectoryW@8     @305
     GetCurrentProcess          = _GetCurrentProcess@0        @306
     GetCurrentProcessId        = _GetCurrentProcessId@0      @307
     GetCurrentThread           = _GetCurrentThread@0         @308
     GetCurrentThreadId         = _GetCurrentThreadId@0       @309
     GetDateFormatA             = _GetDateFormatA@24          @310
     GetDateFormatW             = _GetDateFormatW@24          @311
;    GetDaylightFlag            = _GetDaylightFlag@??         @312       ;W95
     GetDefaultCommConfigA      = _GetDefaultCommConfigA@12   @313
     GetDefaultCommConfigW      = _GetDefaultCommConfigW@12   @314
     GetDiskFreeSpaceA          = _GetDiskFreeSpaceA@20       @315
     GetDiskFreeSpaceW          = _GetDiskFreeSpaceW@20       @316
     GetDriveTypeA              = _GetDriveTypeA@4            @317
     GetDriveTypeW              = _GetDriveTypeW@4            @318
     GetEnvironmentStrings      = _GetEnvironmentStringsA@0   @319
     GetEnvironmentStringsA     = _GetEnvironmentStringsA@0   @320
     GetEnvironmentStringsW     = _GetEnvironmentStringsW@0   @321
     GetEnvironmentVariableA    = _GetEnvironmentVariableA@12 @322
     GetEnvironmentVariableW    = _GetEnvironmentVariableW@12 @323
;    GetErrorMode               = _GetErrorMode@??            @324      ;undocumented
     GetExitCodeProcess         = _GetExitCodeProcess@8       @325
     GetExitCodeThread          = _GetExitCodeThread@8        @326
     GetFileAttributesA         = _GetFileAttributesA@4       @327      ;W95
     GetFileAttributesW         = _GetFileAttributesW@4       @328      ;W95
     GetFileInformationByHandle  = _GetFileInformationByHandle@8 @329
     GetFileSize                = _GetFileSize@8              @330
     GetFileTime                = _GetFileTime@16             @331
     GetFileType                = _GetFileType@4              @332
     GetFullPathNameA           = _GetFullPathNameA@16        @333
     GetFullPathNameW           = _GetFullPathNameW@16        @334
;    GetHandleContext           = _GetHandleContext@??        @335      ;W95
     GetHandleInformation       = _GetHandleInformation@8     @336
;    GetLSCallbackTarget        = _GetLSCallbackTarget@??     @337      ;W95
;    GetLSCallbackTemplate      = _GetLSCallbackTemplate@??   @338      ;W95
     GetLargestConsoleWindowSize  = _GetLargestConsoleWindowSize@4 @339
     GetLastError               = _GetLastError@0             @340
     GetLocalTime               = _GetLocalTime@4             @341
     GetLocaleInfoA             = _GetLocaleInfoA@16          @342
     GetLocaleInfoW             = _GetLocaleInfoW@16          @343
     GetLogicalDriveStringsA    = _GetLogicalDriveStringsA@8  @344
     GetLogicalDriveStringsW    = _GetLogicalDriveStringsW@8  @345
     GetLogicalDrives           = _GetLogicalDrives@0         @346
     GetMailslotInfo            = _GetMailslotInfo@20         @347
     GetModuleFileNameA         = _GetModuleFileNameA@12      @348
     GetModuleFileNameW         = _GetModuleFileNameW@12      @349
     GetModuleHandleA           = _GetModuleHandleA@4         @350
     GetModuleHandleW           = _GetModuleHandleW@4         @351
     GetNamedPipeHandleStateA   = _GetNamedPipeHandleStateA@28 @352
     GetNamedPipeHandleStateW   = _GetNamedPipeHandleStateW@28 @353
     GetNamedPipeInfo           = _GetNamedPipeInfo@20        @354
;    GetNextVDMCommand          = _GetNextVDMCommand@??                 ;NT
     GetNumberFormatA           = _GetNumberFormatA@24        @355
     GetNumberFormatW           = _GetNumberFormatW@24        @356
;    GetNumberOfConsoleFonts    = _GetNumberOfConsoleFonts@??           ;NT
     GetNumberOfConsoleInputEvents  = _GetNumberOfConsoleInputEvents@8 @357
     GetNumberOfConsoleMouseButtons  = _GetNumberOfConsoleMouseButtons@4 @358
     GetOEMCP                   = _GetOEMCP@0                 @359
     GetOverlappedResult        = _GetOverlappedResult@16     @360
     GetPriorityClass           = _GetPriorityClass@4         @361
     GetPrivateProfileIntA      = _GetPrivateProfileIntA@16   @362
     GetPrivateProfileIntW      = _GetPrivateProfileIntW@16   @363
     GetPrivateProfileSectionA  = _GetPrivateProfileSectionA@16 @364
     GetPrivateProfileSectionNamesA  = _GetPrivateProfileSectionNamesA@12 @365
     GetPrivateProfileSectionNamesW  = _GetPrivateProfileSectionNamesW@12 @366
     GetPrivateProfileSectionW  = _GetPrivateProfileSectionW@16 @367
     GetPrivateProfileStringA   = _GetPrivateProfileStringA@24 @368
     GetPrivateProfileStringW   = _GetPrivateProfileStringW@24 @369
     GetPrivateProfileStructA   = _GetPrivateProfileStructA@20 @370
     GetPrivateProfileStructW   = _GetPrivateProfileStructW@20 @371
     GetProcAddress             = _GetProcAddress@8           @372
     GetProcessAffinityMask     = _GetProcessAffinityMask@12  @373
     GetProcessDword            = _GetProcessDword@8          @18
     GetProcessFlags            = _GetProcessFlags@4          @374      ;W95
     GetProcessHeap             = _GetProcessHeap@0           @375
     GetProcessHeaps            = _GetProcessHeaps@8          @376
;     GetProcessPriorityBoost    = _GetProcessPriorityBoost@??           ;NT
     GetProcessShutdownParameters  = _GetProcessShutdownParameters@8 @377
     GetProcessTimes            = _GetProcessTimes@20         @378
     GetProcessVersion          = _GetProcessVersion@4        @379
     GetProcessWorkingSetSize   = _GetProcessWorkingSetSize@12 @380
;    GetProductName             = _GetProductName@??          @381      ;W95
     GetProfileIntA             = _GetProfileIntA@12          @382
     GetProfileIntW             = _GetProfileIntW@12          @383
     GetProfileSectionA         = _GetProfileSectionA@12      @384
     GetProfileSectionW         = _GetProfileSectionW@12      @385
     GetProfileStringA          = _GetProfileStringA@20       @386
     GetProfileStringW          = _GetProfileStringW@20       @387
     GetQueuedCompletionStatus  = _GetQueuedCompletionStatus@20 @388
;    GetSLCallbackTarget        = _GetSLCallbackTarget@??     @389      ;W95
;    GetSLCallbackTemplate      = _GetSLCallbackTemplate@??   @390      ;W95
     GetShortPathNameA          = _GetShortPathNameA@12       @391
     GetShortPathNameW          = _GetShortPathNameW@12       @392
     GetStartupInfoA            = _GetStartupInfoA@4          @393
     GetStartupInfoW            = _GetStartupInfoW@4          @394
     GetStdHandle               = _GetStdHandle@4             @395
     GetStringTypeA             = _GetStringTypeA@20          @396
     GetStringTypeExA           = _GetStringTypeExA@20        @397
     GetStringTypeExW           = _GetStringTypeExW@20        @398
     GetStringTypeW             = _GetStringTypeW@16          @399
     GetSystemDefaultLCID       = _GetSystemDefaultLCID@0     @400
     GetSystemDefaultLangID     = _GetSystemDefaultLangID@0   @401
     GetSystemDirectoryA        = _GetSystemDirectoryA@8      @402
     GetSystemDirectoryW        = _GetSystemDirectoryW@8      @403
     GetSystemInfo              = _GetSystemInfo@4            @404
     GetSystemPowerStatus       = _GetSystemPowerStatus@4     @405
     GetSystemTime              = _GetSystemTime@4            @406
     GetSystemTimeAdjustment    = _GetSystemTimeAdjustment@12 @407
     GetSystemTimeAsFileTime    = _GetSystemTimeAsFileTime@4  @408
     GetTapeParameters          = _GetTapeParameters@16       @409
     GetTapePosition            = _GetTapePosition@20         @410
     GetTapeStatus              = _GetTapeStatus@4            @411
     GetTempFileNameA           = _GetTempFileNameA@16        @412
     GetTempFileNameW           = _GetTempFileNameW@16        @413
     GetTempPathA               = _GetTempPathA@8             @414
     GetTempPathW               = _GetTempPathW@8             @415
     GetThreadContext           = _GetThreadContext@8         @416
     GetThreadLocale            = _GetThreadLocale@0          @417
     GetThreadPriority          = _GetThreadPriority@4        @418
;    GetThreadPriorityBoost     = _GetThreadPriorityBoost@??            ;NT
     GetThreadSelectorEntry     = _GetThreadSelectorEntry@12  @419
     GetThreadTimes             = _GetThreadTimes@20          @420
     GetTickCount               = _GetTickCount@0             @421
     GetTimeFormatA             = _GetTimeFormatA@24          @422
     GetTimeFormatW             = _GetTimeFormatW@24          @423
     GetTimeZoneInformation     = _GetTimeZoneInformation@4   @424
     GetUserDefaultLCID         = _GetUserDefaultLCID@0       @425
     GetUserDefaultLangID       = _GetUserDefaultLangID@0     @426
;     GetVDMCurrentDirectories   = _GetVDMCurrentDirectories@4           ;NT
     GetVersion                 = _GetVersion@0               @427
     GetVersionExA              = _GetVersionExA@4            @428
     GetVersionExW              = _GetVersionExW@4            @429
     GetVolumeInformationA      = _GetVolumeInformationA@32   @430
     GetVolumeInformationW      = _GetVolumeInformationW@32   @431
     GetWindowsDirectoryA       = _GetWindowsDirectoryA@8     @432
     GetWindowsDirectoryW       = _GetWindowsDirectoryW@8     @433
     GlobalAddAtomA             = _GlobalAddAtomA@4           @434
     GlobalAddAtomW             = _GlobalAddAtomW@4           @435
     GlobalAlloc                = _GlobalAlloc@8              @436
     GlobalCompact              = _GlobalCompact@4            @437
     GlobalDeleteAtom           = _GlobalDeleteAtom@4         @438
     GlobalFindAtomA            = _GlobalFindAtomA@4          @439
     GlobalFindAtomW            = _GlobalFindAtomW@4          @440
     GlobalFix                  = _GlobalFix@4                @441
     GlobalFlags                = _GlobalFlags@4              @442
     GlobalFree                 = _GlobalFree@4               @443
     GlobalGetAtomNameA         = _GlobalGetAtomNameA@12      @444
     GlobalGetAtomNameW         = _GlobalGetAtomNameW@12      @445
     GlobalHandle               = _GlobalHandle@4             @446
     GlobalLock                 = _GlobalLock@4               @447
     GlobalMemoryStatus         = _GlobalMemoryStatus@4       @448
     GlobalReAlloc              = _GlobalReAlloc@12           @449
     GlobalSize                 = _GlobalSize@4               @450
     GlobalUnWire               = _GlobalUnWire@4             @451      ;obsolete
     GlobalUnfix                = _GlobalUnfix@4              @452      ;obsolete
     GlobalUnlock               = _GlobalUnlock@4             @453
     GlobalWire                 = _GlobalWire@4               @454      ;obsolete
;    Heap32First                = _Heap32First@??             @455      ;W95
;    Heap32ListFirst            = _Heap32ListFirst@??         @456      ;W95
;    Heap32ListNext             = _Heap32ListNext@??          @457      ;W95
;    Heap32Next                 = _Heap32Next@??              @458      ;W95
     HeapAlloc                  = _HeapAlloc@12               @459
     HeapCompact                = _HeapCompact@8              @460
     HeapCreate                 = _HeapCreate@12              @461
;    HeapCreateTagsW            = _HeapCreateTagsW@??                   ;NT
     HeapDestroy                = _HeapDestroy@4              @462
;    HeapExtend                 = _HeapExtend@??                        ;NT
     HeapFree                   = _HeapFree@12                @463
     HeapLock                   = _HeapLock@4                 @464
     HeapReAlloc                = _HeapReAlloc@16             @465
;    HeapQueryTagsW             = _HeapQueryTagsW@??                    ;NT
;    HeapSetFlags               = _HeapSetFlags@??            @466
     "HeapSize"                 = _HeapSize@12                @467      ; reserved linker word
     HeapUnlock                 = _HeapUnlock@4               @468
;    HeapUsage                  = _HeapUsage@??                         ;NT
     HeapValidate               = _HeapValidate@12            @469
     HeapWalk                   = _HeapWalk@8                 @470

    InitAtomTable              = _InitAtomTable@4             @471
    InitializeCriticalSection  = _InitializeCriticalSection@4 @472
    InitializeCriticalSectionAndSpinCount = _InitializeCriticalSectionAndSpinCount@8 @1473
    InterlockedCompareExchange = _InterlockedCompareExchange@12 @787        ;NT
    InterlockedDecrement       = _InterlockedDecrement@4     @473
    InterlockedExchange        = _InterlockedExchange@8      @474
    InterlockedExchangeAdd     = _InterlockedExchangeAdd@8      @788        ;NT
    InterlockedIncrement       = _InterlockedIncrement@4     @475
;   InvalidateNLSCache         = _InvalidateNLSCache@??      @476       ;W95
;   InvalidateConsoleDIBits    = _InvalidateConsoleDIBits@??            ;NT
    IsBadCodePtr               = _IsBadCodePtr@4             @477
    IsBadHugeReadPtr           = _IsBadHugeReadPtr@8         @478
    IsBadHugeWritePtr          = _IsBadHugeWritePtr@8        @479
    IsBadReadPtr               = _IsBadReadPtr@8             @480
    IsBadStringPtrA            = _IsBadStringPtrA@8          @481
    IsBadStringPtrW            = _IsBadStringPtrW@8          @482
    IsBadWritePtr              = _IsBadWritePtr@8            @483
    IsDBCSLeadByte             = _IsDBCSLeadByte@4           @484
    IsDBCSLeadByteEx           = _IsDBCSLeadByteEx@8         @485
;   IsLSCallback               = _IsLSCallback@??            @486       ;W95
;   IsSLCallback               = _IsSLCallback@??            @487       ;W95
    IsDebuggerPresent          = _IsDebuggerPresent@0        @889       ;NT/98
    IsValidCodePage            = _IsValidCodePage@4          @488
    IsValidLocale              = _IsValidLocale@8            @489
    K32Thk1632Epilog           = _K32Thk1632Epilog@4         @490       ;W95
    K32Thk1632Prolog           = _K32Thk1632Prolog@4         @491       ;W95
    LCMapStringA               = _LCMapStringA@24            @492
    LCMapStringW               = _LCMapStringW@24            @493
    LeaveCriticalSection       = _LeaveCriticalSection@4     @494
    LoadLibraryA               = _LoadLibraryA@4             @495
    LoadLibraryExA             = _LoadLibraryExA@12          @496
    LoadLibraryExW             = _LoadLibraryExW@12          @497
    LoadLibraryW               = _LoadLibraryW@4             @498
    LoadModule                 = _LoadModule@8               @499
    LoadResource               = _LoadResource@8             @500
    LocalAlloc                 = _LocalAlloc@8               @501
    LocalCompact               = _LocalCompact@4             @502  ;obsolete
    LocalFileTimeToFileTime    = _LocalFileTimeToFileTime@8  @503
    LocalFlags                 = _LocalFlags@4               @504
    LocalFree                  = _LocalFree@4                @505
    LocalHandle                = _LocalHandle@4              @506
    LocalLock                  = _LocalLock@4                @507
    LocalReAlloc               = _LocalReAlloc@12            @508
    LocalShrink                = _LocalShrink@8              @509  ;obsolete
    LocalSize                  = _LocalSize@4                @510
    LocalUnlock                = _LocalUnlock@4              @511
    LockFile                   = _LockFile@20                @512
    LockFileEx                 = _LockFileEx@24              @513
    LockResource               = _LockResource@4             @514

    MakeCriticalSectionGlobal  = _MakeCriticalSectionGlobal@4 @515
;   MapHInstLS                 = _MapHInstLS@??              @516       ;W95
;   MapHInstLS_PN              = _MapHInstLS_PN@??           @517       ;W95
;   MapHInstSL                 = _MapHInstSL@??              @518       ;W95
;   MapHInstSL_PN              = _MapHInstSL_PN@??           @519       ;W95
;   MapHModuleLS               = _MapHModuleLS@??            @520       ;W95
;   MapHModuleSL               = _MapHModuleSL@??            @521       ;W95
    MapLS                      = _MapLS@4                    @522       ;W95
    MapSL                      = _MapSL@4                    @523       ;W95
    MapSLFix                   = _MapSLFix@4                 @524       ;W95
    MapViewOfFile              = _MapViewOfFile@20           @525
    MapViewOfFileEx            = _MapViewOfFileEx@24         @526
;;;;    Module32First              = _Module32First@8            @527       ;W95
;;;;    Module32Next               = _Module32Next@8             @528       ;W95
    MoveFileA                  = _MoveFileA@8                @529
    MoveFileExA                = _MoveFileExA@12             @530
    MoveFileExW                = _MoveFileExW@12             @531
    MoveFileW                  = _MoveFileW@8                @532
    MulDiv                     = _MulDiv@12                  @533
    MultiByteToWideChar        = _MultiByteToWideChar@24     @534
;   NotifyNLSUserCache         = _NotifyNLSUserCache@??      @535       ;W95
;   OpenConsoleW               = _OpenConsoleW@??                       ;NT
    OpenEventA                 = _OpenEventA@12              @536
    OpenEventW                 = _OpenEventW@12              @537
    OpenFile                   = _OpenFile@12                @538
    OpenFileMappingA           = _OpenFileMappingA@12        @539
    OpenFileMappingW           = _OpenFileMappingW@12        @540
    OpenMutexA                 = _OpenMutexA@12              @541
    OpenMutexW                 = _OpenMutexW@12              @542
    OpenProcess                = _OpenProcess@12             @543
    OpenProfileUserMapping     = _OpenProfileUserMapping@0   @544
    OpenSemaphoreA             = _OpenSemaphoreA@12          @545
    OpenSemaphoreW             = _OpenSemaphoreW@12          @546
;   OpenVxDHandle              = _OpenVxDHandle@??           @547       ;W95
;   OpenWaitableTimerA         = _OpenWaitableTimerA@??                 ;NT
;   OpenWaitableTimerW         = _OpenWaitableTimerW@??                 ;NT
    OutputDebugStringA         = _OutputDebugStringA@4       @548
    OutputDebugStringW         = _OutputDebugStringW@4       @549
    PeekConsoleInputA          = _PeekConsoleInputA@16       @550
    PeekConsoleInputW          = _PeekConsoleInputW@16       @551
    PeekNamedPipe              = _PeekNamedPipe@24           @552
    PostQueuedCompletionStatus  = _PostQueuedCompletionStatus@16 @553
    PrepareTape                = _PrepareTape@12             @554
;;;    Process32First             = _Process32First@8           @555       ;W95
;;;    Process32Next              = _Process32Next@8            @556       ;W95
    PulseEvent                 = _PulseEvent@4               @557
    PurgeComm                  = _PurgeComm@8                @558
    QT_Thunk                   = _QT_Thunk@4                    @559       ;W95
    QueryDosDeviceA            = _QueryDosDeviceA@12         @560
    QueryDosDeviceW            = _QueryDosDeviceW@12         @561
;   QueryNumberOfEventLogRecords  = _QueryNumberOfEventLogRecords@?? @562 ;W95
;   QueryOldestEventLogRecord  = _QueryOldestEventLogRecord@?? @563       ;W95
    QueryPerformanceCounter    = _QueryPerformanceCounter@4   @564
    QueryPerformanceFrequency  = _QueryPerformanceFrequency@4 @565
;   QueryWin31IniFilesMappedToRegistry = _QueryWin31IniFilesMappedToRegistry@?? ;NT
;   QueueUserAPC               = _QueueUserAPC@??            @566
    RaiseException             = _RaiseException@16          @567
    ReadConsoleA               = _ReadConsoleA@20            @568
    ReadConsoleInputA          = _ReadConsoleInputA@16       @569
;   ReadConsoleInputExA        = _ReadConsoleInputExA@??                ;NT
;   ReadConsoleInputExW        = _ReadConsoleInputExW@??                ;NT
    ReadConsoleInputW          = _ReadConsoleInputW@16       @570
    ReadConsoleOutputA         = _ReadConsoleOutputA@20      @571
    ReadConsoleOutputAttribute  = _ReadConsoleOutputAttribute@20 @572
    ReadConsoleOutputCharacterA  = _ReadConsoleOutputCharacterA@20 @573
    ReadConsoleOutputCharacterW  = _ReadConsoleOutputCharacterW@20 @574
    ReadConsoleOutputW         = _ReadConsoleOutputW@20      @575
    ReadConsoleW               = _ReadConsoleW@20            @576
;   ReadDirectoryChangesW      = _ReadDirectoryChangesW@??              ;NT
    ReadFile                   = _ReadFile@20                @577
    ReadFileEx                 = _ReadFileEx@20              @578
;   ReadFileScatter            = _ReadFileScatter@??                    ;NT
    ReadProcessMemory          = _ReadProcessMemory@20       @579
    RegisterServiceProcess     = _RegisterServiceProcess@8   @580       ;W95
   ReinitializeCriticalSection  = _ReinitializeCriticalSection@4 @581 ;W95
;   RegisterConsoleVDM         = _RegisterConsoleVDM@??                 ;NT
;   RegisterWaitForInputIdle   = _RegisterWaitForInputIdle@??           ;NT
;   RegisterWowBaseHandlers    = _RegisterWowBaseHandlers@??            ;NT
;   RegisterWowExec            = _RegisterWowExec@??                    ;NT
    ReleaseMutex               = _ReleaseMutex@4             @582
    ReleaseSemaphore           = _ReleaseSemaphore@12        @583
    RemoveDirectoryA           = _RemoveDirectoryA@4         @584
    RemoveDirectoryW           = _RemoveDirectoryW@4         @585
    ResetEvent                 = _ResetEvent@4               @586
    ResumeThread               = _ResumeThread@4             @587
    RtlFillMemory              = _RtlFillMemory@12           @588
    RtlMoveMemory              = _RtlMoveMemory@12           @589
    RtlUnwind                  = _RtlUnwind@16               @590
    RtlZeroMemory              = _RtlZeroMemory@8            @591
    SMapLS                     = _SMapLS@4                   @592       ;W95
    SMapLS_IP_EBP_12           = _SMapLS_IP_EBP_12@4         @593       ;W95
    SMapLS_IP_EBP_16           = _SMapLS_IP_EBP_16@4         @594       ;W95
    SMapLS_IP_EBP_20           = _SMapLS_IP_EBP_20@4         @595       ;W95
    SMapLS_IP_EBP_24           = _SMapLS_IP_EBP_24@4         @596       ;W95
    SMapLS_IP_EBP_28           = _SMapLS_IP_EBP_28@4         @597       ;W95
    SMapLS_IP_EBP_32           = _SMapLS_IP_EBP_32@4         @598       ;W95
    SMapLS_IP_EBP_36           = _SMapLS_IP_EBP_36@4         @599       ;W95
    SMapLS_IP_EBP_40           = _SMapLS_IP_EBP_40@4         @600       ;W95
    SMapLS_IP_EBP_8            = _SMapLS_IP_EBP_8@4          @601       ;W95
    SUnMapLS                   = _SUnMapLS@4                 @602       ;W95
    SUnMapLS_IP_EBP_12         = _SUnMapLS_IP_EBP_12@4       @603       ;W95
    SUnMapLS_IP_EBP_16         = _SUnMapLS_IP_EBP_16@4       @604       ;W95
    SUnMapLS_IP_EBP_20         = _SUnMapLS_IP_EBP_20@4       @605       ;W95
    SUnMapLS_IP_EBP_24         = _SUnMapLS_IP_EBP_24@4       @606       ;W95
    SUnMapLS_IP_EBP_28         = _SUnMapLS_IP_EBP_28@4       @607       ;W95
    SUnMapLS_IP_EBP_32         = _SUnMapLS_IP_EBP_32@4       @608       ;W95
    SUnMapLS_IP_EBP_36         = _SUnMapLS_IP_EBP_36@4       @609       ;W95
    SUnMapLS_IP_EBP_40         = _SUnMapLS_IP_EBP_40@4       @610       ;W95
    SUnMapLS_IP_EBP_8          = _SUnMapLS_IP_EBP_8@4        @611       ;W95
    ScrollConsoleScreenBufferA  = _ScrollConsoleScreenBufferA@20 @612
    ScrollConsoleScreenBufferW  = _ScrollConsoleScreenBufferW@20 @613
    SearchPathA                = _SearchPathA@24             @614
    SearchPathW                = _SearchPathW@24             @615
    SetCommBreak               = _SetCommBreak@4             @616
    SetCommConfig              = _SetCommConfig@12           @617
    SetCommMask                = _SetCommMask@8              @618
    SetCommState               = _SetCommState@8             @619
    SetCommTimeouts            = _SetCommTimeouts@8          @620
    SetComputerNameA           = _SetComputerNameA@4         @621
    SetComputerNameW           = _SetComputerNameW@4         @622
    SetConsoleActiveScreenBuffer  = _SetConsoleActiveScreenBuffer@4 @623
    SetConsoleCP               = _SetConsoleCP@4             @624
;   SetConsoleCommandHistoryMode = _SetConsoleCommandHistoryMode@??     ;NT
    SetConsoleCtrlHandler      = _SetConsoleCtrlHandler@8    @625
;   SetConsoleCursor           = _SetConsoleCursor@??                   ;NT
    SetConsoleCursorInfo       = _SetConsoleCursorInfo@8      @626
    SetConsoleCursorPosition   = _SetConsoleCursorPosition@8  @627
;   SetConsoleDisplayMode        = _SetConsoleDisplayMode@??            ;NT
;   SetConsoleFont               = _SetConsoleFont@??                   ;NT
;   SetConsoleHardwareState      = _SetConsoleHardwareState@??          ;NT
;   SetConsoleIcon               = _SetConsoleIcon@??                   ;NT
;   SetConsoleInputExeNameA      = _SetConsoleInputExeNameA@??          ;NT
;   SetConsoleInputExeNameW      = _SetConsoleInputExeNameW@??          ;NT
;   SetConsoleKeyShortcuts       = _SetConsoleKeyShortcuts@??           ;NT
;   SetConsoleMaximumWindowSize  = _SetConsoleMaximumWindowSize@??      ;NT
;   SetConsoleMenuClose          = _SetConsoleMenuClose@??              ;NT
    SetConsoleMode             = _SetConsoleMode@8           @628
;   SetConsoleNumberOfCommandsA  = _SetConsoleNumberOfCommandsA@??      ;NT
;   SetConsoleNumberOfCommandsW  = _SetConsoleNumberOfCommandsW@??      ;NT
    SetConsoleOutputCP         = _SetConsoleOutputCP@4       @629
;   SetConsolePalette           = _SetConsolePalette@??                 ;NT
    SetConsoleScreenBufferSize  = _SetConsoleScreenBufferSize@8 @630
    SetConsoleTextAttribute    = _SetConsoleTextAttribute@8  @631
    SetConsoleTitleA           = _SetConsoleTitleA@4         @632
    SetConsoleTitleW           = _SetConsoleTitleW@4         @633
    SetConsoleWindowInfo       = _SetConsoleWindowInfo@12     @634
;   SetCriticalSectionSpinCount = _SetCriticalSectionSpinCount@??       ;NT
    SetCurrentDirectoryA       = _SetCurrentDirectoryA@4     @635
    SetCurrentDirectoryW       = _SetCurrentDirectoryW@4     @636
;   SetDaylightFlag            = _SetDaylightFlag@??         @637       ;W95
    SetDefaultCommConfigA      = _SetDefaultCommConfigA@12   @638
    SetDefaultCommConfigW      = _SetDefaultCommConfigW@12   @639
    SetEndOfFile               = _SetEndOfFile@4             @640
    SetEnvironmentVariableA    = _SetEnvironmentVariableA@8  @641
    SetEnvironmentVariableW    = _SetEnvironmentVariableW@8  @642
    SetErrorMode               = _SetErrorMode@4             @643
    SetEvent                   = _SetEvent@4                 @644
    SetFileApisToANSI          = _SetFileApisToANSI@0        @645
    SetFileApisToOEM           = _SetFileApisToOEM@0         @646
    SetFileAttributesA         = _SetFileAttributesA@8       @647
    SetFileAttributesW         = _SetFileAttributesW@8       @648
    SetFilePointer             = _SetFilePointer@16          @649
    SetFileTime                = _SetFileTime@16             @650
;   SetHandleContext           = _SetHandleContext@??        @651       ;W95
    SetHandleCount             = _SetHandleCount@4           @652
    SetHandleInformation       = _SetHandleInformation@12    @653
;   SetLastConsoleEventActive  = _SetLastConsoleEventActive@??          ;NT
    SetLastError               = _SetLastError@4             @654
    SetLocalTime               = _SetLocalTime@4             @655
    SetLocaleInfoA             = _SetLocaleInfoA@12          @656
    SetLocaleInfoW             = _SetLocaleInfoW@12          @657
    SetMailslotInfo            = _SetMailslotInfo@8          @658
    SetNamedPipeHandleState    = _SetNamedPipeHandleState@16 @659
    SetPriorityClass           = _SetPriorityClass@8         @660
    SetProcessAffinityMask     = _SetProcessAffinityMask@8   @862
    SetProcessDword            = _SetProcessDword@12         @884
    SetProcessPriorityBoost    = _SetProcessPriorityBoost@8  @863
    SetProcessShutdownParameters  = _SetProcessShutdownParameters@8 @661
    SetProcessWorkingSetSize   = _SetProcessWorkingSetSize@12 @662
    SetStdHandle               = _SetStdHandle@8              @663
    SetSystemPowerState        = _SetSystemPowerState@8       @664
    SetSystemTime              = _SetSystemTime@4             @665
    SetSystemTimeAdjustment    = _SetSystemTimeAdjustment@8   @666
    SetTapeParameters          = _SetTapeParameters@12        @667
    SetTapePosition            = _SetTapePosition@24          @668
    SetThreadAffinityMask      = _SetThreadAffinityMask@8     @669
    SetThreadContext           = _SetThreadContext@8          @670
;   SetThreadIdealProcessor    = _SetThreadIdealProcessor@??            ;NT
    SetThreadLocale            = _SetThreadLocale@4         @671
    SetThreadPriority          = _SetThreadPriority@8       @672
    SetThreadPriorityBoost     = _SetThreadPriorityBoost@8  @789        ;NT
    SetTimeZoneInformation     = _SetTimeZoneInformation@4  @673
    SetUnhandledExceptionFilter  = _SetUnhandledExceptionFilter@4 @674
;   SetVDMCurrentDirectories   = _SetVDMCurrentDirectories@??           ;NT
    SetVolumeLabelA            = _SetVolumeLabelA@8          @675
    SetVolumeLabelW            = _SetVolumeLabelW@8          @676
;   SetWaitableTimer           = _SetWaitableTimer@??                   ;NT
    SetupComm                  = _SetupComm@12               @677
;   ShowConsoleCursor          = _ShowConsoleCursor@??                  ;NT
;   SignalObjectAndWait        = _SignalObjectAndWait@??                ;NT
    SizeofResource             = _SizeofResource@8           @678
    Sleep                      = _Sleep@4                    @679
    SleepEx                    = _SleepEx@8                  @680
    SuspendThread              = _SuspendThread@4            @681
;   SwitchToFiber              = _SwitchToFiber@??                      ;NT
;   SwitchToThread             = _SwitchToThread@??                     ;NT
    SystemTimeToFileTime       = _SystemTimeToFileTime@8     @682
    SystemTimeToTzSpecificLocalTime  = _SystemTimeToTzSpecificLocalTime@12 @683
    TerminateProcess           = _TerminateProcess@8         @684
    TerminateThread            = _TerminateThread@8          @685
;;;;    Thread32First              = _Thread32First@8            @686       ;W95
;;;;    Thread32Next               = _Thread32Next@8             @687       ;W95
    ThunkConnect32             = _ThunkConnect32@24          @688       ;W95
    TlsAlloc                   = _TlsAlloc@0                 @689
;   TlsAllocInternal           = _TlsAllocInternal@??        @690       ;W95
    TlsFree                    = _TlsFree@4                  @691
;   TlsFreeInternal            = _TlsFreeInternal@??         @692       ;W95
    TlsGetValue                = _TlsGetValue@4              @693
    TlsSetValue                = _TlsSetValue@8              @694
;   Toolhelp32ReadProcessMemory  = _Toolhelp32ReadProcessMemory@?? @695 ;W95
    TransactNamedPipe          = _TransactNamedPipe@28       @696
    TransmitCommChar           = _TransmitCommChar@8         @697
;   TrimVirtualBuffer          = _TrimVirtualBuffer@??                  ;NT
    TryEnterCriticalSection    = _TryEnterCriticalSection@4  @898       ;NT
;   UTRegister                 = _UTRegister@??              @698       ;W95
;   UTUnRegister               = _UTUnRegister@??            @699       ;W95
    UnMapLS                    = _UnMapLS@4                  @700       ;W95
    UnMapSLFixArray            = _UnMapSLFixArray@12         @701       ;W95
    UnhandledExceptionFilter   = _UnhandledExceptionFilter@4 @702
    UninitializeCriticalSection  = _UninitializeCriticalSection@4 @703  ;W95
    UnlockFile                 = _UnlockFile@20              @704
    UnlockFileEx               = _UnlockFileEx@20            @705
    UnmapViewOfFile            = _UnmapViewOfFile@4          @706
    UpdateResourceA            = _UpdateResourceA@24         @707
    UpdateResourceW            = _UpdateResourceW@24         @708
;   VDMConsoleOperation        = _VDMConsoleOperation@??                ;NT
;   VDMOperationStarted        = _VDMOperationStarted@??                ;NT
    VerLanguageNameA           = _VerLanguageNameA@12        @709
    VerLanguageNameW           = _VerLanguageNameW@12        @710
;   VerifyConsoleToHandle      = _VerifyConsoleToHandle@??              ;NT
    VirtualAlloc               = _VirtualAlloc@16            @711
;   VirtualAllocEx             = _VirtualAllocEx@??                     ;NT
;   VirtualBufferExceptionHandler = _VirtualBufferExceptionHandler      ;NT
    VirtualFree                = _VirtualFree@12             @712
;   VirtualFreeEx              = _VirtuelFreeEx@??                      ;NT
    VirtualLock                = _VirtualLock@8              @713
    VirtualProtect             = _VirtualProtect@16          @714
    VirtualProtectEx           = _VirtualProtectEx@20        @715
    VirtualQuery               = _VirtualQuery@12            @716
    VirtualQueryEx             = _VirtualQueryEx@16          @717
    VirtualUnlock              = _VirtualUnlock@8            @718
    WaitCommEvent              = _WaitCommEvent@12           @719
    WaitForDebugEvent          = _WaitForDebugEvent@8        @720
    WaitForMultipleObjects     = _WaitForMultipleObjects@16  @721
    WaitForMultipleObjectsEx   = _WaitForMultipleObjectsEx@20 @722
    WaitForSingleObject        = _WaitForSingleObject@8      @723
    WaitForSingleObjectEx      = _WaitForSingleObjectEx@12   @724
    WaitNamedPipeA             = _WaitNamedPipeA@8           @725
    WaitNamedPipeW             = _WaitNamedPipeW@8           @726
    WideCharToMultiByte        = _WideCharToMultiByte@32     @727
    WinExec                    = _WinExec@8                  @728
    WriteConsoleA              = _WriteConsoleA@20           @729
    WriteConsoleInputA         = _WriteConsoleInputA@16       @730
;   WriteConsoleInputVDMA      = _WriteConsoleInputVDMA@??              ;NT
;   WriteConsoleInputVDMW      = _WriteConsoleInputVDMW@??              ;NT
    WriteConsoleInputW         = _WriteConsoleInputW@16      @731
    WriteConsoleOutputA        = _WriteConsoleOutputA@20     @732
    WriteConsoleOutputAttribute  = _WriteConsoleOutputAttribute@20 @733
    WriteConsoleOutputCharacterA  = _WriteConsoleOutputCharacterA@20 @734
    WriteConsoleOutputCharacterW  = _WriteConsoleOutputCharacterW@20 @735
    WriteConsoleOutputW        = _WriteConsoleOutputW@20     @736
    WriteConsoleW              = _WriteConsoleW@20           @737
    WriteFile                  = _WriteFile@20               @738
    WriteFileEx                = _WriteFileEx@20             @739
;   WriteFileGather            = _WriteFileGather@??                    ;NT
    WritePrivateProfileSectionA  = _WritePrivateProfileSectionA@12 @740
    WritePrivateProfileSectionW  = _WritePrivateProfileSectionW@12 @741
    WritePrivateProfileStringA  = _WritePrivateProfileStringA@16 @742
    WritePrivateProfileStringW  = _WritePrivateProfileStringW@16 @743
    WritePrivateProfileStructA  = _WritePrivateProfileStructA@20 @744
    WritePrivateProfileStructW  = _WritePrivateProfileStructW@20 @745
    WriteProcessMemory         = _WriteProcessMemory@20      @746
    WriteProfileSectionA       = _WriteProfileSectionA@8     @747
    WriteProfileSectionW       = _WriteProfileSectionW@8     @748
    WriteProfileStringA        = _WriteProfileStringA@12     @749
    WriteProfileStringW        = _WriteProfileStringW@12     @750
    WriteTapemark              = _WriteTapemark@16           @751
;   _DebugOut                  = __DebugOut@??               @752      ;W95
;   _DebugPrintf               = __DebugPrintf@??            @753      ;W95
    _hread                     = __lread@12                  @754
    _hwrite                    = __lwrite@12                 @755
    _lclose                    = __lclose@4                  @756
    _lcreat                    = __lcreat@8                  @757
    _llseek                    = __llseek@12                 @758
    _lopen                     = __lopen@8                   @759
    _lread                     = __lread@12                  @760
    _lwrite                    = __lwrite@12                 @761
;   dprintf                    = _dprintf@??                 @762      ;W95
    lstrcat                    = _lstrcatA@8                 @763
    lstrcatA                   = _lstrcatA@8                 @764
    lstrcatW                   = _lstrcatW@8                 @765
    lstrcmp                    = _lstrcmpA@8                 @766
    lstrcmpA                   = _lstrcmpA@8                 @767
    lstrcmpW                   = _lstrcmpW@8                 @768
    lstrcmpi                   = _lstrcmpiA@8                @769
    lstrcmpiA                  = _lstrcmpiA@8                @770
    lstrcmpiW                  = _lstrcmpiW@8                @771
    lstrcpy                    = _lstrcpyA@8                 @772
    lstrcpyA                   = _lstrcpyA@8                 @773
    lstrcpyW                   = _lstrcpyW@8                 @774
    lstrcpyn                   = _lstrcpynA@12               @775
    lstrcpynA                  = _lstrcpynA@12               @776
    lstrcpynW                  = _lstrcpynW@12               @777
    lstrlen                    = _lstrlenA@4                 @778
    lstrlenA                   = _lstrlenA@4                 @779
    lstrlenW                   = _lstrlenW@4                 @780
    lstrcpynAtoW               = _lstrcpynAtoW@12            @781
    lstrcpynWtoA               = _lstrcpynWtoA@12            @782
    lstrcpyAtoW                = _lstrcpyAtoW@8              @783
    lstrcpyWtoA                = _lstrcpyWtoA@8              @784
    lstrncmpA                  = _lstrncmpA@12               @785
    lstrncmpW                  = _lstrncmpW@12               @786

    GetDiskFreeSpaceExA        = _GetDiskFreeSpaceExA@16     @871
    GetDiskFreeSpaceExW        = _GetDiskFreeSpaceExW@16     @873

    IsProcessorFeaturePresent  = _IsProcessorFeaturePresent@4 @880

    GetFileAttributesExA       = _GetFileAttributesExA@12    @874
    GetFileAttributesExW       = _GetFileAttributesExW@12    @875

    lstrncmpiA                 = _lstrncmpiA@12              @887
    lstrncmpiW                 = _lstrncmpiW@12              @888

    lstrlenAtoW                = _lstrlenAtoW@8              @890
    lstrlenWtoA                = _lstrlenWtoA@8              @891
    lstrtrunc                  = _lstrtrunc@8                @892

    GetLongPathNameA           = _GetLongPathNameA@12        @900
    GetLongPathNameW           = _GetLongPathNameW@12        @901

; Windows 2000, Terminal Server 4.0 SP4 functions
    GetSystemWindowsDirectoryA = _GetWindowsDirectoryA@8     @902
    GetSystemWindowsDirectoryW = _GetWindowsDirectoryW@8     @903

; Windows 2000 (and up) volume functions
    FindFirstVolumeA           = _FindFirstVolumeA@8            @904
    FindFirstVolumeW           = _FindFirstVolumeW@8            @905
    FindNextVolumeA            = _FindNextVolumeA@12            @906
    FindNextVolumeW            = _FindNextVolumeW@12            @907
    FindVolumeClose            = _FindVolumeClose@4             @908

    FindFirstVolumeMountPointA = _FindFirstVolumeMountPointA@12 @909
    FindFirstVolumeMountPointW = _FindFirstVolumeMountPointW@12 @910
    FindNextVolumeMountPointA  = _FindNextVolumeMountPointA@12  @911
    FindNextVolumeMountPointW  = _FindNextVolumeMountPointW@12  @912
    FindVolumeMountPointClose  = _FindVolumeMountPointClose@4   @913

    GetVolumeNameForVolumeMountPointA = _GetVolumeNameForVolumeMountPointA@12 @914
    GetVolumeNameForVolumeMountPointW = _GetVolumeNameForVolumeMountPointW@12 @915

    GetVolumePathNameA         = _GetVolumePathNameA@12        @916
    GetVolumePathNameW         = _GetVolumePathNameW@12        @917
    
    GetFileSizeEx              = _GetFileSizeEx@8              @920
;
; ENDOFEXPORTS
; Internal function marker
;

;
; First free ordinal is 890
;


; ----------------------------------------------------------------------------
; APIs which doesn't really belong to kernel32.dll but just ended up here
; (Must be placed below ordinal 1200!)
; ----------------------------------------------------------------------------
;registry apis imported by advapi32
    RegCloseKey                 = _RegCloseKey@4                @1100 NONAME
    RegConnectRegistryA         = _RegConnectRegistryA@12       @1101 NONAME
    RegConnectRegistryW         = _RegConnectRegistryW@12       @1102 NONAME
    RegCreateKeyA               = _RegCreateKeyA@12             @1103 NONAME
    RegCreateKeyExA             = _RegCreateKeyExA@36           @1104 NONAME
    RegCreateKeyExW             = _RegCreateKeyExW@36           @1105 NONAME
    RegCreateKeyW               = _RegCreateKeyW@12             @1106 NONAME
    RegDeleteKeyA               = _RegDeleteKeyA@8              @1107 NONAME
    RegDeleteKeyW               = _RegDeleteKeyW@8              @1108 NONAME
    RegDeleteValueA             = _RegDeleteValueA@8            @1109 NONAME
    RegDeleteValueW             = _RegDeleteValueW@8            @1110 NONAME
    RegEnumKeyA                 = _RegEnumKeyA@16               @1111 NONAME
    RegEnumKeyExA               = _RegEnumKeyExA@32             @1112 NONAME
    RegEnumKeyExW               = _RegEnumKeyExW@32             @1113 NONAME
    RegEnumKeyW                 = _RegEnumKeyW@16               @1114 NONAME
    RegEnumValueA               = _RegEnumValueA@32             @1115 NONAME
    RegEnumValueW               = _RegEnumValueW@32             @1116 NONAME
    RegFlushKey                 = _RegFlushKey@4                @1117 NONAME
    RegGetKeySecurity           = _RegGetKeySecurity@16         @1118 NONAME
    RegLoadKeyA                 = _RegLoadKeyA@12               @1119 NONAME
    RegLoadKeyW                 = _RegLoadKeyW@12               @1120 NONAME
    RegNotifyChangeKeyValue     = _RegNotifyChangeKeyValue@20   @1121 NONAME
    RegOpenKeyA                 = _RegOpenKeyA@12               @1122 NONAME
    RegOpenKeyExA               = _RegOpenKeyExA@20             @1123 NONAME
    RegOpenKeyExW               = _RegOpenKeyExW@20             @1124 NONAME
    RegOpenKeyW                 = _RegOpenKeyW@12               @1125 NONAME
    RegQueryInfoKeyA            = _RegQueryInfoKeyA@48          @1126 NONAME
    RegQueryInfoKeyW            = _RegQueryInfoKeyW@48          @1127 NONAME
    RegQueryMultipleValuesA     = _RegQueryMultipleValuesA@20   @1128 NONAME
    RegQueryMultipleValuesW     = _RegQueryMultipleValuesW@20   @1129 NONAME
    RegQueryValueA              = _RegQueryValueA@16            @1130 NONAME
    RegQueryValueExA            = _RegQueryValueExA@24          @1131 NONAME
    RegQueryValueExW            = _RegQueryValueExW@24          @1132 NONAME
    RegQueryValueW              = _RegQueryValueW@16            @1133 NONAME
    RegReplaceKeyA              = _RegReplaceKeyA@16            @1134 NONAME
    RegReplaceKeyW              = _RegReplaceKeyW@16            @1135 NONAME
    RegRestoreKeyA              = _RegRestoreKeyA@12            @1136 NONAME
    RegRestoreKeyW              = _RegRestoreKeyW@12            @1137 NONAME
    RegSaveKeyA                 = _RegSaveKeyA@12               @1138 NONAME
    RegSaveKeyW                 = _RegSaveKeyW@12               @1139 NONAME
    RegSetKeySecurity           = _RegSetKeySecurity@12         @1140 NONAME
    RegSetValueA                = _RegSetValueA@20              @1141 NONAME
    RegSetValueExA              = _RegSetValueExA@24            @1142 NONAME
    RegSetValueExW              = _RegSetValueExW@24            @1143 NONAME
    RegSetValueW                = _RegSetValueW@20              @1144 NONAME
    RegUnLoadKeyA               = _RegUnLoadKeyA@8              @1145 NONAME
    RegUnLoadKeyW               = _RegUnLoadKeyW@8              @1146 NONAME



; ----------------------------------------------------------------------------
;   KERNEL32 / WINE support functions that do not exist in the Win32 API
;   (These starts at ordinal 1200, API have ordinal less than 1200.)
; ----------------------------------------------------------------------------

    DebugErrorBox                 = DebugErrorBox                 @1201 NONAME
    WriteLog                                                      @1202 NONAME
    WriteLogNoEOL                                                 @1218 NONAME
    WritePrivateLog                                               @1208 NONAME
    DecreaseLogCount                                              @1273 NONAME
    IncreaseLogCount                                              @1274 NONAME

;Used by tibfix page in exe (change ordinal in pe2lx.cpp too!!)
    _RegisterPe2LxExe@12                                          @1203
    _RegisterPe2LxDll@12                                          @1209

    _CreateWin32PeLdrExe@36                                       @1236

    _RegisterLxExe@8                                              @1237
    _RegisterLxDll@24                                             @1238
    _UnregisterLxDll@4                                            @1239
    _RegisterDummyExe@4                                           @1249
    _IsDummyExeLoaded@0                                           @1250 NONAME

;VMutex
;;   enter__6VMutexFUlPUl                                           @1204 NONAME
;;   leave__6VMutexFPUl                                             @1205 NONAME
   __ct__6VMutexFv                                                @1206 NONAME
   __dt__6VMutexFv                                                @1207 NONAME

;version functions
   CheckVersionFromHMOD = CheckVersionFromHMOD                    @1223 NONAME
   CheckVersion         = CheckVersion                            @1224 NONAME

   Win32QueryModuleName = Win32QueryModuleName                    @1225 NONAME

   GetFS               = GetFS                                    @1226 NONAME
   SetFS               = SetFS                                    @1227 NONAME
   SetReturnFS         = SetReturnFS                              @1235 NONAME

   RestoreOS2TIB        = _RestoreOS2TIB@0                        @1228 NONAME
   SetWin32TIB          = _SetWin32TIB@4                          @1229 NONAME
   RestoreOS2FS         = RestoreOS2FS                            @1230 NONAME

   ;SvL: HandleManager functions

;   HMHandleTranslateToWin__FUlPUl                                  @1234

   HMHandleAllocate__FPUlUl                                       @1231 NONAME
   HMHandleFree__FUl                                              @1232 NONAME
   HMHandleTranslateToOS2__FUlPUl                                 @1233 NONAME
   HMMsgWaitForMultipleObjects__FUlPUlN31                         @1260 NONAME
   HMOpenThreadToken__FUlN21PUl                                   @1261 NONAME
   HMOpenProcessToken__FUlN21PUl                                  @1262 NONAME
   HMHandleGetUserData__FUl                                       @1263 NONAME
   HMHandleSetUserData__FUlT1                                     @1303 NONAME

   _GetThreadTEB@0                                                @1234 NONAME
   _GetTEBFromThreadId@4                                          @1255 NONAME
   _GetTEBFromThreadHandle@4                                      @1256 NONAME

; HEAP Management (heap.cpp, heapstring.cpp)
    HEAP_xalloc                = _HEAP_xalloc@12                  @1240 NONAME
    HEAP_xrealloc              = _HEAP_xrealloc@16                @1241 NONAME
    HEAP_malloc                = _HEAP_malloc@4                   @1242 NONAME
    HEAP_realloc               = _HEAP_realloc@8                  @1243 NONAME
    HEAP_size                  = _HEAP_size@4                     @1292 NONAME
    HEAP_free                  = _HEAP_free@4                     @1244 NONAME
    HEAP_strdupWtoA            = _HEAP_strdupWtoA@12              @1245 NONAME
    HEAP_strdupAtoW            = _HEAP_strdupAtoW@12              @1246 NONAME
    HEAP_strdupA               = _HEAP_strdupA@12                 @1247 NONAME
    HEAP_strdupW               = _HEAP_strdupW@12                 @1248 NONAME

    _VIRTUAL_MapFileA@12                                          @1251 NONAME
    _VIRTUAL_MapFileW@12                                          @1252 NONAME

    OS2SetExceptionHandler                                        @1253 NONAME
    OS2UnsetExceptionHandler                                      @1254 NONAME

; -------------------
; Odin ini management
; -------------------

    _PROFILE_GetOdinIniString@20                                  @1264 NONAME
    _PROFILE_SetOdinIniString@12                                  @1265 NONAME
    _PROFILE_GetOdinIniInt@12                                     @1266 NONAME
    _PROFILE_SetOdinIniInt@12                                     @1267 NONAME
    _PROFILE_GetOdinIniBool@12                                    @1268 NONAME
    _PROFILE_SetOdinIniBool@12                                    @1269 NONAME
    _PROFILE_SaveOdinIni@0                                        @1270 NONAME

;shared memory allocation
    _smalloc                                                      @1271 NONAME
    _smallocfill                                                  @1275 NONAME
    InitializeSharedHeap                                          @1276 NONAME
    DestroySharedHeap                                             @1277 NONAME
    _debug_smalloc                                                @1278 NONAME
    _debug_smallocfill                                            @1279 NONAME
    _debug_sfree                                                  @1280 NONAME

;code memory allocation
    codeHeap                                                      @1272 NONAME

;fast file API's
    FindFirstFileMultiA        = _FindFirstFileMultiA@12          @1290 NONAME
    FindNextFileMultiA         = _FindNextFileMultiA@12           @1291 NONAME

    _GetProcModuleFileNameA@12                                    @1295 NONAME

;Build number
    _Odin32GetBuildNumber@0                                       @1293 NONAME

    _WaitForInputIdle@8                                           @1301 NONAME

    InitializeKernel32                                            @1302 NONAME

    IsExeStarted__Fv                                              @2001 NONAME
    CheckCurFS                                                    @2002 NONAME
    _SupportsCPUID                                                @2003 NONAME
    _GetCPUFeatures                                               @2004 NONAME
    CPUFeatures                                                   @2005 NONAME

    _wctype_table                                                 @2006 NONAME
    _casemap_upper                                                @2007 NONAME
    _casemap_lower                                                @2008 NONAME

; @@PF this exports were cut-out as a result of migration to new unicode
; header 29.07.2002 and replaced by 3 new entries
;    _toupperW@4                                                   @2006 NONAME
;    _tolowerW@4                                                   @2007 NONAME
;    get_char_typeW                                                @2008 NONAME

    _GetProcessTIBSel@0                                           @2012 NONAME

    _SetRegistryRootKey@8                                         @2013 NONAME
    _SetCustomBuildName@8                                         @2014 NONAME
    _RegisterCustomDriver@36                                      @2015 NONAME

    strcmpiW                                                      @2020 NONAME
    strstrW                                                       @2021 NONAME
    strncmpiW                                                     @2022 NONAME
    strtolW                                                       @2027 NONAME
    strtoulW                                                      @2028 NONAME

    cp_wcstombs                                                   @2023 NONAME
    cp_mbstowcs                                                   @2024 NONAME
    cp_get_table                                                  @2025 NONAME

    OSLibDosDevIOCtl                                              @2026 NONAME

    OSLibImSetMsgQueueProperty                                    @2029 NONAME

    fIsDBCSEnv                                                    @2103 NONAME

    vsnprintfW                            @2030 NONAME
    snprintfW                             @2031 NONAME
    sprintfW                              @2032 NONAME

    __argcA                               @2033 NONAME
    __argvA                               @2034 NONAME
    _CommandLineToArgvW@8                 @2035 NONAME
    
; custom dll hook installer
    _ODIN_SetDllLoadCallback@4                                    @2100 NONAME
; override export
    _ODIN_SetProcAddress@12                                       @2101 NONAME

; override TIB switching
    _ODIN_SetTIBSwitch@4                                          @2102 NONAME

    _hookInit@4                                                   @2104 NONAME

    GetDisplayCodepage                                            @3000 NONAME
    GetWindowsCodepage                                            @3001 NONAME

; ODIN debugging functions
    _dbg_GetThreadCallDepth@0                                     @3100 NONAME
    _dbg_IncThreadCallDepth@0                                     @3101 NONAME
    _dbg_DecThreadCallDepth@0                                     @3102 NONAME
    PerfView_RegisterCall                                         @3103 NONAME
    PerfView_DumpProfile                                          @3104 NONAME
    PerfView_Write                                                @3105 NONAME
    _dbg_GetLastCallerName@0                                      @3106 NONAME
    _dbg_ThreadPushCall@4                                         @3107 NONAME
    _dbg_ThreadPopCall@0                                          @3108 NONAME

    _ODIN_QueryLoaders@24                                         @3109 NONAME
    _ODIN_IsWin32App@4                                            @3110 NONAME

    _OSLibWinCreateObject@32                                      @3111 NONAME

    _MMAP_RegisterMemoryRange@16                                  @3112 NONAME
    _MMAP_UnregisterMemoryRange@4                                 @3113 NONAME

    _ODIN_SetExceptionHandler@4                                   @3114 NONAME
    _ODIN_UnsetExceptionHandler@4                                 @3115 NONAME

    _PSAPI_EnumProcessModules@16			          @3116 NONAME
    _PSAPI_GetModuleInformation@16  	 		          @3117 NONAME

    _ODIN_SetProcessDword@12                                      @3118 NONAME

; required for Mozilla plugin

    _ODIN_ThreadEnterOdinContext@8 = _ODIN_ThreadEnterOdinContext@8 @3119
    _ODIN_ThreadLeaveOdinContext@8 = _ODIN_ThreadLeaveOdinContext@8 @3120
    _ODIN_ThreadLeaveOdinContextNested@8 = _ODIN_ThreadLeaveOdinContextNested@8 @3121
    _ODIN_ThreadEnterOdinContextNested@12 = _ODIN_ThreadEnterOdinContextNested@12 @3122

; Char functions (forwarders from user32)
    _CharLowerA@4                                                 @3127 NONAME
    _CharLowerBuffA@8                                             @3128 NONAME
    _CharLowerBuffW@8                                             @3129 NONAME
    _CharLowerW@4                                                 @3130 NONAME
    _CharNextA@4                                                  @3131 NONAME
    _CharNextExA@12                                               @3132 NONAME
    _CharNextExW@12                                               @3133 NONAME
    _CharNextW@4                                                  @3134 NONAME
    _CharPrevA@8                                                  @3135 NONAME
    _CharPrevExA@16                                               @3136 NONAME
    _CharPrevExW@16                                               @3137 NONAME
    _CharPrevW@8                                                  @3138 NONAME
    _CharToOemA@8                                                 @3139 NONAME
    _CharToOemBuffA@12                                            @3140 NONAME
    _CharToOemBuffW@12                                            @3141 NONAME
    _CharToOemW@8                                                 @3142 NONAME
    _CharUpperA@4                                                 @3143 NONAME
    _CharUpperBuffA@8                                             @3144 NONAME
    _CharUpperBuffW@8                                             @3145 NONAME
    _CharUpperW@4                                                 @3146 NONAME
    _OemToCharA@8                                                 @3149 NONAME
    _OemToCharBuffA@12                                            @3150 NONAME
    _OemToCharBuffW@12                                            @3151 NONAME
    _OemToCharW@8                                                 @3152 NONAME
    _IsCharAlphaA@4                                               @3153 NONAME
    _IsCharAlphaNumericA@4                                        @3154 NONAME
    _IsCharAlphaNumericW@4                                        @3155 NONAME
    _IsCharAlphaW@4                                               @3156 NONAME
    _IsCharLowerA@4                                               @3157 NONAME
    _IsCharLowerW@4                                               @3158 NONAME
    _IsCharUpperA@4                                               @3159 NONAME
    _IsCharUpperW@4                                               @3160 NONAME

    SetFilePointerEx            = _SetFilePointerEx@20               @3161
    SetWaitableTimer            = _SetWaitableTimer@24               @3162

; RAS functions
    RasRegisterObjectTracking   = _RasRegisterObjectTracking@24      @3500
    RasDeregisterObjectTracking = _RasDeregisterObjectTracking@4     @3501
    RasAddObject                = _RasAddObject@16                   @3502
    RasRemoveObject             = _RasRemoveObject@8                 @3503
    RasSetObjectUserData        = _RasSetObjectUserData@20           @3504
    RasQueryObjectUserData      = _RasQueryObjectUserData@20         @3505
    RasInitialize               = _RasInitialize@4                   @3506
    RasUninitialize             = _RasUninitialize@0                 @3507
    _RasLog                     = _RasLog                            @3508
    RasLogMsg                   = _RasLogMsg@12                      @3509
    RasLogObjects               = _RasLogObjects@8                   @3510
    RasEnterSerialize           = _RasEnterSerialize@0               @3511
    RasExitSerialize            = _RasExitSerialize@0                @3512
    _RasLogNoEOL                = _RasLogNoEOL                       @3513
    RasOpenLogChannel           = _RasOpenLogChannel@12              @3514
    RasWriteLogChannel          = _RasWriteLogChannel@12             @3515
    RasCloseLogChannel          = _RasCloseLogChannel@4              @3516
    _RasLog2                    = _RasLog2                           @3517
    RasLogMsg2                  = _RasLogMsg2@16                     @3518
    _RasLogNoEOL2               = _RasLogNoEOL2                      @3519
    RasSaveContext              = _RasSaveContext@4                  @3520
    RasRestoreContext           = _RasRestoreContext@4               @3521
    RasEntry                    = _RasEntry@12                       @3522
    RasSetProcAddr              = _RasSetProcAddr@12                 @3523
    RasTrackMemFree             = _RasTrackMemFree@8                 @3524
    RasTrackMemAlloc            = _RasTrackMemAlloc@8                @3525
    RasTrackMemRealloc          = _RasTrackMemRealloc@12             @3526
    RasCountObjects             = _RasCountObjects@12                @3527
    RasGetTrackHandle           = _RasGetTrackHandle@4               @3528

    DecodePointer              = _DecodePointer@4                 @3529 NONAME
    EncodePointer              = _EncodePointer@4                 @3530 NONAME
    RtlUniform                 = _RtlUniform@4                    @3531 NONAME
    
    ___seh_handler                                                @3600 NONAME
    _EnableSEH@0                                                  @3601 NONAME
    