Release 951212
[wine/gsoc-2012-control.git] / if1632 / kernel.spec
blob2899a60e9b2e3fdb471e9f39bc209b9fb0d4e6a9
1 name kernel
2 id 1
4 1 stub FatalExit
5 2 stub ExitKernel
6 3 pascal GetVersion() GetVersion
7 4 pascal16 LocalInit(word word word) LocalInit
8 5 pascal16 LocalAlloc(word word) LocalAlloc
9 6 pascal16 LocalReAlloc(word word word) LocalReAlloc
10 7 pascal16 LocalFree(word) LocalFree
11 8 pascal16 LocalLock(word) LocalLock
12 9 pascal16 LocalUnlock(word) LocalUnlock
13 10 pascal16 LocalSize(word) LocalSize
14 11 pascal16 LocalHandle(word) LocalHandle
15 12 pascal16 LocalFlags(word) LocalFlags
16 13 pascal16 LocalCompact(word) LocalCompact
17 14 pascal16 LocalNotify(long) LocalNotify
18 15 pascal16 GlobalAlloc(word long) GlobalAlloc
19 16 pascal16 GlobalReAlloc(word long word) GlobalReAlloc
20 17 pascal16 GlobalFree(word) GlobalFree
21 18 pascal GlobalLock(word) WIN16_GlobalLock
22 19 pascal16 GlobalUnlock(word) GlobalUnlock
23 20 pascal GlobalSize(word) GlobalSize
24 21 pascal GlobalHandle(word) GlobalHandle
25 22 pascal16 GlobalFlags(word) GlobalFlags
26 23 pascal16 LockSegment(word) LockSegment
27 24 pascal16 UnlockSegment(word) UnlockSegment
28 25 pascal GlobalCompact(long) GlobalCompact
29 26 pascal16 GlobalFreeAll(word) GlobalFreeAll
30 27 stub 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() GetCurrentTask
40 37 pascal GetCurrentPDB() GetCurrentPDB
41 38 stub 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) FreeModule
46 47 pascal16 GetModuleHandle(segptr) WIN16_GetModuleHandle
47 48 pascal16 GetModuleUsage(word) GetModuleUsage
48 49 pascal16 GetModuleFileName(word ptr s_word) GetModuleFileName
49 50 pascal GetProcAddress(word segptr) GetProcAddress
50 51 pascal MakeProcInstance(segptr word) MakeProcInstance
51 52 pascal16 FreeProcInstance(segptr) FreeProcInstance
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 word) GetProfileInt
57 58 pascal16 GetProfileString(ptr ptr ptr ptr word) GetProfileString
58 59 pascal16 WriteProfileString(ptr ptr ptr) WriteProfileString
59 60 pascal16 FindResource(word segptr segptr) FindResource
60 61 pascal16 LoadResource(word word) LoadResource
61 62 pascal LockResource(word) WIN16_LockResource
62 63 pascal16 FreeResource(word) FreeResource
63 64 pascal16 AccessResource(word word) AccessResource
64 65 pascal SizeofResource(word word) SizeofResource
65 66 pascal16 AllocResource(word word long) AllocResource
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 ptr word) _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) _lwrite
86 87 pascal16 RESERVED5(ptr ptr) lstrcmp
87 88 pascal lstrcpy(segptr segptr) lstrcpy
88 89 pascal lstrcat(segptr segptr) lstrcat
89 90 pascal16 lstrlen(ptr) lstrlen
90 91 register InitTask() InitTask
91 92 pascal16 GetTempDrive(byte) GetTempDrive
92 93 pascal16 GetCodeHandle(segptr) GetCodeHandle
93 94 stub DefineHandleTable
94 95 pascal16 LoadLibrary(ptr) LoadLibrary
95 96 pascal16 FreeLibrary(word) FreeLibrary
96 97 pascal16 GetTempFileName(byte ptr word ptr) GetTempFileName
97 98 stub GetLastDiskChange
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 stub GetExeVersion
105 106 pascal SetSwapAreaSize(word) SetSwapAreaSize
106 107 pascal SetErrorMode(word) SetErrorMode
107 108 stub SwitchStackTo
108 109 stub 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 pascal 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) LocalShrink
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) GetPrivateProfileInt
127 128 pascal16 GetPrivateProfileString(ptr ptr ptr ptr s_word ptr)
128 GetPrivateProfileString
129 129 pascal16 WritePrivateProfileString(ptr ptr ptr ptr)
130 WritePrivateProfileString
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) GetWindowsDirectory
136 135 pascal16 GetSystemDirectory(ptr word) GetSystemDirectory
137 136 pascal16 GetDriveType(byte) GetDriveType
138 137 pascal FatalAppExit(word ptr) FatalAppExit
139 138 pascal GetHeapSpaces(word) GetHeapSpaces
140 139 stub DoSignal
141 140 stub SetSigHandler
142 141 stub InitTask1
143 142 stub GetProfileSectionNames
144 143 stub GetPrivateProfileSectionNames
145 144 stub CreateDirectory
146 145 stub RemoveDirectory
147 146 stub DeleteFile
148 147 stub SetLastError
149 148 stub GetLastError
150 149 stub GetVersionEx
151 150 pascal16 DirectedYield(word) DirectedYield
152 151 stub WinOldApCall
153 152 pascal16 GetNumTasks() GetNumTasks
154 154 return GlobalNotify 4 0
155 155 pascal16 GetTaskDS() GetTaskDS
156 156 stub LimitEMSPages
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 stub A20Proc
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) SetHandleCount
200 200 stub ValidateFreeSpaces
201 201 stub ReplaceInst
202 202 stub RegisterPtrace
203 203 stub DebugBreak
204 204 stub SwapRecording
205 205 stub CVWBreak
206 206 pascal16 AllocSelectorArray(word) AllocSelectorArray
207 207 return IsDBCSLeadByte 2 0
208 216 stub RegEnumKey
209 217 stub RegOpenKey
210 218 stub RegCreateKey
211 219 stub RegDeleteValue
212 220 stub RegCloseKey
213 221 stub RegSetValue
214 222 stub RegDeleteValue
215 223 stub RegEnumValue
216 224 stub RegQueryValue
217 225 stub RegQueryValueEx
218 226 stub RegSetValueEx
219 227 stub 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 pascal WriteOutProfiles() sync_profiles
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) IsBadReadPtr
245 335 pascal16 IsBadWritePtr(segptr word) IsBadWritePtr
246 336 pascal16 IsBadCodePtr(segptr) IsBadCodePtr
247 337 pascal16 IsBadStringPtr(segptr word) IsBadStringPtr
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 stub IsSharedSelector
256 346 pascal16 IsBadHugeReadPtr(segptr long) IsBadHugeReadPtr
257 347 pascal16 IsBadHugeWritePtr(segptr long) IsBadHugeWritePtr
258 348 pascal hmemcpy(ptr ptr long) hmemcpy
259 349 pascal _hread(word ptr long) _hread
260 350 pascal _hwrite(word ptr long) _hwrite
261 #351 BUNNY_351
262 352 stub lstrcatn
263 353 pascal lstrcpyn(segptr segptr word) WIN16_lstrcpyn
264 354 stub 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 stub GetCurrentDirectory
274 412 stub SetCurrentDirectory
275 413 stub FindFirstFile
276 414 stub FindNextFile
277 415 stub FindClose
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 stub GetDiskFreeSpace
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