Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

829 lines
34 KiB

  1. ; Note - if you want to add exports to kernel16, please check with the
  2. ; developer who currently owns the product. As a general rule,
  3. ; add new public APIs to the end of the list, and add new internal APIs
  4. ; in one of the holes that is marked ";Avail NNN". Call your internal
  5. ; API "funcname @ NNN NONAME NODATA ;Internal"
  6. ; The ";Internal" is redundant now that we use NONAME, but it is fine
  7. ; documentation. the "NONAME" keeps it from appearing in LIBW or
  8. ; KRNL386.EXE, so internal stuff stays internal.
  9. ;
  10. ; In your code, either link by ordinal, or add an entry
  11. ; to your DEF file, performing the rename of the kernel export there.
  12. ; Also, don't add exports at the very end of the file, as that messes
  13. ; up the ROM Windows hack.
  14. LIBRARY KERNEL
  15. DESCRIPTION 'Microsoft Windows Kernel Interface Version 4.00'
  16. EXETYPE WINDOWS
  17. PROTMODE
  18. STUB 'KERNSTUB.EXE'
  19. CODE PRELOAD MOVEABLE
  20. DATA SINGLE
  21. SEGMENTS
  22. _TEXT CLASS 'CODE' PRELOAD FIXED
  23. _INITTEXT CLASS 'CODE' PRELOAD FIXED
  24. ; _STRS CLASS 'CODE' PRELOAD FIXED
  25. _DATA CLASS 'DATA' PRELOAD FIXED
  26. _GPFIX0 CLASS 'DATA' PRELOAD FIXED
  27. _GPFIX CLASS 'DATA' PRELOAD FIXED
  28. _GPFIX1 CLASS 'DATA' PRELOAD FIXED
  29. _INITDATA CLASS 'DATA' PRELOAD FIXED
  30. STACK CLASS 'DATA' PRELOAD FIXED
  31. _PADDATA CLASS 'DATA' PRELOAD FIXED
  32. _NRESTEXT CLASS 'CODE' PRELOAD MOVEABLE DISCARDABLE
  33. _MISCTEXT CLASS 'CODE' PRELOAD MOVEABLE DISCARDABLE
  34. HEAPSIZE 512 ; This used to be the initial size of the
  35. ; global handle table.
  36. EXPORTS
  37. ; General procedures
  38. FATALEXIT @ 1 NODATA
  39. EXITKERNEL @ 2 NODATA ;Internal
  40. GETVERSION @ 3 NODATA
  41. ; Local memory manager procedures
  42. LOCALINIT @ 4 NODATA
  43. LOCALALLOC @ 5 NODATA
  44. LOCALREALLOC @ 6 NODATA
  45. LOCALFREE @ 7 NODATA
  46. LOCALLOCK @ 8 NODATA
  47. LOCALUNLOCK @ 9 NODATA
  48. LOCALSIZE @ 10 NODATA
  49. LOCALHANDLE @ 11 NODATA
  50. LOCALFLAGS @ 12 NODATA
  51. LOCALCOMPACT @ 13 NODATA
  52. LOCALNOTIFY @ 14 NODATA ;Internal
  53. ; Global memory manager procedures
  54. GLOBALALLOC @ 15 NODATA
  55. GLOBALREALLOC @ 16 NODATA
  56. GLOBALFREE @ 17 NODATA
  57. GLOBALLOCK @ 18 NODATA
  58. GLOBALUNLOCK @ 19 NODATA
  59. GLOBALSIZE @ 20 NODATA
  60. GLOBALHANDLE @ 21 NODATA
  61. GLOBALFLAGS @ 22 NODATA
  62. LOCKSEGMENT @ 23 NODATA
  63. UNLOCKSEGMENT @ 24 NODATA
  64. GLOBALCOMPACT @ 25 NODATA
  65. GLOBALFREEALL @ 26 NODATA ;Internal
  66. GETMODULENAME @ 27 NODATA ;Internal
  67. GLOBALMASTERHANDLE @ 28 NODATA ;Internal
  68. ; Multitasking procedures
  69. YIELD @ 29 NODATA
  70. WAITEVENT @ 30 NODATA
  71. POSTEVENT @ 31 NODATA ;Internal
  72. SETPRIORITY @ 32 NODATA ;Internal
  73. LOCKCURRENTTASK @ 33 NODATA ;Internal
  74. SETTASKQUEUE @ 34 NODATA ;Internal OBSOLETE in Win95, WOW still needs for now
  75. GETTASKQUEUE @ 35 NODATA ;Internal
  76. GETCURRENTTASK @ 36 NODATA
  77. GETCURRENTPDB @ 37 NODATA
  78. SETTASKSIGNALPROC @ 38 NODATA ;Internal OBSOLETE in Win95, WOW still needs for now
  79. ; SETTASKSWITCHPROC @ 39 NODATA
  80. ; SETTASKINTERCHANGE @ 40 NODATA
  81. ENABLEDOS @ 41 NODATA ;Internal
  82. DISABLEDOS @ 42 NODATA ;Internal
  83. ; ISSCREENGRAB @ 43 NODATA
  84. ; BUILDPDB @ 44 NODATA
  85. ; Dynamic loader
  86. LOADMODULE @ 45 NODATA
  87. FREEMODULE @ 46 NODATA
  88. GETMODULEHANDLE @ 47 NODATA
  89. GETMODULEUSAGE @ 48 NODATA
  90. GETMODULEFILENAME @ 49 NODATA
  91. GETPROCADDRESS @ 50 NODATA
  92. MAKEPROCINSTANCE @ 51 NODATA
  93. FREEPROCINSTANCE @ 52 NODATA
  94. CALLPROCINSTANCE @ 53 NODATA ;Internal
  95. GETINSTANCEDATA @ 54 NODATA
  96. CATCH @ 55 NODATA
  97. THROW @ 56 NODATA
  98. ; WIN.INI interface procedures
  99. GETPROFILEINT @ 57 NODATA
  100. GETPROFILESTRING @ 58 NODATA
  101. WRITEPROFILESTRING @ 59 NODATA
  102. ; Resource manager procedures
  103. FINDRESOURCE @ 60 NODATA
  104. LOADRESOURCE @ 61 NODATA
  105. LOCKRESOURCE @ 62 NODATA
  106. FREERESOURCE @ 63 NODATA
  107. ACCESSRESOURCE @ 64 NODATA
  108. SIZEOFRESOURCE @ 65 NODATA
  109. ALLOCRESOURCE @ 66 NODATA
  110. SETRESOURCEHANDLER @ 67 NODATA
  111. ; Atom manager procedures
  112. INITATOMTABLE @ 68 NODATA
  113. FINDATOM @ 69 NODATA
  114. ADDATOM @ 70 NODATA
  115. DELETEATOM @ 71 NODATA
  116. GETATOMNAME @ 72 NODATA
  117. GETATOMHANDLE @ 73 NODATA
  118. ; File name procedures
  119. OPENFILE @ 74 NODATA
  120. OPENPATHNAME @ 75 NODATA ;Internal
  121. DELETEPATHNAME @ 76 NODATA ;Internal
  122. ; ANSI character set procedures
  123. ; The following 4 functions are now in USER. The ordinal numbers are
  124. ; preserved for compatability with 2.X apps
  125. K77 = ANSINEXT @ 77 NONAME NODATA ;Internal
  126. K78 = ANSIPREV @ 78 NONAME NODATA ;Internal
  127. K79 = ANSIUPPER @ 79 NONAME NODATA ;Internal
  128. K80 = ANSILOWER @ 80 NONAME NODATA ;Internal
  129. ; File I/O procedures
  130. _LCLOSE @ 81 NODATA
  131. _LREAD @ 82 NODATA
  132. _LCREAT @ 83 NODATA
  133. _LLSEEK @ 84 NODATA
  134. _LOPEN @ 85 NODATA
  135. _LWRITE @ 86 NODATA
  136. ; Internally used string procedures that take far pointers
  137. ; The following LSTRORIGINAL function is the old 2.X lstrcmp()
  138. ; The ordinal number is preserved for compatability with 2.X apps
  139. ; All 3.X apps will use the lstrcmp() and lstrcmpi() of USER.
  140. K87 = LSTRORIGINAL @ 87 NONAME NODATA ;Internal
  141. LSTRCPY @ 88 NODATA
  142. LSTRCAT @ 89 NODATA
  143. LSTRLEN @ 90 NODATA
  144. ; Stuff added after last release
  145. INITTASK @ 91 NODATA
  146. GETTEMPDRIVE @ 92 NODATA
  147. GETCODEHANDLE @ 93 NODATA
  148. DEFINEHANDLETABLE @ 94 NODATA
  149. LOADLIBRARY @ 95 NODATA
  150. FREELIBRARY @ 96 NODATA
  151. GETTEMPFILENAME @ 97 NODATA
  152. GETLASTDISKCHANGE @ 98 NODATA ;Internal
  153. GETLPERRMODE @ 99 NODATA ;Internal
  154. VALIDATECODESEGMENTS @100 NODATA
  155. ; Stuff added for 1.02 release
  156. NOHOOKDOSCALL @101 NODATA ;Internal
  157. ; Stuff added for 1.03 release
  158. DOS3CALL @102 NODATA
  159. NETBIOSCALL @103 NODATA
  160. ; Stuff added for 2.00 release
  161. GETCODEINFO @104 NODATA
  162. GETEXEVERSION @105 NODATA ;Internal
  163. SETSWAPAREASIZE @106 NODATA
  164. SETERRORMODE @107 NODATA
  165. SWITCHSTACKTO @108 NODATA
  166. SWITCHSTACKBACK @109 NODATA
  167. PATCHCODEHANDLE @110 NODATA
  168. GLOBALWIRE @111 NODATA
  169. GLOBALUNWIRE @112 NODATA
  170. __AHSHIFT @113 NODATA
  171. __AHINCR @114 NODATA
  172. OUTPUTDEBUGSTRING @115 NODATA
  173. INITLIB @116 NODATA ;Internal
  174. OLDYIELD @117 NODATA ;Internal
  175. ;GETTASKQUEUEDS @118 NODATA ;Internal
  176. GETTASKQUEUEES @119 NODATA ;Internal OBSOLETE in Win95, WOW still needs for now
  177. UNDEFDYNLINK @120 NODATA ;Internal
  178. LOCALSHRINK @121 NODATA
  179. ISTASKLOCKED @122 NODATA ;Internal
  180. KBDRST @123 NODATA ;Internal
  181. ; Stuff added for REO SpeedWagon
  182. ENABLEKERNEL @124 NODATA ;Internal
  183. DISABLEKERNEL @125 NODATA ;Internal
  184. ; Stuff added for 2.03c release.
  185. MEMORYFREED @126 NODATA ;Internal
  186. ; New 3.0 Goodies
  187. GETPRIVATEPROFILEINT @127
  188. GETPRIVATEPROFILESTRING @128
  189. WRITEPRIVATEPROFILESTRING @129
  190. FILECDR @130 NODATA ;Internal
  191. GETDOSENVIRONMENT @131 NODATA
  192. GETWINFLAGS @132 NODATA
  193. GETEXEPTR @133 NODATA ;Internal
  194. GETWINDOWSDIRECTORY @134 NODATA
  195. GETSYSTEMDIRECTORY @135 NODATA
  196. GETDRIVETYPE @136 NODATA
  197. FATALAPPEXIT @137 NODATA
  198. GETHEAPSPACES @138 NODATA ;Internal
  199. ; DOSIGNAL @139 NODATA ;Internal
  200. ; SETSIGHANDLER @140 NODATA ;Internal
  201. ; INITTASK1 @141 NODATA ;Internal
  202. ; New INI stuff in Chicago/4.0
  203. GETPROFILESECTIONNAMES @142 NODATA
  204. GETPRIVATEPROFILESECTIONNAMES @143 NODATA
  205. CREATEDIRECTORY @144 NODATA
  206. REMOVEDIRECTORY @145 NODATA
  207. DELETEFILE @146 NODATA
  208. SETLASTERROR @147 NODATA
  209. GETLASTERROR @148 NODATA
  210. GETVERSIONEX @149
  211. ; Stuff below was in 2.03
  212. DIRECTEDYIELD @150 NODATA
  213. ; WINOLDAPCALL @151 NODATA ;Internal
  214. GETNUMTASKS @152 NODATA
  215. ; DISCARDCODESEGMENT @153 NODATA
  216. GLOBALNOTIFY @154 NODATA
  217. GETTASKDS @155 NODATA ;Internal
  218. LIMITEMSPAGES @156 NODATA
  219. GETCURPID @157 NODATA ;Internal
  220. ISWINOLDAPTASK @158 NODATA ;Internal
  221. GLOBALHANDLENORIP @159 NODATA ;Internal
  222. ; EMSCOPY @160 NODATA ;Internal
  223. LOCALCOUNTFREE @161 NODATA ;Internal
  224. LOCALHEAPSIZE @162 NODATA ;Internal
  225. GLOBALLRUOLDEST @163 NODATA
  226. GLOBALLRUNEWEST @164 NODATA
  227. A20PROC @165 NODATA ;Internal
  228. WINEXEC @166 NODATA
  229. GETEXPWINVER @167 NODATA ;Internal
  230. DIRECTRESALLOC @168 NODATA ;Internal
  231. GETFREESPACE @169 NODATA
  232. ; Protect Mode stuff
  233. ALLOCCSTODSALIAS @170 NODATA
  234. ALLOCDSTOCSALIAS @171 NODATA
  235. ALLOCALIAS @172 NODATA
  236. __ROMBIOS @173 NODATA
  237. __A000h @174 NODATA
  238. ALLOCSELECTOR @175 NODATA
  239. FREESELECTOR @176 NODATA
  240. PRESTOCHANGOSELECTOR @177 NODATA
  241. __WINFLAGS @178 NODATA
  242. __D000h @179 NODATA
  243. LONGPTRADD @180 NODATA
  244. __B000h @181 NODATA
  245. __B800h @182 NODATA
  246. __0000h @183 NODATA
  247. GLOBALDOSALLOC @184 NODATA
  248. GLOBALDOSFREE @185 NODATA
  249. GETSELECTORBASE @186 NODATA
  250. SETSELECTORBASE @187 NODATA
  251. GETSELECTORLIMIT @188 NODATA
  252. SETSELECTORLIMIT @189 NODATA
  253. __E000h @190 NODATA
  254. GLOBALPAGELOCK @191 NODATA
  255. GLOBALPAGEUNLOCK @192 NODATA
  256. __0040h @193 NODATA
  257. __F000h @194 NODATA
  258. __C000h @195 NODATA
  259. SELECTORACCESSRIGHTS @196 NODATA
  260. GLOBALFIX @197 NODATA
  261. GLOBALUNFIX @198 NODATA
  262. SETHANDLECOUNT @199 NODATA
  263. ; Debugging aids
  264. VALIDATEFREESPACES @200 NODATA
  265. REPLACEINST @201 NODATA ;Internal
  266. REGISTERPTRACE @202 NODATA ;Internal
  267. DEBUGBREAK @203 NODATA
  268. SWAPRECORDING @204 NODATA
  269. CVWBREAK @205 NODATA
  270. ALLOCSELECTORARRAY @206 NODATA ;Internal
  271. ; DBCS Supporting Stuff
  272. ISDBCSLEADBYTE @207 NODATA
  273. ; 32bit heap manager
  274. k208=LOCAL32INIT @208 NODATA ;Internal
  275. k209=LOCAL32ALLOC @209 NODATA ;Internal
  276. k210=LOCAL32REALLOC @210 NODATA ;Internal
  277. k211=LOCAL32FREE @211 NODATA ;Internal
  278. k212=WowDivideOverflowEx @212 NODATA ;Internal
  279. k213=LOCAL32TRANSLATE @213 NODATA ;Internal
  280. k214=LOCAL32SIZE @214 NODATA ;Internal
  281. k215=LOCAL32VALIDHANDLE @215 NODATA ;Internal
  282. ; 32-bit Registry APIs
  283. REGENUMKEY = REGENUMKEY32 @216 NODATA
  284. REGOPENKEY = REGOPENKEY32 @217 NODATA
  285. REGCREATEKEY = REGCREATEKEY32 @218 NODATA
  286. REGDELETEKEY = REGDELETEKEY32 @219 NODATA
  287. REGCLOSEKEY = REGCLOSEKEY32 @220 NODATA
  288. REGSETVALUE = REGSETVALUE32 @221 NODATA
  289. REGDELETEVALUE = REGDELETEVALUE32 @222 NODATA
  290. REGENUMVALUE = REGENUMVALUE32 @223 NODATA
  291. REGQUERYVALUE = REGQUERYVALUE32 @224 NODATA
  292. REGQUERYVALUEEX = REGQUERYVALUEEX32 @225 NODATA
  293. REGSETVALUEEX = REGSETVALUEEX32 @226 NODATA
  294. REGFLUSHKEY = REGFLUSHKEY32 @227 NODATA
  295. K228 = COMPUTEOBJECTOWNER @228 NODATA ;Internal
  296. K229 = LOCAL32GETSEL @229 NODATA ;Internal
  297. GLOBALSMARTPAGELOCK = IGLOBALFIX @230 NODATA ; See 3ginterf.asm
  298. GLOBALSMARTPAGEUNLOCK = IGLOBALUNFIX @231 NODATA ; See 3ginterf.asm
  299. REGLOADKEY = REGLOADKEY32 @232 NODATA
  300. REGUNLOADKEY = REGUNLOADKEY32 @233 NODATA
  301. REGSAVEKEY = REGSAVEKEY32 @234 NODATA
  302. INVALIDATENLSCACHE @235 NODATA ;Internal
  303. GETPRODUCTNAME @236 NODATA
  304. K237=ISSAFEMODE @237 NODATA ;Internal
  305. ;Avail 238
  306. ; .....
  307. ;Avail 249
  308. ;Avail 250
  309. WOWREGISTERSHELLWINDOWHANDLE @251 NODATA ;Internal
  310. WOWSHUTDOWNTIMER @252 NODATA ;Internal
  311. ;Avail 253
  312. ;Avail 254
  313. ; .....
  314. ;Avail 260
  315. ;Avail 261
  316. ;
  317. ; ==================================
  318. ; Add new WOW thunks above this line
  319. ; ==================================
  320. ;
  321. WOWWAITFORMSGANDEVENT @262 NODATA ;Internal
  322. WOWMSGBOX @263 NODATA ;Internal
  323. ;Avail 264
  324. ;Avail 265
  325. ; .....
  326. ;Avail 271
  327. ;Avail 272
  328. WOWPARTYBYNUMBER @273 NONAME NODATA ;Internal
  329. GetShortPathName @274 NODATA
  330. ;Avail 275
  331. ;Avail 276
  332. ; .....
  333. ;Avail 284
  334. ;Avail 285
  335. ;;;;; JAPANESE VERSION ONLY
  336. ;;;;; GETINTERNALVERSION NODATA ;Internal
  337. ; all you wanted to know about these ROMRESERVEDs but were afraid to ask:
  338. ; these act like ifdef ROM
  339. ; rom.def is produced by passing kernel.def thru SED.
  340. ; ROM Windows Uncompression routine
  341. ;ROM_RESERVED LZDECODE @286 NODATA ;Internal
  342. ;Avail 287
  343. ;Avail 288
  344. ; .....
  345. ;Avail 308
  346. ;Avail 309
  347. ; New stuff for 3.1
  348. LOCALHANDLEDELTA @310 NODATA ;Internal
  349. GETSETKERNELDOSPROC @311 NODATA ;Internal
  350. ; FARVALIDATEPOINTER @312 NODATA ;Internal removed davidds
  351. ; GETLASTCRITICALERROR @313 NODATA ; removed EarleH
  352. DEBUGDEFINESEGMENT @314 NODATA ;Internal
  353. WRITEOUTPROFILES @315 NODATA ;Internal
  354. GETFREEMEMINFO @316 NONAME NODATA ;Internal
  355. ;Avail 317
  356. FATALEXITHOOK @318 NODATA ;Internal
  357. FLUSHCACHEDFILEHANDLE @319 NODATA ;Internal
  358. ISTASK @320 NODATA
  359. ; RESERVED @321 NODATA
  360. ;Avail 322
  361. ISROMMODULE @323 NODATA ;Internal
  362. LOGERROR @324 NODATA
  363. LOGPARAMERROR @325 NODATA
  364. ISROMFILE @326 NODATA ;Internal
  365. HANDLEPARAMERROR @327 NONAME NODATA ;Internal
  366. _DebugOutput @328 NODATA
  367. DEBUGFILLBUFFER @329 NONAME NODATA ;Internal
  368. ;Avail 330
  369. ;Avail 331
  370. THHOOK @332 NODATA ;Internal
  371. ;OPENSYSTEMFILE @333 NODATA ;Removed 3-Oct-91 by JonT
  372. ; Pointer validation routines (donc)
  373. ISBADREADPTR @334 NODATA
  374. ISBADWRITEPTR @335 NODATA
  375. ISBADCODEPTR @336 NODATA
  376. ISBADSTRINGPTR @337 NODATA
  377. HASGPHANDLER @338 NODATA ;Internal
  378. ; Diagnostic mode exports
  379. DIAGQUERY @339 NONAME NODATA ;Internal
  380. DIAGOUTPUT @340 NONAME NODATA ;Internal
  381. TOOLHELPHOOK @341 NODATA ;Internal
  382. __GP @342 RESIDENTNAME ;Internal GP handler table
  383. ; Winoldap hooks
  384. ;REGISTERWINOLDAPHOOK @343 NODATA ;Internal [removed DonC]
  385. ;GETWINOLDAPHOOKS @344 NODATA ;Internal [removed DonC]
  386. ISSHAREDSELECTOR @345 NODATA ;Internal
  387. ; More pointer validation and huge routines (donc)
  388. ISBADHUGEREADPTR @346 NODATA
  389. ISBADHUGEWRITEPTR @347 NODATA
  390. HMEMCPY @348 NODATA
  391. _HREAD @349 NODATA
  392. _HWRITE @350 NODATA
  393. ; USER's private exit notify callback.
  394. BUNNY_351 @351 NODATA ;Internal
  395. LSTRCATN @352
  396. LSTRCPYN @353 NODATA
  397. GETAPPCOMPATFLAGS @354 NODATA ;Internal
  398. GETWINDEBUGINFO @355 NODATA
  399. SETWINDEBUGINFO @356 NODATA
  400. MAPSL @357 NONAME NODATA
  401. MAPLS @358 NONAME NODATA
  402. UNMAPLS @359 NONAME NODATA
  403. OPENFILEEX @360 NODATA
  404. ; USER's private api to tell kernel it's ok to terminate now
  405. ;WOW PIGLET_361 @361 NODATA ;Internal
  406. ;WOW THUNKTERMINATEPROCESS @362 NONAME NODATA ;Internal
  407. ;Avail 363
  408. ;Avail 364
  409. FASTANDDIRTYGLOBALFIX @365 NONAME NODATA ;Internal Win32
  410. ;Avail 366
  411. ; .....
  412. ;Avail 401
  413. ;Avail 402
  414. FARSETOWNER @403 NONAME NODATA ;Internal Win32S support
  415. FARGETOWNER @404 NONAME NODATA ;Internal Win32S support
  416. ; GETLDT @405 NODATA ;Internal
  417. ; New for Win4
  418. WRITEPRIVATEPROFILESTRUCT @406 NODATA
  419. GETPRIVATEPROFILESTRUCT @407 NODATA
  420. ; New for Chicago
  421. ;WOW DOSTHUNK32 @408 NONAME NODATA ;Internal Win32 support
  422. ;WOW WIN32INIT @409 NONAME NODATA ;Internal Win32 support
  423. ;WOW WIN32EXEC @410 NONAME NODATA ;Internal Win32 support
  424. GETCURRENTDIRECTORY @411 NODATA
  425. SETCURRENTDIRECTORY @412 NODATA
  426. FINDFIRSTFILE @413 NODATA
  427. FINDNEXTFILE @414 NODATA
  428. FINDCLOSE @415 NODATA
  429. WRITEPRIVATEPROFILESECTION @416 NODATA
  430. WRITEPROFILESECTION @417 NODATA
  431. GETPRIVATEPROFILESECTION @418 NODATA
  432. GETPROFILESECTION @419 NODATA
  433. GETFILEATTRIBUTES @420 NODATA
  434. SETFILEATTRIBUTES @421 NODATA
  435. GETDISKFREESPACE @422 NODATA
  436. ;WOW LOGAPITHKLS @423 NONAME NODATA ;Internal
  437. ;;; COMMON16THKSL @424 NONAME NODATA ;Internal
  438. ;@425 NONAME NODATA ;Internal
  439. ;@426 NONAME NODATA ;Internal
  440. ;@427 NONAME NODATA ;Internal
  441. ;@428 NONAME NODATA ;Internal
  442. ;@429 NONAME NODATA ;Internal
  443. ;@430 NONAME NODATA ;Internal
  444. ISPEFORMAT @431 NONAME NODATA ;Internal used by shell
  445. FILETIMETOLOCALFILETIME @432
  446. ;@433 NONAME NODATA ;Internal
  447. k434=UniToAnsi @434 NONAME NODATA ;Internal
  448. ;WOW GETTASKFLAGS @435 NONAME NODATA ;Internal Win32 support
  449. ;WOW _CHECKSYSLEVEL @436 NONAME NODATA ;Internal ; 16 bit access to heirachical critical
  450. ;WOW _CONFIRMSYSLEVEL @437 NONAME NODATA ;Internal ; sections
  451. ;WOW _INITSYSLEVEL @438 NONAME NODATA ;Internal
  452. ;WOW _ENTERSYSLEVEL @439 NONAME NODATA ;Internal
  453. ;WOW _LEAVESYSLEVEL @440 NONAME NODATA ;Internal
  454. CREATETHREAD @441 NONAME NODATA ;Internal
  455. ;WOW CREATESYNCEVENT @442 NONAME NODATA ;Internal
  456. ;WOW DESTROYSYNCEVENT @443 NONAME NODATA ;Internal
  457. ;WOW HEAP32INFO @444 NONAME NODATA ;Internal
  458. ;WOW HEAP32FIRST @445 NONAME NODATA ;Internal
  459. ;WOW HEAP32NEXT @446 NONAME NODATA ;Internal
  460. LEAVEENTERWIN16LOCK @447 NONAME NODATA ;Internal
  461. ;WOW _GETSYSLEVELCOUNT @448 NONAME NODATA ;Internal
  462. GETWIN16LOCK @449 NONAME NODATA ;Internal
  463. ;WOW WAITSYNCEVENT @450 NONAME NODATA ;Internal
  464. ;WOW SETSYNCEVENT @451 NONAME NODATA ;Internal
  465. LOADLIBRARY32 @452 NONAME NODATA ;Internal
  466. GETPROCADDRESS32 @453 NONAME NODATA ;Internal
  467. __FLATCS @454 NONAME NODATA ;Internal
  468. __FLATDS @455 NONAME NODATA ;Internal
  469. ;WOW DefaultResourceHandler @456 NONAME NODATA ;Internal
  470. CREATEWIN32EVENT @457 NONAME NODATA ;Internal
  471. SETWIN32EVENT @458 NONAME NODATA ;Internal
  472. RESETWIN32EVENT @459 NONAME NODATA ;Internal
  473. WAITFORSINGLEOBJECT @460 NONAME NODATA ;Internal
  474. WAITFORMULTIPLEOBJECTS @461 NONAME NODATA ;Internal
  475. GETCURRENTTHREADID @462 NONAME NODATA ;Internal
  476. SETTHREADQUEUE @463 NONAME NODATA ;Internal
  477. GETTHREADQUEUE @464 NONAME NODATA ;Internal
  478. NUKEPROCESS @465 NONAME NODATA ;Internal
  479. EXITPROCESS @466 NONAME NODATA ;Internal
  480. ;WOW WOACREATECONSOLE @467 NONAME NODATA ;Internal : WinOldAp/ Console interface
  481. ;WOW WOASPAWNCONAPP @468 NONAME NODATA ;Internal : WinOldAp/ Console interface
  482. ;WOW WOAGIMMETITLE @469 NONAME NODATA ;Internal : WinOldAp/ Console interface
  483. ;WOW WOADESTROYCONSOLE @470 NONAME NODATA ;Internal : WinOldAp/ Console interface
  484. GETCURRENTPROCESSID @471 NONAME NODATA ;Internal
  485. MAPHINSTLS @472 NONAME NODATA ;Internal
  486. MAPHINSTSL @473 NONAME NODATA ;Internal
  487. CLOSEWIN32HANDLE @474 NONAME NODATA ;Internal
  488. ;WOW GETCURRENTTIBFS @475 NONAME NODATA ;Internal
  489. ;WOW CONVERTTOGLOBALHANDLE @476 NONAME NODATA ;Internal
  490. ;WOW WOAFULLSCREEN @477 NONAME NODATA ;Internal : WinOldAp/ Console Interface
  491. ;WOW WOATERMINATEPROCESSES @478 NONAME NODATA ;Internal : WinOldAp/ Console Interface
  492. ;WOW SETRITSYNCEVENT @479 NONAME NODATA ;Internal
  493. ;WOW _ENTERWIN16LOCK @480 NONAME NODATA ;Internal
  494. ;WOW _LEAVEWIN16LOCK @481 NONAME NODATA ;Internal
  495. LOADSYSTEMLIBRARY32 @482 NONAME NODATA ;Internal
  496. ;WOW MAPPROCESSHANDLE @483 NONAME NODATA ;Internal
  497. ;WOW SETPROCESSDWORD @484 NONAME NODATA ;Internal
  498. ;WOW GETPROCESSDWORD @485 NONAME NODATA ;Internal
  499. FREELIBRARY32 @486 NONAME NODATA ;Internal
  500. GETMODULEFILENAME32 @487 NONAME NODATA ;Internal
  501. GETMODULEHANDLE32 @488 NONAME NODATA ;Internal
  502. ;WOW BOOSTTHREADPRIDECAY @489 NONAME NODATA ;Internal
  503. ;WOW SETSENDMSGTDB @490 NONAME NODATA ;Internal
  504. REGISTERSERVICEPROCESS @491 NODATA
  505. ;WOW WOAABORT @492 NONAME NODATA ;Internal
  506. ;WOW UTAlohaKernel @493 NONAME NODATA ;Internal ;;Secret win32s16.dll interface
  507. ;WOW GlobalLinToHandle @494 NONAME NODATA ;Internal ;;Secret win32s16.dll interface
  508. ;; FLUSHLRUSTATS @500 NONAME NODATA ;Internal : to flush LRU stats
  509. CHANGEALLOCFIXEDBEHAVIOUR @501 NONAME NODATA ;Internal
  510. ; WOW Stuff for NT
  511. WOWGETNEXTVDMCOMMAND @502 NODATA ;Internal
  512. WOWLOADMODULE @504 NODATA ;Internal
  513. WOWQUERYPERFORMANCECOUNTER @505 NODATA ;Internal
  514. WOW16CALL @506 NODATA ;Internal
  515. WOWCURSORICONOP @507 NODATA ;Internal
  516. WOWFAILEDEXEC @508 NODATA ;Internal
  517. WOWCLOSECOMPORT @509 NODATA ;Internal
  518. KDDBGOUT @510 NODATA ;Internal
  519. WOWKILLREMOTETASK @511 NODATA ;Internal
  520. WOWQUERYDEBUG @512 NODATA ;Internal
  521. ; NT Generic Thunks.
  522. LoadLibraryEx32W @513 NODATA
  523. FreeLibrary32W @514 NODATA
  524. GetProcAddress32W @515 NODATA
  525. GetVDMPointer32W @516 NODATA
  526. CallProc32W @517 NODATA
  527. _CallProcEx32W @518 NODATA
  528. EXITKERNELTHUNK @519 NODATA
  529. WOWSETEXITONLASTAPP @520 NODATA ;Internal
  530. GetWOWCompatFlagsEx=MyGetAppWOWCompatFlagsEx @521 NODATA ; Export to allow checking of WOWCFEX compat
  531. ; bits from outside modules (ex. user.exe)
  532. ;
  533. ;Avail 522
  534. ; .....
  535. ;Avail 529
  536. ;Avail 530
  537. ; CF_* thunking support
  538. ;WOW ConvertCFDataLS @531 NONAME NODATA ;Internal
  539. ;WOW ConvertCFDataSL @532 NONAME NODATA ;Internal
  540. ;WOW ConvertDDEHandleLS @533 NONAME NODATA ;Internal
  541. ;WOW ConvertDDEHandleSL @534 NONAME NODATA ;Internal
  542. ;WOW BoostThreadGroupPri @535 NONAME NODATA ;Internal
  543. ;WOW BoostThreadStaticPri @536 NONAME NODATA ;Internal
  544. ;WOW IsThisADDEExecuteHandle @537 NONAME NODATA ;Internal
  545. ;WOW ThunkTheTemplateHandle @538 NONAME NODATA ;Internal
  546. ;WOW ConvertOleTargetDeviceLS @540 NONAME NODATA ;Internal
  547. ;WOW ConvertOleTargetDeviceSL @541 NONAME NODATA ;Internal
  548. ;WOW GlobalDefectAndNuke @542 NONAME NODATA ;Internal
  549. ;WOW GlobalDefect @543 NONAME NODATA ;Internal
  550. WOWSETCOMPATHANDLE @544 NODATA ;for user thunk
  551. TellKrnlWhoNetDrvIs @545 NODATA ;Internal for user.exe
  552. ;Avail 546
  553. ; .....
  554. ;Avail 558
  555. ;Avail 559
  556. InitCB @560 NONAME NODATA ;Internal
  557. GetStdCBLS @561 NONAME NODATA ;Internal
  558. GetStdCBSL @562 NONAME NODATA ;Internal
  559. GetExistingStdCBLS @563 NONAME NODATA ;Internal
  560. GetExistingStdCBSL @564 NONAME NODATA ;Internal
  561. ;Avail 565
  562. GetFlexCBSL @566 NONAME NODATA ;Internal
  563. GetStdCBLSEx @567 NONAME NODATA ;Internal
  564. GetStdCBSLEx @568 NONAME NODATA ;Internal
  565. ;Avail 569
  566. __MOD_KERNEL @570 NODATA ; DANGER This first ordinal hardcoded in ldboot.asm
  567. __MOD_DKERNEL @571 NODATA
  568. __MOD_USER @572 NODATA
  569. __MOD_DUSER @573 NODATA
  570. __MOD_GDI @574 NODATA
  571. __MOD_DGDI @575 NODATA
  572. __MOD_KEYBOARD @576 NODATA
  573. __MOD_SOUND @577 NODATA
  574. __MOD_SHELL @578 NODATA
  575. __MOD_WINSOCK @579 NODATA
  576. __MOD_TOOLHELP @580 NODATA
  577. __MOD_MMEDIA @581 NODATA
  578. __MOD_COMMDLG @582 NODATA
  579. __MOD_WINNLS @583 NODATA
  580. __MOD_WIFEMAN @584 NODATA
  581. GetSystemDefaultLangID @275 NODATA
  582. ;Avail 583
  583. ;Avail 584
  584. ; .....
  585. ;Avail 598
  586. ;Avail 599
  587. ; Moved from Win32c.dll
  588. ;WOW GetCSAlias @600 NONAME NODATA ;Internal
  589. ;WOW FreeCSAlias @601 NONAME NODATA ;Internal
  590. ;WOW GetCurrentHeap @602 NONAME NODATA ;Internal
  591. ;WOW Log16BitThunkCall @603 NONAME NODATA ;Internal
  592. ;WOW CALLBACK_BODY_16 @604 NONAME NODATA ;Internal
  593. ;WOW AllocCallback = GetStdCBSL @605 NONAME NODATA ;Internal
  594. ;WOW AllocCallback32 = GetStdCBLS @606 NONAME NODATA ;Internal
  595. ;WOW AllocOleThkLS @607 NONAME NODATA ;Internal
  596. ;WOW AllocOleThkSL @608 NONAME NODATA ;Internal
  597. ;WOW QueryCallbackAddress32 = GetExistingStdCBLS @609 NONAME NODATA ;Internal
  598. ;WOW QueryCallbackAddress = GetExistingStdCBSL @610 NONAME NODATA ;Internal
  599. ;WOW FreeCallback @611 NONAME NODATA ;Internal
  600. ;WOW IsCallbackThunkSL = IsCBThkSL @612 NONAME NODATA ;Internal
  601. ;WOW TileBuffer @613 NONAME NODATA ;Internal
  602. ;WOW UntileBuffer @614 NONAME NODATA ;Internal
  603. ; cvtres32.asm
  604. ;WOW CONVERTDIALOG32 @615 NONAME NODATA ;Internal for user.exe
  605. ;WOW CONVERTMENU32 @616 NONAME NODATA ;Internal for user.exe
  606. ; cvtres32.asm
  607. ;WOW COUNTMENUU @617 NONAME NODATA ;Internal for user.exe
  608. ;WOW COUNTDIALOGU @618 NONAME NODATA ;Internal for user.exe
  609. ; cback16.asm
  610. ;WOW REGISTERCBCLIENT @619 NONAME NODATA ;Internal for system dll's
  611. ;WOW CALLBACKJUMPTO32BITLAND @620 NONAME NODATA ;Internal for system dll's
  612. ;WOW COMMON_CALLBACK16 @621 NONAME NODATA ;Internal for system dll's
  613. ;WOW UNREGISTERCBCLIENT @622 NONAME NODATA ;Internal for system dll's
  614. ;WOW Win32CThunkInit @623 NONAME NODATA ;Internal for user.exe
  615. ;WOW SETTHREADQUEUEDWORD @624 NONAME NODATA ;Internal for user.exe
  616. ;WOW GETFASTQUEUE @625 NONAME NODATA ;Internal for user.exe
  617. ;WOW SMASHENVIRONMENT @626 NONAME NODATA ;Internal for msgsrv
  618. ; flat pointer validation routine for GDI.
  619. ISBADFLATREADWRITEPTR @627 NODATA ;Internal for GDI
  620. ;WOW C16ThkSL @630 NONAME NODATA ;Internal: 16->32 thunk dispatch
  621. C16ThkSL01 @631 NONAME NODATA ;16->32 thunk dispatch
  622. ThunkConnect16 @651 NONAME NODATA ;Entry point for ISV thunks
  623. ;WOW IsThreadId @652 NONAME NODATA ;Internal
  624. ;WOW OkWithKernelToChangeUsers @653 NONAME NODATA ;Internal for user.exe
  625. ;; Ole2 Stack Switching hacks
  626. ;WOW SSInit @700 NONAME NODATA ;Internal
  627. ;WOW SSOnBigStack @701 NONAME NODATA ;Internal
  628. ;WOW _SSCall @702 NONAME NODATA ;Internal
  629. ;WOW CallProc32WFix @703 NONAME NODATA ;Internal
  630. ;WOW SSAssertOffBigStack @704 NONAME NODATA ;Internal
  631. Callback2 @802 NONAME NODATA ;ISV LS thunks
  632. Callback4 @804 NONAME NODATA ;ISV LS thunks
  633. Callback6 @806 NONAME NODATA ;ISV LS thunks
  634. Callback8 @808 NONAME NODATA ;ISV LS thunks
  635. Callback10 @810 NONAME NODATA ;ISV LS thunks
  636. Callback12 @812 NONAME NODATA ;ISV LS thunks
  637. Callback14 @814 NONAME NODATA ;ISV LS thunks
  638. Callback16 @816 NONAME NODATA ;ISV LS thunks
  639. Callback18 @818 NONAME NODATA ;ISV LS thunks
  640. Callback20 @820 NONAME NODATA ;ISV LS thunks
  641. Callback22 @822 NONAME NODATA ;ISV LS thunks
  642. Callback24 @824 NONAME NODATA ;ISV LS thunks
  643. Callback26 @826 NONAME NODATA ;ISV LS thunks
  644. Callback28 @828 NONAME NODATA ;ISV LS thunks
  645. Callback30 @830 NONAME NODATA ;ISV LS thunks
  646. Callback32 @832 NONAME NODATA ;ISV LS thunks
  647. Callback34 @834 NONAME NODATA ;ISV LS thunks
  648. Callback36 @836 NONAME NODATA ;ISV LS thunks
  649. Callback38 @838 NONAME NODATA ;ISV LS thunks
  650. Callback40 @840 NONAME NODATA ;ISV LS thunks
  651. Callback42 @842 NONAME NODATA ;ISV LS thunks
  652. Callback44 @844 NONAME NODATA ;ISV LS thunks
  653. Callback46 @846 NONAME NODATA ;ISV LS thunks
  654. Callback48 @848 NONAME NODATA ;ISV LS thunks
  655. Callback50 @850 NONAME NODATA ;ISV LS thunks
  656. Callback52 @852 NONAME NODATA ;ISV LS thunks
  657. Callback54 @854 NONAME NODATA ;ISV LS thunks
  658. Callback56 @856 NONAME NODATA ;ISV LS thunks
  659. Callback58 @858 NONAME NODATA ;ISV LS thunks
  660. Callback60 @860 NONAME NODATA ;ISV LS thunks
  661. Callback62 @862 NONAME NODATA ;ISV LS thunks
  662. Callback64 @864 NONAME NODATA ;ISV LS thunks
  663. ;
  664. ; ADD NEW EXPORTS BEFORE HERE SO YOU DON'T BREAK ROM WINDOWS
  665. ;
  666. ; all you wanted to know about these ROMRESERVEDs but were afraid to ask:
  667. ; these act like ifdef ROM
  668. ; rom.def is produced by passing kernel.def thru SED.
  669. ;ROM_RESERVED IMPORTS
  670. ;ROM_RESERVED lmaROMTOC = ROMWIN.1
  671. ;ROM_RESERVED selLDTAlias = ROMWIN.3
  672. ;ROM_RESERVED lmaExtMemROM = ROMWIN.4
  673. ;ROM_RESERVED cbExtMemROM = ROMWIN.5
  674. ;
  675. ; DON'T ADD EXPORTS HERE BECAUSE THIS IS THE IMPORTS SECTION FOR ROM
  676. ;