Release 970720
[wine/gsoc-2012-control.git] / if1632 / kernel.spec
blob7153880e4a07063ab51d6691bb25e92be3377c01
1 name kernel
2 type win16
4 1 stub FatalExit
5 2 stub ExitKernel
6 3 pascal GetVersion() GetVersion16
7 4 pascal16 LocalInit(word word word) LocalInit
8 5 pascal16 LocalAlloc(word word) LocalAlloc16
9 6 pascal16 LocalReAlloc(word word word) LocalReAlloc16
10 7 pascal16 LocalFree(word) LocalFree16
11 8 pascal16 LocalLock(word) LocalLock16
12 9 pascal16 LocalUnlock(word) LocalUnlock16
13 10 pascal16 LocalSize(word) LocalSize16
14 11 pascal16 LocalHandle(word) LocalHandle16
15 12 pascal16 LocalFlags(word) LocalFlags16
16 13 pascal16 LocalCompact(word) LocalCompact16
17 14 pascal16 LocalNotify(long) LocalNotify
18 15 pascal16 GlobalAlloc(word long) GlobalAlloc16
19 16 pascal16 GlobalReAlloc(word long word) GlobalReAlloc16
20 17 pascal16 GlobalFree(word) GlobalFree16
21 18 pascal GlobalLock(word) WIN16_GlobalLock16
22 19 pascal16 GlobalUnlock(word) GlobalUnlock16
23 20 pascal GlobalSize(word) GlobalSize16
24 21 pascal GlobalHandle(word) GlobalHandle16
25 22 pascal16 GlobalFlags(word) GlobalFlags16
26 23 pascal16 LockSegment(word) LockSegment16
27 24 pascal16 UnlockSegment(word) UnlockSegment16
28 25 pascal GlobalCompact(long) GlobalCompact16
29 26 pascal16 GlobalFreeAll(word) GlobalFreeAll
30 27 pascal16 GetModuleName(word ptr word) GetModuleName
31 28 stub GlobalMasterHandle
32 29 pascal16 Yield() Yield
33 30 pascal16 WaitEvent(word) WaitEvent
34 31 pascal16 PostEvent(word) PostEvent
35 32 pascal16 SetPriority(word s_word) SetPriority
36 33 pascal16 LockCurrentTask(word) LockCurrentTask
37 34 pascal SetTaskQueue(word word) SetTaskQueue
38 35 pascal16 GetTaskQueue(word) GetTaskQueue
39 36 pascal GetCurrentTask() WIN16_GetCurrentTask
40 37 pascal GetCurrentPDB() GetCurrentPDB
41 38 pascal SetTaskSignalProc(word segptr) SetTaskSignalProc
42 41 return EnableDos 0 0
43 42 return DisableDos 0 0
44 45 pascal16 LoadModule(str ptr) LoadModule16
45 46 pascal16 FreeModule(word) FreeModule16
46 47 pascal16 GetModuleHandle(segstr) WIN16_GetModuleHandle
47 48 pascal16 GetModuleUsage(word) GetModuleUsage
48 49 pascal16 GetModuleFileName(word ptr s_word) GetModuleFileName16
49 50 pascal GetProcAddress(word segstr) GetProcAddress16
50 51 pascal MakeProcInstance(segptr word) MakeProcInstance16
51 52 pascal16 FreeProcInstance(segptr) FreeProcInstance16
52 53 stub CallProcInstance
53 54 pascal16 GetInstanceData(word word word) GetInstanceData
54 55 pascal16 Catch(ptr) Catch
55 56 pascal16 Throw(ptr word) Throw
56 57 pascal16 GetProfileInt(str str s_word) GetProfileInt16
57 58 pascal16 GetProfileString(str str str ptr word) GetProfileString16
58 59 pascal16 WriteProfileString(str str str) WriteProfileString16
59 60 pascal16 FindResource(word segstr segstr) FindResource16
60 61 pascal16 LoadResource(word word) LoadResource16
61 62 pascal LockResource(word) WIN16_LockResource16
62 63 pascal16 FreeResource(word) FreeResource16
63 64 pascal16 AccessResource(word word) AccessResource16
64 65 pascal SizeofResource(word word) SizeofResource16
65 66 pascal16 AllocResource(word word long) AllocResource16
66 67 pascal SetResourceHandler(word segstr ptr) SetResourceHandler
67 68 pascal16 InitAtomTable(word) InitAtomTable16
68 69 pascal16 FindAtom(segstr) FindAtom16
69 70 pascal16 AddAtom(segstr) AddAtom16
70 71 pascal16 DeleteAtom(word) DeleteAtom16
71 72 pascal16 GetAtomName(word ptr word) GetAtomName16
72 73 pascal16 GetAtomHandle(word) GetAtomHandle
73 74 pascal16 OpenFile(str ptr word) OpenFile16
74 75 stub OpenPathName
75 76 stub DeletePathName
76 77 stub KERNEL_77 #RESERVED1
77 78 stub KERNEL_78 #RESERVED2
78 #79 RESERVED3
79 #80 RESERVED4
80 81 pascal16 _lclose(word) _lclose16
81 82 pascal16 _lread(word segptr word) WIN16_lread
82 83 pascal16 _lcreat(str word) _lcreat16
83 84 pascal _llseek(word long word) _llseek16
84 85 pascal16 _lopen(str word) _lopen16
85 86 pascal16 _lwrite(word ptr word) _lwrite16
86 87 pascal16 RESERVED5(str str) lstrcmp16
87 88 pascal lstrcpy(segptr str) lstrcpy16
88 89 pascal lstrcat(segstr str) lstrcat16
89 90 pascal16 lstrlen(str) lstrlen16
90 91 register InitTask() InitTask
91 92 pascal GetTempDrive(byte) WIN16_GetTempDrive
92 93 pascal16 GetCodeHandle(segptr) GetCodeHandle
93 94 stub DefineHandleTable
94 95 pascal16 LoadLibrary(str) LoadLibrary16
95 96 pascal16 FreeLibrary(word) FreeLibrary16
96 97 pascal16 GetTempFileName(byte str word ptr) GetTempFileName16
97 98 return GetLastDiskChange 0 0
98 99 stub GetLPErrMode
99 100 return ValidateCodeSegments 0 0
100 101 stub NoHookDosCall
101 102 register DOS3Call() DOS3Call
102 103 register NetBIOSCall() NetBIOSCall
103 104 stub GetCodeInfo
104 105 pascal16 GetExeVersion() GetExeVersion
105 106 pascal SetSwapAreaSize(word) SetSwapAreaSize
106 107 pascal16 SetErrorMode(word) SetErrorMode16
107 108 pascal16 SwitchStackTo(word word word) SwitchStackTo
108 109 register SwitchStackBack() SwitchStackBack
109 110 pascal16 PatchCodeHandle(word) PatchCodeHandle
110 111 pascal GlobalWire(word) GlobalWire16
111 112 pascal16 GlobalUnWire(word) GlobalUnWire16
112 113 equate __AHSHIFT 3
113 114 equate __AHINCR 8
114 115 pascal16 OutputDebugString(str) OutputDebugString16
115 116 stub InitLib
116 117 pascal16 OldYield() OldYield
117 118 register GetTaskQueueDS() GetTaskQueueDS
118 119 register GetTaskQueueES() GetTaskQueueES
119 120 stub UndefDynLink
120 121 pascal16 LocalShrink(word word) LocalShrink16
121 122 pascal16 IsTaskLocked() IsTaskLocked
122 123 stub KbdRst
123 124 return EnableKernel 0 0
124 125 return DisableKernel 0 0
125 126 stub MemoryFreed
126 127 pascal16 GetPrivateProfileInt(str str s_word str) GetPrivateProfileInt16
127 128 pascal16 GetPrivateProfileString(str str str ptr word str)
128 GetPrivateProfileString16
129 129 pascal16 WritePrivateProfileString(str str str str)
130 WritePrivateProfileString16
131 130 pascal FileCDR(ptr) FileCDR
132 131 pascal GetDOSEnvironment() GetDOSEnvironment
133 132 pascal GetWinFlags() GetWinFlags
134 133 pascal16 GetExePtr(word) GetExePtr
135 134 pascal16 GetWindowsDirectory(ptr word) GetWindowsDirectory16
136 135 pascal16 GetSystemDirectory(ptr word) GetSystemDirectory16
137 136 pascal16 GetDriveType(byte) GetDriveType16
138 137 pascal16 FatalAppExit(word str) FatalAppExit16
139 138 pascal GetHeapSpaces(word) GetHeapSpaces
140 139 stub DoSignal
141 140 pascal16 SetSigHandler(segptr ptr ptr word word) SetSigHandler
142 141 stub InitTask1
143 142 stub GetProfileSectionNames
144 143 stub GetPrivateProfileSectionNames
145 144 pascal16 CreateDirectory(ptr ptr) CreateDirectory16
146 145 pascal16 RemoveDirectory(ptr) RemoveDirectory16
147 146 pascal16 DeleteFile(ptr) DeleteFile16
148 147 pascal16 SetLastError(long) SetLastError
149 148 pascal GetLastError() GetLastError
150 149 stub GetVersionEx
151 150 pascal16 DirectedYield(word) DirectedYield
152 151 stub WinOldApCall
153 152 pascal16 GetNumTasks() GetNumTasks
154 154 pascal16 GlobalNotify(segptr) GlobalNotify
155 155 pascal16 GetTaskDS() GetTaskDS
156 156 return LimitEMSPages 4 0
157 157 return GetCurPID 4 0
158 158 return IsWinOldApTask 2 0
159 159 stub GlobalHandleNoRIP
160 160 stub EMSCopy
161 161 pascal16 LocalCountFree() LocalCountFree
162 162 pascal16 LocalHeapSize() LocalHeapSize
163 163 pascal16 GlobalLRUOldest(word) GlobalLRUOldest
164 164 pascal16 GlobalLRUNewest(word) GlobalLRUNewest
165 165 return A20Proc 2 0
166 166 pascal16 WinExec(str word) WinExec16
167 167 pascal16 GetExpWinVer(word) GetExpWinVer
168 168 pascal16 DirectResAlloc(word word word) DirectResAlloc
169 169 pascal GetFreeSpace(word) GetFreeSpace16
170 170 pascal16 AllocCStoDSAlias(word) AllocCStoDSAlias
171 171 pascal16 AllocDStoCSAlias(word) AllocDStoCSAlias
172 172 pascal16 AllocAlias(word) AllocCStoDSAlias
173 173 equate __ROMBIOS 0
174 174 equate __A000H 0
175 175 pascal16 AllocSelector(word) AllocSelector
176 176 pascal16 FreeSelector(word) FreeSelector
177 177 pascal16 PrestoChangoSelector(word word) PrestoChangoSelector
178 178 equate __WINFLAGS 0x413
179 179 equate __D000H 0
180 180 pascal16 LongPtrAdd(long long) LongPtrAdd
181 181 equate __B000H 0
182 182 equate __B800H 0
183 183 equate __0000H 0
184 184 pascal GlobalDOSAlloc(long) GlobalDOSAlloc
185 185 pascal16 GlobalDOSFree(word) GlobalDOSFree
186 186 pascal GetSelectorBase(word) GetSelectorBase
187 187 pascal16 SetSelectorBase(word long) SetSelectorBase
188 188 pascal GetSelectorLimit(word) GetSelectorLimit
189 189 pascal16 SetSelectorLimit(word long) SetSelectorLimit
190 190 equate __E000H 0
191 191 pascal16 GlobalPageLock(word) GlobalPageLock
192 192 pascal16 GlobalPageUnlock(word) GlobalPageUnlock
193 193 equate __0040H 0
194 194 equate __F000H 0
195 195 equate __C000H 0
196 196 pascal16 SelectorAccessRights(word word word) SelectorAccessRights
197 197 pascal16 GlobalFix(word) GlobalFix16
198 198 pascal16 GlobalUnfix(word) GlobalUnfix16
199 199 pascal16 SetHandleCount(word) SetHandleCount16
200 200 return ValidateFreeSpaces 0 0
201 201 stub ReplaceInst
202 202 stub RegisterPtrace
203 203 register DebugBreak() DebugBreak16
204 204 stub SwapRecording
205 205 stub CVWBreak
206 206 pascal16 AllocSelectorArray(word) AllocSelectorArray
207 207 pascal16 IsDBCSLeadByte(word) IsDBCSLeadByte16
208 208 stub KERNEL_208
209 209 stub KERNEL_209
210 210 stub KERNEL_210
211 211 stub KERNEL_211
212 213 stub KERNEL_213
213 214 stub KERNEL_214
214 216 pascal RegEnumKey(long long ptr long) RegEnumKey16
215 217 pascal RegOpenKey(long ptr ptr) RegOpenKey16
216 218 pascal RegCreateKey(long ptr ptr) RegCreateKey16
217 219 pascal RegDeleteKey(long ptr) RegDeleteKey16
218 220 pascal RegCloseKey(long) RegCloseKey
219 221 pascal RegSetValue(long ptr long ptr long) RegSetValue16
220 222 pascal RegDeleteValue(long ptr) RegDeleteValue16
221 223 pascal RegEnumValue(long long ptr ptr ptr ptr ptr ptr) RegEnumValue16
222 224 pascal RegQueryValue(long ptr ptr ptr) RegQueryValue16
223 225 pascal RegQueryValueEx(long ptr ptr ptr ptr ptr) RegQueryValueEx16
224 226 pascal RegSetValueEx(long ptr long long ptr long) RegSetValueEx16
225 227 pascal RegFlushKey(long) RegFlushKey
226 228 stub K228
227 229 stub K229
228 230 pascal GlobalSmartPageLock(word) GlobalPageLock #?
229 231 stub GlobalSmartPageUnlock
230 232 stub RegLoadKey
231 233 stub RegUnloadKey
232 234 stub RegSaveKey
233 235 stub InvalidateNlsCache
234 237 stub KERNEL_237
235 262 stub KERNEL_262
236 263 stub KERNEL_263
237 310 pascal16 LocalHandleDelta(word) LocalHandleDelta
238 311 stub GetSetKernelDosProc
239 314 stub DebugDefineSegment
240 315 pascal16 WriteOutProfiles() WriteOutProfiles
241 316 stub GetFreeMemInfo
242 318 stub FatalExitHook
243 319 stub FlushCachedFileHandle
244 320 pascal16 IsTask(word) IsTask
245 323 return IsRomModule 2 0
246 324 pascal16 LogError(word ptr) LogError
247 325 pascal16 LogParamError(word ptr ptr) LogParamError
248 326 return IsRomFile 2 0
249 327 stub KERNEL_327
250 328 stub _DebugOutput
251 #329 K329
252 #332 stub THHOOK
253 334 pascal16 IsBadReadPtr(segptr word) IsBadReadPtr16
254 335 pascal16 IsBadWritePtr(segptr word) IsBadWritePtr16
255 336 pascal16 IsBadCodePtr(segptr) IsBadCodePtr16
256 337 pascal16 IsBadStringPtr(segptr word) IsBadStringPtr16
257 338 stub HasGPHandler
258 339 stub DiagQuery
259 340 stub DiagOutput
260 341 stub ToolHelpHook
261 342 stub __GP
262 343 stub RegisterWinOldApHook
263 344 stub GetWinOldApHooks
264 345 pascal16 IsSharedSelector(word) IsSharedSelector
265 346 pascal16 IsBadHugeReadPtr(segptr long) IsBadHugeReadPtr16
266 347 pascal16 IsBadHugeWritePtr(segptr long) IsBadHugeWritePtr16
267 348 pascal16 hmemcpy(ptr ptr long) hmemcpy
268 349 pascal _hread(word segptr long) WIN16_hread
269 350 pascal _hwrite(word ptr long) _hwrite16
270 #351 BUNNY_351
271 352 pascal lstrcatn(segstr str word) lstrcatn16
272 353 pascal lstrcpyn(segptr str word) lstrcpyn16
273 354 pascal GetAppCompatFlags(word) GetAppCompatFlags16
274 355 pascal16 GetWinDebugInfo(ptr word) GetWinDebugInfo
275 356 pascal16 SetWinDebugInfo(ptr) SetWinDebugInfo
276 357 stub KERNEL_357
277 358 stub KERNEL_358
278 359 stub KERNEL_359
279 360 stub OpenFileEx
280 #361 PIGLET_361
281 403 pascal16 FarSetOwner(word word) FarSetOwner
282 404 pascal16 FarGetOwner(word) FarGetOwner
283 406 stub WritePrivateProfileStruct
284 407 stub GetPrivateProfileStruct
285 411 pascal GetCurrentDirectory(long ptr) GetCurrentDirectory16
286 412 pascal16 SetCurrentDirectory(ptr) SetCurrentDirectory16
287 413 pascal16 FindFirstFile(ptr ptr) FindFirstFile16
288 414 pascal16 FindNextFile(word ptr) FindNextFile16
289 415 pascal16 FindClose(word) FindClose16
290 416 stub WritePrivateProfileSection
291 417 stub WriteProfileSection
292 418 stub GetPrivateProfileSection
293 419 stub GetProfileSection
294 420 pascal GetFileAttributes(ptr) GetFileAttributes16
295 421 pascal16 SetFileAttributes(ptr long) SetFileAttributes16
296 422 pascal16 GetDiskFreeSpace(ptr ptr ptr ptr ptr) GetDiskFreeSpace16
297 431 stub KERNEL_431
298 432 stub FileTimeToLocalFileTime
299 435 stub KERNEL_435
300 439 stub KERNEL_439
301 440 stub KERNEL_440
302 444 stub KERNEL_444
303 445 stub KERNEL_445
304 446 stub KERNEL_446
305 447 stub KERNEL_447
306 449 stub KERNEL_449
307 450 pascal16 KERNEL_450() stub_KERNEL_450
308 454 stub KERNEL_454
309 455 stub KERNEL_455
310 471 stub KERNEL_471
311 472 stub KERNEL_472
312 473 stub KERNEL_473
313 482 stub KERNEL_482
314 485 stub KERNEL_485
315 491 stub RegisterServiceProcess
316 500 stub KERNEL_500
317 502 stub KERNEL_502
318 503 stub KERNEL_503
319 511 stub KERNEL_511
320 513 pascal LoadLibraryEx32W(ptr long long) LoadLibraryEx32W16
321 514 stub FreeLibrary32W
322 515 pascal GetProcAddress32W(long ptr) GetProcAddress32
323 516 stub GetVDMPointer32W
324 517 pascal CallProc32W() WIN16_CallProc32W
325 518 stub CallProcEx32W
326 519 stub KERNEL_519
327 522 stub KERNEL_522
328 525 stub KERNEL_525
329 600 stub KERNEL_600
330 601 stub KERNEL_601
331 604 stub KERNEL_604
332 605 stub KERNEL_605
333 612 stub KERNEL_612
334 613 stub KERNEL_613
335 614 stub KERNEL_614
336 619 stub KERNEL_619
337 621 stub KERNEL_621
338 627 stub IsBadFlatReadWritePtr
339 630 stub KERNEL_630
340 631 stub FUNC004 # shell hook
341 651 stub KERNEL_651
342 700 pascal KERNEL_700() stub_KERNEL_700