Release 940804
[wine/gsoc-2012-control.git] / if1632 / kernel.spec
blob663e14e2bf9cfa6c8f7e18e3718131b488e69217
1 # $Id: kernel.spec,v 1.3 1993/07/04 04:04:21 root Exp root $
3 name kernel
4 id 1
5 length 415
7 #1 FATALEXIT
8 #2 EXITKERNEL
9 3 pascal GetVersion() GetVersion()
10 4 pascal16 LocalInit(word word word) WIN16_LocalInit(1 2 3)
11 5 pascal16 LocalAlloc(word word) WIN16_LocalAlloc(1 2)
12 6 pascal16 LocalReAlloc(word word word) WIN16_LocalReAlloc(1 2 3)
13 7 pascal16 LocalFree(word) WIN16_LocalFree(1)
14 8 pascal LocalLock(word) WIN16_LocalLock(1)
15 9 pascal16 LocalUnlock(word) WIN16_LocalUnlock(1)
16 10 pascal LocalSize(word) WIN16_LocalSize(1)
17 11 pascal16 LocalHandle(word) ReturnArg(1)
18 12 pascal16 LocalFlags(word) WIN16_LocalFlags(1)
19 13 pascal16 LocalCompact(word) WIN16_LocalCompact(1)
20 14 return LocalNotify 4 0
21 15 pascal16 GlobalAlloc(word long) WIN16_GlobalAlloc(1 2)
22 16 pascal16 GlobalReAlloc(word long word) GlobalReAlloc(1 2 3)
23 17 pascal16 GlobalFree(word) GlobalFree(1)
24 18 pascal GlobalLock(word) GlobalLock(1)
25 19 pascal16 GlobalUnlock(word) GlobalUnlock(1)
26 20 pascal GlobalSize(word) GlobalSize(1)
27 21 pascal GlobalHandle(word) GlobalHandle(1)
28 22 pascal16 GlobalFlags(word) GlobalFlags(1)
29 23 pascal16 LockSegment(s_word) KERNEL_LockSegment(1)
30 24 pascal UnlockSegment(s_word) KERNEL_UnlockSegment(1)
31 25 pascal GlobalCompact(long) GlobalCompact(1)
32 #26 GLOBALFREEALL
33 #28 GLOBALMASTERHANDLE
34 29 return Yield 0 0
35 30 pascal WaitEvent(word) KERNEL_WaitEvent(1)
36 #31 POSTEVENT
37 #32 SETPRIORITY
38 #33 LOCKCURRENTTASK
39 34 pascal SetTaskQueue(word word) SetTaskQueue(1 2)
40 35 pascal GetTaskQueue(word) GetTaskQueue(1)
41 36 pascal16 GetCurrentTask() GetCurrentTask()
42 37 pascal16 GetCurrentPDB() GetCurrentPDB()
43 #38 SETTASKSIGNALPROC
44 #41 ENABLEDOS
45 #42 DISABLEDOS
46 45 pascal16 LoadModule(ptr ptr) LoadModule(1 2)
47 46 pascal16 FreeModule(word) FreeLibrary(1)
48 47 pascal16 GetModuleHandle(ptr) GetModuleHandle(1)
49 48 pascal16 GetModuleUsage(word) GetModuleUsage(1)
50 49 pascal16 GetModuleFileName(word ptr s_word) GetModuleFileName(1 2 3)
51 50 pascal GetProcAddress(word ptr) GetProcAddress(1 2)
52 51 pascal MakeProcInstance(ptr word) CALLBACK_MakeProcInstance(1 2)
53 52 pascal FreeProcInstance(ptr) FreeProcInstance(1)
54 #53 CALLPROCINSTANCE
55 #54 pascal16 GETINSTANCEDATA
56 55 pascal16 Catch(ptr) Catch (1)
57 56 pascal Throw(ptr word) Throw(1 2)
58 57 pascal16 GetProfileInt(ptr ptr word) GetProfileInt(1 2 3)
59 58 pascal16 GetProfileString(ptr ptr ptr ptr word) GetProfileString(1 2 3 4 5)
60 59 pascal16 WriteProfileString(ptr ptr ptr) WriteProfileString(1 2 3)
61 60 pascal16 FindResource(word ptr ptr) FindResource(1 2 3)
62 61 pascal16 LoadResource(word word) LoadResource(1 2)
63 62 pascal LockResource(word) LockResource(1)
64 63 pascal16 FreeResource(word) FreeResource(1)
65 64 pascal16 AccessResource(word word) AccessResource(1 2)
66 65 pascal SizeofResource(word word) SizeofResource(1 2)
67 66 pascal16 AllocResource(word word long) AllocResource(1 2 3)
68 #67 SETRESOURCEHANDLER
69 68 pascal16 InitAtomTable(word) InitAtomTable(1)
70 69 pascal16 FindAtom(ptr) FindAtom(1)
71 70 pascal16 AddAtom(ptr) AddAtom(1)
72 71 pascal16 DeleteAtom(word) DeleteAtom(1)
73 72 pascal16 GetAtomName(word ptr word) GetAtomName(1 2 3)
74 73 pascal16 GetAtomHandle(word) GetAtomHandle(1)
75 74 pascal16 OpenFile(ptr ptr word) OpenFile(1 2 3)
76 #75 OPENPATHNAME
77 #76 DELETEPATHNAME
78 #77 RESERVED1
79 #78 RESERVED2
80 #79 RESERVED3
81 #80 RESERVED4
82 81 pascal16 _lclose(word) _lclose(1)
83 82 pascal16 _lread(word ptr word) _lread(1 2 3)
84 83 pascal16 _lcreat(ptr word) _lcreat(1 2)
85 84 pascal _llseek(word long word) _llseek(1 2 3)
86 85 pascal16 _lopen(ptr word) _lopen(1 2)
87 86 pascal16 _lwrite(word ptr word) _lwrite(1 2 3)
88 #87 RESERVED5
89 88 pascal lstrcpy(ptr ptr) lstrcpy(1 2)
90 89 pascal lstrcat(ptr ptr) lstrcat(1 2)
91 90 pascal16 lstrlen(ptr) lstrlen(1)
92 91 register InitTask(word word word word word
93 word word word word word)
94 KERNEL_InitTask()
95 92 pascal16 GetTempDrive(byte) GetTempDrive(1)
96 #93 pascal16 GETCODEHANDLE
97 #94 DEFINEHANDLETABLE
98 95 pascal16 LoadLibrary(ptr) LoadLibrary(1)
99 96 pascal16 FreeLibrary(word) FreeLibrary(1)
100 97 pascal16 GetTempFileName(byte ptr word ptr) GetTempFileName(1 2 3 4)
101 #98 GETLASTDISKCHANGE
102 #99 GETLPERRMODE
103 #100 VALIDATECODESEGMENTS
104 #101 NOHOOKDOSCALL
105 102 register DOS3Call(word word word word word
106 word word word word word)
107 DOS3Call()
108 #103 NETBIOSCALL
109 #104 GETCODEINFO
110 #105 GETEXEVERSION
111 #106 SETSWAPAREASIZE
112 107 pascal SetErrorMode(word) SetErrorMode(1)
113 #108 SWITCHSTACKTO
114 #109 SWITCHSTACKBACK
115 #110 PATCHCODEHANDLE
116 111 pascal GlobalWire(word) GlobalLock(1)
117 112 pascal16 GlobalUnWire(word) GlobalUnlock(1)
118 113 equate __AHSHIFT 3
119 114 equate __AHINCR 8
120 115 pascal OutputDebugString(ptr) OutputDebugString(1)
121 #116 INITLIB
122 117 return OldYield 0 0
123 #118 GETTASKQUEUEDS
124 #119 GETTASKQUEUEES
125 #120 UNDEFDYNLINK
126 121 return LocalShrink 4 0
127 #122 ISTASKLOCKED
128 #123 KBDRST
129 #124 ENABLEKERNEL
130 #125 DISABLEKERNEL
131 #126 MEMORYFREED
132 127 pascal16 GetPrivateProfileInt(ptr ptr s_word ptr)
133 GetPrivateProfileInt(1 2 3 4)
134 128 pascal16 GetPrivateProfileString(ptr ptr ptr ptr s_word ptr)
135 GetPrivateProfileString(1 2 3 4 5 6)
136 129 pascal16 WritePrivateProfileString(ptr ptr ptr ptr)
137 WritePrivateProfileString(1 2 3 4)
138 #130 FILECBR
139 131 pascal GetDOSEnvironment() GetDOSEnvironment()
140 132 pascal GetWinFlags() GetWinFlags()
141 #133 GETEXEPTR
142 134 pascal16 GetWindowsDirectory(ptr word) GetWindowsDirectory(1 2)
143 135 pascal16 GetSystemDirectory(ptr word) GetSystemDirectory(1 2)
144 136 pascal16 GetDriveType(byte) GetDriveType(1)
145 137 pascal FatalAppExit(word ptr) FatalAppExit(1 2)
146 #138 GETHEAPSPACES - This is not correct but may fake out most apps
147 138 return GetHeapSpaces 2 0x80004000
148 #139 DOSIGNAL
149 #140 SETSIGHANDLER
150 #141 INITTASK1
151 150 return DirectedYield 2 0
152 #151 WINOLDAPCALL
153 152 pascal16 GetNumTasks() GetNumTasks()
154 154 return GlobalNotify 4 0
155 #155 GETTASKDS
156 #156 LIMITEMSPAGES
157 #157 GETCURPID
158 #158 ISWINOLDAPTASK
159 #159 GLOBALHANDLENORIP
160 #160 EMSCOPY
161 #161 LOCALCOUNTFREE
162 #162 LOCALHEAPSIZE
163 163 pascal16 GlobalLRUOldest(word) ReturnArg(1)
164 164 pascal16 GlobalLRUNewest(word) ReturnArg(1)
165 #165 A20PROC
166 166 pascal16 WinExec(ptr word) WinExec(1 2)
167 #167 GETEXPWINVER
168 #168 DIRECTRESALLOC
169 169 pascal GetFreeSpace(word) GetFreeSpace(1)
170 170 pascal AllocCStoDSAlias(word) AllocDStoCSAlias(1)
171 171 pascal AllocDStoCSAlias(word) AllocDStoCSAlias(1)
172 #172 ALLOCALIAS
173 #173 __ROMBIOS
174 #174 __A000H
175 175 pascal16 AllocSelector(word) AllocSelector(1)
176 176 pascal16 FreeSelector(word) FreeSelector(1)
177 177 pascal16 PrestoChangoSelector(word word) PrestoChangoSelector(1 2)
178 178 equate __WINFLAGS 0x413
179 #179 __D000H
180 #180 LONGPTRADD
181 #181 __B000H
182 #182 __B800H
183 #183 __0000H
184 184 return GlobalDOSAlloc 4 0
185 185 return GlobalDOSFree 2 0
186 186 pascal16 GetSelectorBase(word) GetSelectorBase(1)
187 187 pascal16 SetSelectorBase(word long) SetSelectorBase(1 2)
188 188 pascal GetSelectorLimit(word) GetSelectorLimit(1)
189 189 pascal16 SetSelectorLimit(word long) SetSelectorLimit(1 2)
190 #190 __E000H
191 191 pascal GlobalPageLock(word) GlobalLock(1)
192 192 pascal GlobalPageUnlock(word) GlobalUnlock(1)
193 #193 __0040H
194 #194 __F000H
195 #195 __C000H
196 #196 SELECTORACCESSRIGHTS
197 197 pascal GlobalFix(word) GlobalLock(1)
198 198 pascal GlobalUnfix(word) GlobalUnlock(1)
199 199 pascal16 SetHandleCount(word) SetHandleCount(1)
200 #200 VALIDATEFREESPACES
201 #201 REPLACEINST
202 #202 REGISTERPTRACE
203 #203 DEBUGBREAK
204 #204 SWAPRECORDING
205 #205 CVWBREAK
206 #206 ALLOCSELECTORARRAY
207 207 return IsDBCSLeadByte 2 0
208 310 pascal LocalHandleDelta(word) WIN16_LocalHandleDelta(1)
209 #311 GETSETKERNELDOSPROC
210 #314 DEBUGDEFINESEGMENT
211 315 pascal WriteOutProfiles() sync_profiles()
212 #316 GETFREEMEMINFO
213 #318 FATALEXITHOOK
214 #319 FLUSHCACHEDFILEHANDLE
215 #320 ISTASK
216 323 pascal IsRomModule() IsRomModule()
217 #324 LOGERROR
218 #325 LOGPARAMERROR
219 #326 ISROMFILE
220 #327 K327
221 #328 _DEBUGOUTPUT
222 #329 K329
223 #332 THHOOK
224 #334 ISBADREADPTR
225 #335 ISBADWRITEPTR
226 #336 ISBADCODEPTR
227 #337 ISBADSTRINGPTR
228 #338 HASGPHANDLER
229 #339 DIAGQUERY
230 #340 DIAGOUTPUT
231 #341 TOOLHELPHOOK
232 #342 __GP
233 #343 REGISTERWINOLDAPHOOK
234 #344 GETWINOLDAPHOOKS
235 #345 ISSHAREDSELECTOR
236 #346 ISBADHUGEREADPTR
237 #347 ISBADHUGEWRITEPTR
238 348 pascal hmemcpy(ptr ptr long) hmemcpy(1 2 3)
239 349 pascal16 _hread(word ptr long) _hread(1 2 3)
240 350 pascal16 _hwrite(word ptr long) _hwrite(1 2 3)
241 #351 BUNNY_351
242 353 pascal lstrcpyn(ptr ptr word) lstrcpyn(1 2 3)
243 #354 GETAPPCOMPATFLAGS
244 #355 GETWINDEBUGINFO
245 #356 SETWINDEBUGINFO
246 #403 K403
247 #404 K404