5 # 1-207 are the basic functions, those are (with minor variations)
6 # present in win31, win95 and nt351
9 2 pascal16 ExitKernel
() ExitKernel16
10 3 pascal GetVersion
() GetVersion16
11 4 pascal16 LocalInit
(word word word
) LocalInit16
12 5 pascal16 LocalAlloc
(word word
) LocalAlloc16
13 6 pascal16 LocalReAlloc
(word word word
) LocalReAlloc16
14 7 pascal16 LocalFree
(word
) LocalFree16
15 8 pascal LocalLock
(word
) LocalLock16
16 9 pascal16 LocalUnlock
(word
) LocalUnlock16
17 10 pascal16 LocalSize
(word
) LocalSize16
18 11 pascal16 LocalHandle
(word
) LocalHandle16
19 12 pascal16 LocalFlags
(word
) LocalFlags16
20 13 pascal16 LocalCompact
(word
) LocalCompact16
21 14 pascal LocalNotify
(long
) LocalNotify16
22 15 pascal16 GlobalAlloc
(word long
) GlobalAlloc16
23 16 pascal16 GlobalReAlloc
(word long word
) GlobalReAlloc16
24 17 pascal16 GlobalFree
(word
) GlobalFree16
25 18 pascal GlobalLock
(word
) WIN16_GlobalLock16
26 19 pascal16 GlobalUnlock
(word
) GlobalUnlock16
27 20 pascal GlobalSize
(word
) GlobalSize16
28 21 pascal GlobalHandle
(word
) GlobalHandle16
29 22 pascal16 GlobalFlags
(word
) GlobalFlags16
30 23 pascal16 LockSegment
(word
) LockSegment16
31 24 pascal16 UnlockSegment
(word
) UnlockSegment16
32 25 pascal GlobalCompact
(long
) GlobalCompact16
33 26 pascal16 GlobalFreeAll
(word
) GlobalFreeAll16
34 27 pascal16 GetModuleName
(word ptr word
) GetModuleName16
35 28 pascal GlobalMasterHandle
() GlobalMasterHandle16
36 29 pascal16 Yield
() Yield16
37 30 pascal16 WaitEvent
(word
) WaitEvent16
38 31 pascal16 PostEvent
(word
) PostEvent16
39 32 pascal16 SetPriority
(word s_word
) SetPriority16
40 33 pascal16 LockCurrentTask
(word
) LockCurrentTask16
41 34 pascal16 SetTaskQueue
(word word
) SetTaskQueue16
42 35 pascal16 GetTaskQueue
(word
) GetTaskQueue16
43 36 pascal GetCurrentTask
() WIN16_GetCurrentTask
44 37 pascal GetCurrentPDB
() GetCurrentPDB16
45 38 pascal SetTaskSignalProc
(word segptr
) SetTaskSignalProc
46 41 pascal16 EnableDos
() KERNEL_nop
47 42 pascal16 DisableDos
() KERNEL_nop
48 45 pascal16 LoadModule
(str ptr
) LoadModule16
49 46 pascal16 FreeModule
(word
) FreeModule16
50 47 pascal GetModuleHandle
(segstr
) WIN16_GetModuleHandle
51 48 pascal16 GetModuleUsage
(word
) GetModuleUsage16
52 49 pascal16 GetModuleFileName
(word ptr s_word
) GetModuleFileName16
53 50 pascal GetProcAddress
(word segstr
) GetProcAddress16
54 51 pascal MakeProcInstance
(segptr word
) MakeProcInstance16
55 52 pascal16 FreeProcInstance
(segptr
) FreeProcInstance16
56 53 stub CallProcInstance
57 54 pascal16 GetInstanceData
(word word word
) GetInstanceData16
58 55 register Catch
(ptr
) Catch16
59 56 register Throw
(ptr word
) Throw16
60 57 pascal16 GetProfileInt
(str str s_word
) GetProfileInt16
61 58 pascal16 GetProfileString
(str str str ptr word
) GetProfileString16
62 59 pascal16 WriteProfileString
(str str str
) WriteProfileString16
63 60 pascal16 FindResource
(word segstr segstr
) FindResource16
64 61 pascal16 LoadResource
(word word
) LoadResource16
65 62 pascal LockResource
(word
) WIN16_LockResource16
66 63 pascal16 FreeResource
(word
) FreeResource16
67 64 pascal16 AccessResource
(word word
) AccessResource16
68 65 pascal SizeofResource
(word word
) SizeofResource16
69 66 pascal16 AllocResource
(word word long
) AllocResource16
70 67 pascal SetResourceHandler
(word segstr segptr
) SetResourceHandler16
71 68 pascal16 InitAtomTable
(word
) InitAtomTable16
72 69 pascal16 FindAtom
(str
) FindAtom16
73 70 pascal16 AddAtom
(str
) AddAtom16
74 71 pascal16 DeleteAtom
(word
) DeleteAtom16
75 72 pascal16 GetAtomName
(word ptr word
) GetAtomName16
76 73 pascal16 GetAtomHandle
(word
) GetAtomHandle16
77 74 pascal16 OpenFile
(str ptr word
) OpenFile16
79 76 stub DeletePathName
80 # Reserved*: old Win 2.x functions now moved to USER (Win 3.0+)
81 77 pascal Reserved1
(segptr
) AnsiNext16
82 78 pascal Reserved2
(segptr segptr
) AnsiPrev16
83 79 pascal Reserved3
(segstr
) AnsiUpper16
84 80 pascal Reserved4
(segstr
) AnsiLower16
85 81 pascal16 _lclose
(word
) _lclose16
86 82 pascal16 _lread
(word segptr word
) WIN16_lread
87 83 pascal16 _lcreat
(str word
) _lcreat16
88 84 pascal _llseek
(word long word
) _llseek16
89 85 pascal16 _lopen
(str word
) _lopen16
90 86 pascal16 _lwrite
(word ptr word
) _lwrite16
91 87 pascal16 Reserved5
(str str
) lstrcmp16
92 88 pascal lstrcpy
(segptr str
) lstrcpy16
93 89 pascal lstrcat
(segstr str
) lstrcat16
94 90 pascal16 lstrlen
(str
) lstrlen16
95 91 register InitTask
() InitTask16
96 92 pascal GetTempDrive
(word
) WIN16_GetTempDrive
97 93 pascal16 GetCodeHandle
(segptr
) GetCodeHandle16
98 94 pascal16 DefineHandleTable
(word
) DefineHandleTable16
99 95 pascal16 LoadLibrary
(str
) LoadLibrary16
100 96 pascal16 FreeLibrary
(word
) FreeLibrary16
101 97 pascal16 GetTempFileName
(word str word ptr
) GetTempFileName16
102 98 pascal16 GetLastDiskChange
() KERNEL_nop
104 100 pascal16 ValidateCodeSegments
() KERNEL_nop
105 101 stub NoHookDosCall
106 102 register DOS3Call
() DOS3Call
107 103 register NetBIOSCall
() NetBIOSCall16
108 104 pascal16 GetCodeInfo
(segptr ptr
) GetCodeInfo16
109 105 pascal16 GetExeVersion
() GetExeVersion16
110 106 pascal SetSwapAreaSize
(word
) SetSwapAreaSize16
111 107 pascal16 SetErrorMode
(word
) SetErrorMode16
112 108 pascal16 SwitchStackTo
(word word word
) SwitchStackTo16
113 109 register SwitchStackBack
() SwitchStackBack16
114 110 pascal PatchCodeHandle
(word
) PatchCodeHandle16
115 111 pascal GlobalWire
(word
) GlobalWire16
116 112 pascal16 GlobalUnWire
(word
) GlobalUnWire16
117 113 equate __AHSHIFT
3
118 114 equate __AHINCR
8
119 115 pascal16 OutputDebugString
(str
) OutputDebugString16
121 117 pascal16 OldYield
() OldYield16
122 118 pascal16 GetTaskQueueDS
() GetTaskQueueDS16
123 119 pascal16 GetTaskQueueES
() GetTaskQueueES16
124 120 stub UndefDynLink
125 121 pascal16 LocalShrink
(word word
) LocalShrink16
126 122 pascal16 IsTaskLocked
() IsTaskLocked16
127 123 pascal16 KbdRst
() KERNEL_nop
128 124 pascal16 EnableKernel
() KERNEL_nop
129 125 pascal16 DisableKernel
() KERNEL_nop
131 127 pascal16 GetPrivateProfileInt
(str str s_word str
) GetPrivateProfileInt16
132 128 pascal16 GetPrivateProfileString
(str str str ptr word str
)
133 GetPrivateProfileString16
134 129 pascal16 WritePrivateProfileString
(str str str str
)
135 WritePrivateProfileString16
136 130 pascal FileCDR
(ptr
) FileCDR16
137 131 pascal GetDOSEnvironment
() GetDOSEnvironment16
138 132 pascal GetWinFlags
() GetWinFlags16
139 133 pascal16 GetExePtr
(word
) WIN16_GetExePtr
140 134 pascal16 GetWindowsDirectory
(ptr word
) GetWindowsDirectory16
141 135 pascal16 GetSystemDirectory
(ptr word
) GetSystemDirectory16
142 136 pascal16 GetDriveType
(word
) GetDriveType16
143 137 pascal16 FatalAppExit
(word str
) FatalAppExit16
144 138 pascal GetHeapSpaces
(word
) GetHeapSpaces16
146 140 pascal16 SetSigHandler
(segptr ptr ptr word word
) SetSigHandler16
148 142 pascal16 GetProfileSectionNames
(ptr word
) GetProfileSectionNames16
149 143 pascal16 GetPrivateProfileSectionNames
(ptr word str
) GetPrivateProfileSectionNames16
150 144 pascal16 CreateDirectory
(ptr ptr
) CreateDirectory16
151 145 pascal16 RemoveDirectory
(ptr
) RemoveDirectory16
152 146 pascal16 DeleteFile
(ptr
) DeleteFile16
153 147 pascal16 SetLastError
(long
) SetLastError
154 148 pascal GetLastError
() GetLastError
155 149 pascal16 GetVersionEx
(ptr
) GetVersionEx16
156 150 pascal16 DirectedYield
(word
) DirectedYield16
157 151 stub WinOldApCall
158 152 pascal16 GetNumTasks
() GetNumTasks16
159 154 pascal16 GlobalNotify
(segptr
) GlobalNotify16
160 155 pascal16 GetTaskDS
() GetTaskDS16
161 156 pascal LimitEMSPages
(long
) LimitEMSPages16
162 157 pascal GetCurPID
(long
) GetCurPID16
163 158 pascal16 IsWinOldApTask
(word
) IsWinOldApTask16
164 159 pascal GlobalHandleNoRIP
(word
) GlobalHandleNoRIP16
166 161 pascal16 LocalCountFree
() LocalCountFree16
167 162 pascal16 LocalHeapSize
() LocalHeapSize16
168 163 pascal16 GlobalLRUOldest
(word
) GlobalLRUOldest16
169 164 pascal16 GlobalLRUNewest
(word
) GlobalLRUNewest16
170 165 pascal16 A20Proc
(word
) A20Proc16
171 166 pascal16 WinExec
(str word
) WinExec16
172 167 pascal16 GetExpWinVer
(word
) GetExpWinVer16
173 168 pascal16 DirectResAlloc
(word word word
) DirectResAlloc16
174 169 pascal GetFreeSpace
(word
) GetFreeSpace16
175 170 pascal16 AllocCStoDSAlias
(word
) AllocCStoDSAlias16
176 171 pascal16 AllocDStoCSAlias
(word
) AllocDStoCSAlias16
177 172 pascal16 AllocAlias
(word
) AllocCStoDSAlias16
178 173 equate __ROMBIOS
0
180 175 pascal16 AllocSelector
(word
) AllocSelector16
181 176 pascal16 FreeSelector
(word
) FreeSelector16
182 177 pascal16 PrestoChangoSelector
(word word
) PrestoChangoSelector16
183 178 equate __WINFLAGS
0x413
185 180 pascal16 LongPtrAdd
(long long
) LongPtrAdd16
189 184 pascal GlobalDOSAlloc
(long
) GlobalDOSAlloc16
190 185 pascal16 GlobalDOSFree
(word
) GlobalDOSFree16
191 186 pascal GetSelectorBase
(word
) WIN16_GetSelectorBase
192 187 pascal16 SetSelectorBase
(word long
) WIN16_SetSelectorBase
193 188 pascal GetSelectorLimit
(word
) GetSelectorLimit16
194 189 pascal16 SetSelectorLimit
(word long
) SetSelectorLimit16
196 191 pascal16 GlobalPageLock
(word
) GlobalPageLock16
197 192 pascal16 GlobalPageUnlock
(word
) GlobalPageUnlock16
201 196 pascal16 SelectorAccessRights
(word word word
) SelectorAccessRights16
202 197 pascal16 GlobalFix
(word
) GlobalFix16
203 198 pascal16 GlobalUnfix
(word
) GlobalUnfix16
204 199 pascal16 SetHandleCount
(word
) SetHandleCount16
205 200 pascal16 ValidateFreeSpaces
() KERNEL_nop
207 202 stub RegisterPtrace
208 203 register DebugBreak
() DebugBreak16
209 204 stub SwapRecording
211 206 pascal16 AllocSelectorArray
(word
) AllocSelectorArray16
212 207 pascal16 IsDBCSLeadByte
(word
) IsDBCSLeadByte16
215 # 208-237 are Win95 extensions; a few of those are also present in WinNT
217 208 pascal K208
(word long long long
) Local32Init16
218 209 pascal K209
(long long word long
) Local32Alloc16
219 210 pascal K210
(long long word long long
) Local32ReAlloc16
220 211 pascal K211
(long long word
) Local32Free16
221 213 pascal K213
(long long word word
) Local32Translate16
222 214 pascal K214
(long long word
) Local32Size16
223 215 pascal K215
(long word
) Local32ValidHandle16
# Win95 only -- CONFLICT!
224 #215 stub WOWShouldWeSayWin95 # WinNT only -- CONFLICT!
225 216 pascal RegEnumKey
(long long ptr long
) RegEnumKey16
# Both 95/NT
226 217 pascal RegOpenKey
(long str ptr
) RegOpenKey16
# Both 95/NT
227 218 pascal RegCreateKey
(long str ptr
) RegCreateKey16
228 219 pascal RegDeleteKey
(long str
) RegDeleteKey16
229 220 pascal RegCloseKey
(long
) RegCloseKey16
# Both 95/NT
230 221 pascal RegSetValue
(long str long ptr long
) RegSetValue16
231 222 pascal RegDeleteValue
(long str
) RegDeleteValue16
232 223 pascal RegEnumValue
(long long ptr ptr ptr ptr ptr ptr
) RegEnumValue16
# Both 95/NT
233 224 pascal RegQueryValue
(long str ptr ptr
) RegQueryValue16
234 225 pascal RegQueryValueEx
(long str ptr ptr ptr ptr
) RegQueryValueEx16
235 226 pascal RegSetValueEx
(long str long long ptr long
) RegSetValueEx16
236 227 pascal RegFlushKey
(long
) RegFlushKey
237 228 pascal16 K228
(word
) GetExePtr
238 229 pascal16 K229
(long
) Local32GetSegment16
239 230 pascal GlobalSmartPageLock
(word
) GlobalPageLock16
#?
240 231 pascal GlobalSmartPageUnlock
(word
) GlobalPageUnlock16
#?
242 233 stub RegUnloadKey
244 235 stub InvalidateNlsCache
245 236 stub GetProductName
246 237 pascal16 K237
() KERNEL_nop
249 # 262-274 are WinNT extensions; those are not present in Win95
251 262 stub WOWWaitForMsgAndEvent
254 274 stub GetShortPathName
257 # 310-356 are again shared between all versions
259 310 pascal16 LocalHandleDelta
(word
) LocalHandleDelta16
260 311 pascal GetSetKernelDOSProc
(ptr
) GetSetKernelDOSProc16
261 314 stub DebugDefineSegment
262 315 pascal16 WriteOutProfiles
() WriteOutProfiles16
263 316 pascal GetFreeMemInfo
() GetFreeMemInfo16
264 318 stub FatalExitHook
265 319 stub FlushCachedFileHandle
266 320 pascal16 IsTask
(word
) IsTask16
267 323 pascal16 IsRomModule
(word
) IsRomModule16
268 324 pascal16 LogError
(word ptr
) LogError16
269 325 pascal16 LogParamError
(word ptr ptr
) LogParamError16
270 326 pascal16 IsRomFile
(word
) IsRomFile16
271 327 register K327
() HandleParamError
272 328 pascal16 _DebugOutput
() _DebugOutput
273 329 pascal16 K329
(str word
) DebugFillBuffer
274 332 long THHOOK
(0 0 0 0 0 0 0 0)
275 334 pascal16 IsBadReadPtr
(segptr word
) IsBadReadPtr16
276 335 pascal16 IsBadWritePtr
(segptr word
) IsBadWritePtr16
277 336 pascal16 IsBadCodePtr
(segptr
) IsBadCodePtr16
278 337 pascal16 IsBadStringPtr
(segptr word
) IsBadStringPtr16
279 338 pascal16 HasGPHandler
(segptr
) HasGPHandler16
280 339 pascal16 DiagQuery
() DiagQuery16
281 340 pascal16 DiagOutput
(str
) DiagOutput16
282 341 pascal ToolHelpHook
(ptr
) ToolHelpHook16
283 342 word __GP
(0 0 0 0)
284 343 stub RegisterWinOldApHook
285 344 stub GetWinOldApHooks
286 345 pascal16 IsSharedSelector
(word
) IsSharedSelector16
287 346 pascal16 IsBadHugeReadPtr
(segptr long
) IsBadHugeReadPtr16
288 347 pascal16 IsBadHugeWritePtr
(segptr long
) IsBadHugeWritePtr16
289 348 pascal16 hmemcpy
(ptr ptr long
) hmemcpy16
290 349 pascal _hread
(word segptr long
) WIN16_hread
291 350 pascal _hwrite
(word ptr long
) _hwrite16
292 351 pascal16 BUNNY_351
() KERNEL_nop
293 352 pascal lstrcatn
(segstr str word
) lstrcatn16
294 353 pascal lstrcpyn
(segptr str word
) lstrcpyn16
295 354 pascal GetAppCompatFlags
(word
) GetAppCompatFlags16
296 355 pascal16 GetWinDebugInfo
(ptr word
) GetWinDebugInfo16
297 356 pascal16 SetWinDebugInfo
(ptr
) SetWinDebugInfo16
300 # 357-365 are present in Win95 only
301 # Note that from here on most of the Win95-only functions are exported
302 # ordinal-only; the names given here are mostly guesses :-)
304 357 pascal MapSL
(segptr
) MapSL
305 358 pascal MapLS
(long
) MapLS
306 359 pascal UnMapLS
(segptr
) UnMapLS
307 360 pascal16 OpenFileEx
(str ptr word
) OpenFile16
308 361 pascal16 PIGLET_361
() KERNEL_nop
309 362 stub ThunkTerminateProcess
310 365 register GlobalChangeLockCount
(word word
) GlobalChangeLockCount16
313 # 403-404 are common to all versions
315 403 pascal16 FarSetOwner
(word word
) FarSetOwner16
# aka K403
316 404 pascal16 FarGetOwner
(word
) FarGetOwner16
# aka K404
319 # 406-494 are present only in Win95
321 406 pascal16 WritePrivateProfileStruct
(str str ptr word str
) WritePrivateProfileStruct16
322 407 pascal16 GetPrivateProfileStruct
(str str ptr word str
) GetPrivateProfileStruct16
325 410 stub CreateProcessFromWinExec
326 411 pascal GetCurrentDirectory
(long ptr
) GetCurrentDirectory16
327 412 pascal16 SetCurrentDirectory
(ptr
) SetCurrentDirectory16
328 413 pascal16 FindFirstFile
(ptr ptr
) FindFirstFile16
329 414 pascal16 FindNextFile
(word ptr
) FindNextFile16
330 415 pascal16 FindClose
(word
) FindClose16
331 416 pascal16 WritePrivateProfileSection
(str str str
) WritePrivateProfileSection16
332 417 pascal16 WriteProfileSection
(str str
) WriteProfileSection16
333 418 pascal16 GetPrivateProfileSection
(str ptr word str
) GetPrivateProfileSection16
334 419 pascal16 GetProfileSection
(str ptr word
) GetProfileSection16
335 420 pascal GetFileAttributes
(ptr
) GetFileAttributes16
336 421 pascal16 SetFileAttributes
(ptr long
) SetFileAttributes16
337 422 pascal16 GetDiskFreeSpace
(ptr ptr ptr ptr ptr
) GetDiskFreeSpace16
338 423 pascal16 LogApiThk
(str
) LogApiThk
339 431 pascal16 IsPeFormat
(str word
) IsPeFormat16
340 432 stub FileTimeToLocalFileTime
341 434 pascal16 UnicodeToAnsi
(ptr ptr word
) UnicodeToAnsi16
342 435 stub GetTaskFlags
343 436 pascal16 _ConfirmSysLevel
(ptr
) _ConfirmSysLevel
344 437 pascal16 _CheckNotSysLevel
(ptr
) _CheckNotSysLevel
345 438 pascal16 _CreateSysLevel
(ptr long
) _CreateSysLevel
346 439 pascal16 _EnterSysLevel
(ptr
) _EnterSysLevel
347 440 pascal16 _LeaveSysLevel
(ptr
) _LeaveSysLevel
348 441 pascal CreateThread16
(ptr long segptr segptr long ptr
) CreateThread16
349 442 pascal VWin32_EventCreate
() VWin32_EventCreate
350 443 pascal VWin32_EventDestroy
(long
) VWin32_EventDestroy
351 444 pascal16 Local32Info
(ptr word
) Local32Info16
352 445 pascal16 Local32First
(ptr word
) Local32First16
353 446 pascal16 Local32Next
(ptr
) Local32Next16
354 447 pascal16 WIN32_OldYield
() WIN32_OldYield16
356 449 pascal GetpWin16Lock
() GetpWin16Lock16
357 450 pascal VWin32_EventWait
(long
) VWin32_EventWait
358 451 pascal VWin32_EventSet
(long
) VWin32_EventSet
359 452 pascal LoadLibrary32
(str
) LoadLibrary32_16
360 453 pascal GetProcAddress32
(long str
) GetProcAddress32_16
361 454 equate __FLATCS
0 # initialized by BUILTIN_Init()
362 455 equate __FLATDS
0 # initialized by BUILTIN_Init()
363 456 pascal DefResourceHandler
(word word word
) NE_DefResourceHandler
364 457 pascal CreateW32Event
(long long
) WIN16_CreateEvent
365 458 pascal SetW32Event
(long
) SetEvent
366 459 pascal ResetW32Event
(long
) ResetEvent
367 460 pascal WaitForSingleObject
(long long
) WIN16_WaitForSingleObject
368 461 pascal WaitForMultipleObjects
(long ptr long long
) WIN16_WaitForMultipleObjects
369 462 pascal GetCurrentThreadId
() GetCurrentThreadId
370 463 pascal SetThreadQueue
(long word
) SetThreadQueue16
371 464 pascal GetThreadQueue
(long
) GetThreadQueue16
373 466 pascal16 ExitProcess
(word
) ExitProcess16
374 467 stub WOACreateConsole
375 468 stub WOASpawnConApp
376 469 stub WOAGimmeTitle
377 470 stub WOADestroyConsole
378 471 pascal GetCurrentProcessId
() GetCurrentProcessId
379 472 register MapHInstLS
() MapHInstLS
380 473 register MapHInstSL
() MapHInstSL
381 474 pascal CloseW32Handle
(long
) CloseHandle
382 475 pascal16 GetTEBSelectorFS
() GetTEBSelectorFS16
383 476 pascal ConvertToGlobalHandle
(long
) ConvertToGlobalHandle
384 477 stub WOAFullScreen
385 478 stub WOATerminateProcess
386 479 pascal KERNEL_479
(long
) VWin32_EventSet
# ???
387 480 pascal16 _EnterWin16Lock
() SYSLEVEL_EnterWin16Lock
388 481 pascal16 _LeaveWin16Lock
() SYSLEVEL_LeaveWin16Lock
389 482 pascal LoadSystemLibrary32
(str
) LoadLibrary32_16
# FIXME!
390 483 pascal MapProcessHandle
(long
) MapProcessHandle
391 484 pascal SetProcessDWORD
(long s_word long
) SetProcessDword
392 485 pascal GetProcessDWORD
(long s_word
) GetProcessDword
393 486 pascal FreeLibrary32
(long
) FreeLibrary
394 487 pascal GetModuleFileName32
(long str word
) GetModuleFileNameA
395 488 pascal GetModuleHandle32
(str
) GetModuleHandleA
396 489 stub KERNEL_489
# VWin32_BoostWithDecay
397 490 pascal16 KERNEL_490
(word
) KERNEL_490
398 491 pascal RegisterServiceProcess
(long long
) RegisterServiceProcess
400 493 pascal16 UTInit
(long long long long
) UTInit16
403 # 495 is present only in Win98
404 495 pascal WaitForMultipleObjectsEx
(long ptr long long long
) WIN16_WaitForMultipleObjectsEx
406 # 500-544 are WinNT extensions; some are also available in Win95
408 500 pascal WOW16Call
(word word word
) WOW16Call
409 501 stub KDDBGOUT
# Both NT/95 (?)
410 502 stub WOWGETNEXTVDMCOMMAND
411 503 stub WOWREGISTERSHELLWINDOWHANDLE
412 504 stub WOWLOADMODULE
413 505 stub WOWQUERYPERFORMANCECOUNTER
414 506 stub WOWCURSORICONOP
415 #507 stub WOWCURSORICONOP # conflict with 506 !
416 507 stub WOWFAILEDEXEC
417 #508 stub WOWFAILEDEXEC # conflict with 507 ! (something broken here ?)
418 508 stub WOWCLOSECOMPORT
419 #509 stub WOWCLOSECOMPORT # conflict with 508 !
420 509 stub WOWKILLREMOTETASK
421 511 stub WOWKILLREMOTETASK
422 512 stub WOWQUERYDEBUG
423 513 pascal LoadLibraryEx32W
(ptr long long
) LoadLibraryEx32W16
# Both NT/95
424 514 pascal FreeLibrary32W
(long
) FreeLibrary32W16
# Both NT/95
425 515 pascal GetProcAddress32W
(long str
) GetProcAddress32W16
# Both NT/95
426 516 pascal GetVDMPointer32W
(segptr word
) GetVDMPointer32W16
# Both NT/95
427 517 pascal CallProc32W
() CallProc32W16
# Both NT/95
428 518 pascal CallProcEx32W
() CallProcEx32W16
# Both NT/95
429 519 stub EXITKERNELTHUNK
430 # the __MOD_ variables are WORD datareferences, the current values are invented.
431 520 equate __MOD_KERNEL
4200
432 521 equate __MOD_DKERNEL
4201
433 522 equate __MOD_USER
4203
434 523 equate __MOD_DUSER
4204
435 524 equate __MOD_GDI
4205
436 525 equate __MOD_DGDI
4206
437 526 equate __MOD_KEYBOARD
4207
438 527 equate __MOD_SOUND
4208
439 528 equate __MOD_SHELL
4209
440 529 equate __MOD_WINSOCK
4210
441 530 equate __MOD_TOOLHELP
4211
442 531 equate __MOD_MMEDIA
4212
443 532 equate __MOD_COMMDLG
4213
444 541 stub WOWSETEXITONLASTAPP
445 544 stub WOWSETCOMPATHANDLE
448 # 531-568 are Win95-only extensions.
449 # NOTE: Ordinals 531,532,541 clash with the WinNT extensions given above! Argh!
451 #531 stub ConvertClipboardHandleLS
452 #532 stub ConvertClipboardHandleSL
453 533 stub ConvertDDEHandleLS
454 534 stub ConvertDDEHandleSL
455 535 pascal VWin32_BoostThreadGroup
(long long
) VWin32_BoostThreadGroup
456 536 pascal VWin32_BoostThreadStatic
(long long
) VWin32_BoostThreadStatic
458 538 stub ThunkTheTemplateHandle
463 560 pascal SetThunkletCallbackGlue
(long segptr
) SetThunkletCallbackGlue16
464 561 pascal AllocLSThunkletCallback
(segptr long
) AllocLSThunkletCallback16
465 562 pascal AllocSLThunkletCallback
(long long
) AllocSLThunkletCallback16
466 563 pascal FindLSThunkletCallback
(segptr long
) FindLSThunkletCallback
467 564 pascal FindSLThunkletCallback
(long long
) FindSLThunkletCallback
468 566 stub KERNEL_566
# (thunklet) FIXME!!!
469 567 pascal AllocLSThunkletCallbackEx
(segptr long word
) AllocLSThunkletCallbackEx16
470 568 pascal AllocSLThunkletCallbackEx
(long long word
) AllocSLThunkletCallbackEx16
473 # 600-653 are Win95 only
475 600 stub AllocCodeAlias
476 601 stub FreeCodeAlias
477 602 pascal16 GetDummyModuleHandleDS
() GetDummyModuleHandleDS16
478 603 stub KERNEL_603
# OutputDebugString (?)
479 604 register CBClientGlueSL
() CBClientGlueSL
480 605 pascal AllocSLThunkletCallback
(long long
) AllocSLThunkletCallback16
481 606 pascal AllocLSThunkletCallback
(segptr long
) AllocLSThunkletCallback16
482 607 pascal AllocLSThunkletSysthunk
(segptr long long
) AllocLSThunkletSysthunk16
483 608 pascal AllocSLThunkletSysthunk
(long segptr long
) AllocSLThunkletSysthunk16
484 609 pascal FindLSThunkletCallback
(segptr long
) FindLSThunkletCallback
485 610 pascal FindSLThunkletCallback
(long long
) FindSLThunkletCallback
486 611 pascal16 FreeThunklet
(long long
) FreeThunklet16
487 612 pascal16 IsSLThunklet
(ptr
) IsSLThunklet16
490 615 pascal16 ConvertDialog32To16
(long long long
) ConvertDialog32To16
491 616 pascal16 ConvertMenu32To16
(long long long
) ConvertMenu32To16
492 617 pascal16 GetMenu32Size
(ptr
) GetMenu32Size16
493 618 pascal16 GetDialog32Size
(ptr
) GetDialog32Size16
494 619 pascal16 RegisterCBClient
(word segptr long
) RegisterCBClient16
495 620 register CBClientThunkSL
() CBClientThunkSL
496 621 register CBClientThunkSLEx
() CBClientThunkSLEx
497 622 pascal16 UnRegisterCBClient
(word segptr long
) UnRegisterCBClient16
498 623 pascal16 InitCBClient
(long
) InitCBClient16
499 624 pascal SetFastQueue
(long long
) SetFastQueue16
500 625 pascal GetFastQueue
() GetFastQueue16
501 626 stub SmashEnvironment
502 627 pascal16 IsBadFlatReadWritePtr
(segptr long word
) IsBadFlatReadWritePtr16
503 630 register C16ThkSL
() C16ThkSL
504 631 register C16ThkSL01
() C16ThkSL01
505 651 pascal ThunkConnect16
(str str word long ptr str word
) ThunkConnect16
507 653 stub OkWithKernelToChangeUsers
510 # 700-704 are Win95 only
512 700 pascal SSInit
() SSInit16
513 701 stub SSOnBigStack
515 703 stub CallProc32WFix
516 704 register SSConfirmSmallStack
() SSConfirmSmallStack
519 # Win95 krnl386.exe also exports ordinals 802-864,
520 # however, those seem to be only callback stubs that are
521 # never called directly by other modules ...