1 # $Id: kernel.spec,v 1.3 1993/07/04 04:04:21 root Exp root $
7 3 pascal GetVersion
() GetVersion
()
8 #return GetVersion 0 0x301
9 4 pascal LocalInit
(word word word
) WIN16_LocalInit
(1 2 3)
10 5 pascal LocalAlloc
(word word
) WIN16_LocalAlloc
(1 2)
11 6 pascal LocalReAlloc
(word word word
) WIN16_LocalReAlloc
(1 2 3)
12 7 pascal LocalFree
(word
) WIN16_LocalFree
(1)
13 8 pascal LocalLock
(word
) WIN16_LocalLock
(1)
14 9 pascal LocalUnlock
(word
) WIN16_LocalUnlock
(1)
15 10 pascal LocalSize
(word
) WIN16_LocalSize
(1)
16 11 pascal LocalHandle
(word
) ReturnArg
(1)
17 12 pascal LocalFlags
(word
) WIN16_LocalFlags
(1)
18 13 pascal LocalCompact
(word
) WIN16_LocalCompact
(1)
19 14 return LocalNotify
4 0
20 15 pascal GlobalAlloc
(word long
) GlobalAlloc
(1 2)
21 16 pascal GlobalReAlloc
(word long word
) GlobalReAlloc
(1 2 3)
22 17 pascal GlobalFree
(word
) GlobalFree
(1)
23 18 pascal GlobalLock
(word
) GlobalLock
(1)
24 19 pascal GlobalUnlock
(word
) GlobalUnlock
(1)
25 20 pascal GlobalSize
(word
) GlobalSize
(1)
26 21 pascal GlobalHandle
(word
) GlobalHandle
(1)
27 22 pascal GlobalFlags
(word
) GlobalFlags
(1)
28 23 pascal LockSegment
(s_word
) KERNEL_LockSegment
(1)
29 24 pascal UnlockSegment
(s_word
) KERNEL_UnlockSegment
(1)
30 25 pascal GlobalCompact
(long
) GlobalCompact
(1)
31 30 pascal WaitEvent
(word
) KERNEL_WaitEvent
(1)
32 34 pascal SetTaskQueue
(word word
) SetTaskQueue
(1 2)
33 35 pascal GetTaskQueue
(word
) GetTaskQueue
(1)
34 36 pascal GetCurrentTask
() GetCurrentTask
()
35 47 pascal GetModuleHandle
(ptr
) GetModuleHandle
(1)
36 48 pascal GetModuleUsage
(word
) GetModuleUsage
(1)
37 49 pascal GetModuleFileName
(word ptr s_word
) GetModuleFileName
(1 2 3)
38 50 pascal GetProcAddress
(word ptr
) GetProcAddress
(1 2)
39 51 pascal MakeProcInstance
(ptr word
) CALLBACK_MakeProcInstance
(1 2)
40 52 pascal FreeProcInstance
(ptr
) FreeProcInstance
(1)
41 55 pascal Catch
(ptr
) Catch
(1)
42 56 pascal Throw
(ptr word
) Throw
(1 2)
43 59 pascal WriteProfileString
(ptr ptr ptr
) WriteProfileString
(1 2 3)
44 60 pascal FindResource
(word ptr ptr
) FindResource
(1 2 3)
45 61 pascal LoadResource
(word word
) LoadResource
(1 2)
46 62 pascal LockResource
(word
) LockResource
(1)
47 63 pascal FreeResource
(word
) FreeResource
(1)
48 64 pascal AccessResource
(word word
) AccessResource
(1 2)
49 74 pascal OpenFile
(ptr ptr word
) OpenFile
(1 2 3)
50 81 pascal _lclose
(word
) _lclose
(1)
51 82 pascal _lread
(word ptr word
) _lread
(1 2 3)
52 83 pascal _lcreate
(ptr word
) _lcreate
(1 2)
53 84 pascal _llseek
(word long word
) _llseek
(1 2 3)
54 85 pascal _lopen
(ptr word
) _lopen
(1 2)
55 86 pascal _lwrite
(word ptr word
) _lwrite
(1 2 3)
56 88 pascal lstrcpy
(ptr ptr
) lstrcpy
(1 2)
57 89 pascal lstrcat
(ptr ptr
) lstrcat
(1 2)
58 90 pascal lstrlen
(ptr
) lstrlen
(1)
59 91 register InitTask
(word word word word word
60 word word word word word
)
62 92 pascal GetTempDrive
(byte
) GetTempDrive
(1)
63 95 pascal LoadLibrary
(ptr
) LoadLibrary
(1)
64 96 pascal FreeLibrary
(word
) FreeLibrary
(1)
65 97 pascal GetTempFileName
(byte ptr word ptr
) GetTempFileName
(1 2 3 4)
66 102 register DOS3Call
(word word word word word
67 word word word word word
)
69 107 pascal SetErrorMode
(word
) SetErrorMode
(1)
70 111 pascal GlobalWire
(word
) GlobalLock
(1)
71 112 pascal GlobalUnWire
(word
) GlobalUnlock
(1)
72 115 pascal OutputDebugString
(ptr
) OutputDebugString
(1)
73 121 return LocalShrink
4 0
74 127 pascal GetPrivateProfileInt
(ptr ptr s_word ptr
)
75 GetPrivateProfileInt
(1 2 3 4)
76 128 pascal GetPrivateProfileString
(ptr ptr ptr ptr s_word ptr
)
77 GetPrivateProfileString
(1 2 3 4 5 6)
78 129 pascal WritePrivateProfileString
(ptr ptr ptr ptr
)
79 WritePrivateProfileString
(1 2 3 4)
80 131 pascal GetDOSEnvironment
() GetDOSEnvironment
()
81 132 pascal GetWinFlags
() GetWinFlags
()
82 #132 return GetWinFlags 0 0x413
83 134 pascal GetWindowsDirectory
(ptr word
) GetWindowsDirectory
(1 2)
84 135 pascal GetSystemDirectory
(ptr word
) GetSystemDirectory
(1 2)
85 136 pascal GetDriveType
(byte
) GetWindowsDirectory
(1)
86 137 pascal FatalAppExit
(word ptr
) FatalAppExit
(1 2)
87 152 return GetNumTasks
0 1
88 154 return GlobalNotify
4 0
89 163 pascal GlobalLRUOldest
(word
) ReturnArg
(1)
90 164 pascal GlobalLRUNewest
(word
) ReturnArg
(1)
91 166 pascal WinExec
(ptr word
) WinExec
(1 2)
92 169 pascal GetFreeSpace
(word
) GetFreeSpace
(1)
93 170 pascal AllocCStoDSAlias
(word
) AllocDStoCSAlias
(1)
94 171 pascal AllocDStoCSAlias
(word
) AllocDStoCSAlias
(1)
95 175 pascal AllocSelector
(word
) AllocSelector
(1)
96 176 pascal FreeSelector
(word
) FreeSelector
(1)
97 177 pascal PrestoChangoSelector
(word word
) PrestoChangoSelector
(1 2)
98 178 equate __WINFLAGS
0x413
99 184 return GlobalDOSAlloc
4 0
100 185 return GlobalDOSFree
2 0
101 191 pascal GlobalPageLock
(word
) GlobalLock
(1)
102 192 pascal GlobalPageUnlock
(word
) GlobalUnlock
(1)
103 197 pascal GlobalFix
(word
) GlobalLock
(1)
104 198 pascal GlobalUnfix
(word
) GlobalUnlock
(1)
105 57 pascal GetProfileInt
(ptr ptr word
) GetProfileInt
(1 2 3)
106 58 pascal GetProfileString
(ptr ptr ptr ptr word
) GetProfileString
(1 2 3 4 5)
107 199 pascal SetHandleCount
(word
) SetHandleCount
(1)
108 353 pascal lstrcpyn
(ptr ptr word
) lstrcpyn
(1 2 3)