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