Release 961222
[wine/gsoc-2012-control.git] / if1632 / kernel.spec
blob7d335babddba68249870085dd0505f2ec023839b
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(ptr ptr) LoadModule
45 46 pascal16 FreeModule(word) FreeModule16
46 47 pascal16 GetModuleHandle(segptr) WIN16_GetModuleHandle
47 48 pascal16 GetModuleUsage(word) GetModuleUsage
48 49 pascal16 GetModuleFileName(word ptr s_word) GetModuleFileName16
49 50 pascal GetProcAddress(word segptr) 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(ptr ptr s_word) GetProfileInt16
57 58 pascal16 GetProfileString(ptr ptr ptr ptr word) GetProfileString16
58 59 pascal16 WriteProfileString(ptr ptr ptr) WriteProfileString16
59 60 pascal16 FindResource(word segptr segptr) 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 stub SetResourceHandler
67 68 pascal16 InitAtomTable(word) InitAtomTable
68 69 pascal16 FindAtom(segptr) FindAtom
69 70 pascal16 AddAtom(segptr) AddAtom
70 71 pascal16 DeleteAtom(word) DeleteAtom
71 72 pascal16 GetAtomName(word ptr word) GetAtomName
72 73 pascal16 GetAtomHandle(word) GetAtomHandle
73 74 pascal16 OpenFile(ptr ptr word) OpenFile
74 75 stub OpenPathName
75 76 stub DeletePathName
76 #77 RESERVED1
77 #78 RESERVED2
78 #79 RESERVED3
79 #80 RESERVED4
80 81 pascal16 _lclose(word) _lclose
81 82 pascal16 _lread(word segptr word) WIN16_lread
82 83 pascal16 _lcreat(ptr word) _lcreat
83 84 pascal _llseek(word long word) _llseek
84 85 pascal16 _lopen(ptr word) _lopen
85 86 pascal16 _lwrite(word ptr word) _lwrite16
86 87 pascal16 RESERVED5(ptr ptr) lstrcmp16
87 88 pascal lstrcpy(segptr segptr) lstrcpy16
88 89 pascal lstrcat(segptr segptr) lstrcat16
89 90 pascal16 lstrlen(ptr) 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(ptr) LoadLibrary16
95 96 pascal16 FreeLibrary(word) FreeLibrary
96 97 pascal16 GetTempFileName(byte ptr word ptr) GetTempFileName16
97 98 return GetLastDiskChange 0 0
98 99 stub GetLPErrMode
99 100 stub ValidateCodeSegments
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) SetErrorMode
107 108 pascal16 SwitchStackTo(word word word) SwitchStackTo
108 109 register SwitchStackBack() SwitchStackBack
109 110 pascal16 PatchCodeHandle(word) PatchCodeHandle
110 111 pascal GlobalWire(word) GlobalWire
111 112 pascal16 GlobalUnWire(word) GlobalUnWire
112 113 equate __AHSHIFT 3
113 114 equate __AHINCR 8
114 115 pascal16 OutputDebugString(ptr) OutputDebugString
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(ptr ptr s_word ptr) GetPrivateProfileInt16
127 128 pascal16 GetPrivateProfileString(ptr ptr ptr ptr word ptr)
128 GetPrivateProfileString16
129 129 pascal16 WritePrivateProfileString(ptr ptr ptr ptr)
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 pascal FatalAppExit(word ptr) FatalAppExit
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 pascal16 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(ptr word) WinExec
167 167 pascal16 GetExpWinVer(word) GetExpWinVer
168 168 pascal16 DirectResAlloc(word word word) DirectResAlloc
169 169 pascal GetFreeSpace(word) GetFreeSpace
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) GlobalFix
198 198 pascal16 GlobalUnfix(word) GlobalUnfix
199 199 pascal16 SetHandleCount(word) SetHandleCount16
200 200 stub ValidateFreeSpaces
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 return IsDBCSLeadByte 2 0
208 216 pascal RegEnumKey(long long ptr long) RegEnumKey16
209 217 pascal RegOpenKey(long ptr ptr) RegOpenKey16
210 218 pascal RegCreateKey(long ptr ptr) RegCreateKey16
211 219 pascal RegDeleteKey(long ptr) RegDeleteKey16
212 220 pascal RegCloseKey(long) RegCloseKey
213 221 pascal RegSetValue(long ptr long ptr long) RegSetValue16
214 222 pascal RegDeleteValue(long ptr) RegDeleteValue16
215 223 pascal RegEnumValue(long long ptr ptr ptr ptr ptr ptr) RegEnumValue16
216 224 pascal RegQueryValue(long ptr ptr ptr) RegQueryValue16
217 225 pascal RegQueryValueEx(long ptr ptr ptr ptr ptr) RegQueryValueEx16
218 226 pascal RegSetValueEx(long ptr long long ptr long) RegSetValueEx16
219 227 pascal RegFlushKey(long) RegFlushKey
220 #228 K228
221 #229 K229
222 230 stub GlobalSmartPageLock
223 231 stub GlobalSmartPageUnlock
224 232 stub RegLoadKey
225 233 stub RegUnloadKey
226 234 stub RegSaveKey
227 235 stub InvalidateNlsCache
228 310 pascal16 LocalHandleDelta(word) LocalHandleDelta
229 311 stub GetSetKernelDosProc
230 314 stub DebugDefineSegment
231 315 pascal16 WriteOutProfiles() WriteOutProfiles
232 316 stub GetFreeMemInfo
233 318 stub FatalExitHook
234 319 stub FlushCachedFileHandle
235 320 pascal16 IsTask(word) IsTask
236 323 return IsRomModule 2 0
237 324 stub LogError
238 325 stub LogParamError
239 326 return IsRomFile 2 0
240 #327 K327
241 328 stub _DebugOutput
242 #329 K329
243 #332 stub THHOOK
244 334 pascal16 IsBadReadPtr(segptr word) IsBadReadPtr16
245 335 pascal16 IsBadWritePtr(segptr word) IsBadWritePtr16
246 336 pascal16 IsBadCodePtr(segptr) IsBadCodePtr16
247 337 pascal16 IsBadStringPtr(segptr word) IsBadStringPtr16
248 338 stub HasGPHandler
249 339 stub DiagQuery
250 340 stub DiagOutput
251 341 stub ToolHelpHook
252 342 stub __GP
253 343 stub RegisterWinOldApHook
254 344 stub GetWinOldApHooks
255 345 pascal16 IsSharedSelector(word) IsSharedSelector
256 346 pascal16 IsBadHugeReadPtr(segptr long) IsBadHugeReadPtr16
257 347 pascal16 IsBadHugeWritePtr(segptr long) IsBadHugeWritePtr16
258 348 pascal16 hmemcpy(ptr ptr long) hmemcpy
259 349 pascal _hread(word segptr long) WIN16_hread
260 350 pascal _hwrite(word ptr long) _hwrite
261 #351 BUNNY_351
262 352 pascal lstrcatn(segptr segptr word) lstrcatn16
263 353 pascal lstrcpyn(segptr segptr word) lstrcpyn16
264 354 pascal GetAppCompatFlags(word) GetAppCompatFlags
265 355 pascal16 GetWinDebugInfo(ptr word) GetWinDebugInfo
266 356 pascal16 SetWinDebugInfo(ptr) SetWinDebugInfo
267 360 stub OpenFileEx
268 #361 PIGLET_361
269 403 pascal16 FarSetOwner(word word) FarSetOwner
270 404 pascal16 FarGetOwner(word) FarGetOwner
271 406 stub WritePrivateProfileStruct
272 407 stub GetPrivateProfileStruct
273 411 pascal GetCurrentDirectory(long ptr) GetCurrentDirectory16
274 412 pascal16 SetCurrentDirectory(ptr) SetCurrentDirectory16
275 413 pascal16 FindFirstFile(ptr ptr) FindFirstFile16
276 414 pascal16 FindNextFile(word ptr) FindNextFile16
277 415 pascal16 FindClose(word) FindClose16
278 416 stub WritePrivateProfileSection
279 417 stub WriteProfileSection
280 418 stub GetPrivateProfileSection
281 419 stub GetProfileSection
282 420 stub GetFileAttributes
283 421 stub SetFileAttributes
284 422 pascal16 GetDiskFreeSpace(ptr ptr ptr ptr ptr) GetDiskFreeSpace16
285 432 stub FileTimeToLocalFileTime
286 450 pascal16 KERNEL_450() stub_KERNEL_450
287 491 stub RegisterServiceProcess
288 513 stub LoadLibraryEx32W
289 514 stub FreeLibrary32W
290 515 stub GetProcAddress32W
291 516 stub GetVDMPointer32W
292 517 stub CallProc32W
293 518 stub CallProcEx32W
294 627 stub IsBadFlatReadWritePtr
295 631 stub FUNC004 # shell hook