1 # $Id: kernel.spec,v 1.3 1993/07/04 04:04:21 root Exp root $
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)
33 #28 GLOBALMASTERHANDLE
35 30 pascal WaitEvent
(word
) KERNEL_WaitEvent
(1)
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
()
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)
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)
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)
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
)
95 92 pascal16 GetTempDrive
(byte
) GetTempDrive
(1)
96 #93 pascal16 GETCODEHANDLE
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
103 #100 VALIDATECODESEGMENTS
105 102 register DOS3Call
(word word word word word
106 word word word word word
)
112 107 pascal SetErrorMode
(word
) SetErrorMode
(1)
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)
122 117 return OldYield
0 0
126 121 return LocalShrink
4 0
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)
139 131 pascal GetDOSEnvironment
() GetDOSEnvironment
()
140 132 pascal GetWinFlags
() GetWinFlags
()
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
151 150 return DirectedYield
2 0
153 152 pascal16 GetNumTasks
() GetNumTasks
()
154 154 return GlobalNotify
4 0
159 #159 GLOBALHANDLENORIP
163 163 pascal16 GlobalLRUOldest
(word
) ReturnArg
(1)
164 164 pascal16 GlobalLRUNewest
(word
) ReturnArg
(1)
166 166 pascal16 WinExec
(ptr word
) WinExec
(1 2)
169 169 pascal GetFreeSpace
(word
) GetFreeSpace
(1)
170 170 pascal AllocCStoDSAlias
(word
) AllocDStoCSAlias
(1)
171 171 pascal AllocDStoCSAlias
(word
) AllocDStoCSAlias
(1)
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
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)
191 191 pascal GlobalPageLock
(word
) GlobalLock
(1)
192 192 pascal GlobalPageUnlock
(word
) GlobalUnlock
(1)
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
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
()
214 #319 FLUSHCACHEDFILEHANDLE
216 323 pascal IsRomModule
() IsRomModule
()
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)
242 353 pascal lstrcpyn
(ptr ptr word
) lstrcpyn
(1 2 3)
243 #354 GETAPPCOMPATFLAGS