source: trunk/src/NTDLL/ntdll.def@ 486

Last change on this file since 486 was 430, checked in by phaller, 26 years ago

Add: few more stubs added

File size: 19.4 KB
Line 
1; $Id: ntdll.def,v 1.9 1999-08-05 23:28:33 phaller Exp $
2
3;Created by BLAST for IBM's compiler
4;Basis is NT4.0's NTDLL.DLL
5LIBRARY NTDLL INITINSTANCE TERMINSTANCE
6DATA MULTIPLE NONSHARED
7
8IMPORTS
9 fwd_RtlUnwind = KERNEL32.RtlUnwind
10 fwd_memmove = KERNEL32.memmove
11 fwd_RtlFillMemory = KERNEL32.RtlFillMemory
12 fwd_RtlMoveMemory = KERNEL32.RtlMoveMemory
13 fwd_RtlZeroMemory = KERNEL32.RtlZeroMemory
14 fwd_RtlInitializeCriticalSection = KERNEL32.InitializeCriticalSection
15 fwd_RtlLeaveCriticalSection = KERNEL32.LeaveCriticalSection
16 fwd_RtlEnterCriticalSection = KERNEL32.EnterCriticalSection
17 fwd_RtlDeleteCriticalSection = KERNEL32.DeleteCriticalSection
18
19
20EXPORTS
21
22; unknown
23 _alldiv = _OS2_alldiv
24 _allmul = _OS2_allmul
25 _chkstk = _OS2_chkstk
26 RtlLargeIntegerToChar = _RtlLargeIntegerToChar@16 @425
27
28; forwarders
29 RtlUnwind = fwd_RtlUnwind
30 memmove = fwd_memmove
31 RtlFillMemory = fwd_RtlFillMemory
32 RtlMoveMemory = fwd_RtlMoveMemory
33 RtlZeroMemory = fwd_RtlZeroMemory
34 RtlInitializeCriticalSection = fwd_RtlInitializeCriticalSection
35 RtlLeaveCriticalSection = fwd_RtlLeaveCriticalSection
36 RtlEnterCriticalSection = fwd_RtlEnterCriticalSection
37 RtlDeleteCriticalSection = fwd_RtlDeleteCriticalSection
38
39; real functions
40 NtAllocateUuids = _NtAllocateUuids@16 @59
41 ZwAllocateUuids = _NtAllocateUuids@16
42
43 NtOpenFile = _NtOpenFile@24 @127
44 ZwOpenFile = _NtOpenFile@24
45 NtCreateFile = _NtCreateFile@44 @73
46 ZwCreateFile = _NtCreateFile@44
47 NtReadFile = _NtReadFile@36
48 ZwReadFile = _NtReadFile@36
49 NtDeviceIoControlFile = _NtDeviceIoControlFile@40 @94
50 ZwDeviceIoControlFile = _NtDeviceIoControlFile@40
51 NtFsControlFile = _NtFsControlFile@40 @108
52 ZwFsControlFile = _NtFsControlFile@40
53 NtSetVolumeInformationFile = _NtSetVolumeInformationFile@16
54 ZwSetVolumeInformationFile = _NtSetVolumeInformationFile@16
55 NtQueryInformationFile = _NtQueryInformationFile@20
56 ZwQueryInformationFile = _NtQueryInformationFile@20
57 NtSetInformationFile = _NtSetInformationFile@20
58 ZwSetInformationFile = _NtSetInformationFile@20
59 NtQueryDirectoryFile = _NtQueryDirectoryFile@44
60 ZwQueryDirectoryFile = _NtQueryDirectoryFile@44
61 NtClose = _NtClose@4 @65
62 ZwClose = _NtClose@4
63 NtCreateTimer = _NtCreateTimer@16 @87
64 ZwCreateTimer = _NtCreateTimer@16
65 NtSetTimer = _NtSetTimer@28 @221
66 ZwSetTimer = _NtSetTimer@28
67 NtQueryTimerResolution = _NtQueryTimerResolution@12
68 ZwQueryTimerResolution = _NtQueryTimerResolution@12
69 NtTerminateProcess = _NtTerminateProcess@8
70 ZwTerminateProcess = _NtTerminateProcess@8
71 NtQueryInformationProcess = _NtQueryInformationProcess@20
72 ZwQueryInformationProcess = _NtQueryInformationProcess@20
73 NtSetInformationProcess = _NtSetInformationProcess@16 @207
74 ZwSetInformationProcess = _NtSetInformationProcess@16
75 NtResumeThread = _NtResumeThread@8
76 ZwResumeThread = _NtResumeThread@8
77 NtTerminateThread = _NtTerminateThread@8
78 ZwTerminateThread = _NtTerminateThread@8
79 NtQueryInformationThread = _NtQueryInformationThread@20
80 ZwQueryInformationThread = _NtQueryInformationThread@20
81 NtSetInformationThread = _NtSetInformationThread@16
82 ZwSetInformationThread = _NtSetInformationThread@16
83 NtDuplicateToken = _NtDuplicateToken@24
84 ZwDuplicateToken = _NtDuplicateToken@24
85 NtOpenProcessToken = _NtOpenProcessToken@12
86 ZwOpenProcessToken = _NtOpenProcessToken@12
87 NtOpenThreadToken = _NtOpenThreadToken@16
88 ZwOpenThreadToken = _NtOpenThreadToken@16
89 NtAdjustPrivilegesToken = _NtAdjustPrivilegesToken@24
90 ZwAdjustPrivilegesToken = _NtAdjustPrivilegesToken@24
91 NtQueryInformationToken = _NtQueryInformationToken@20 @156
92 ZwQueryInformationToken = _NtQueryInformationToken@20
93 NtCreateSection = _NtCreateSection@28
94 ZwCreateSection = _NtCreateSection@28
95 NtOpenSection = _NtOpenSection@12
96 ZwOpenSection = _NtOpenSection@12
97 NtQuerySection = _NtQuerySection@20
98 ZwQuerySection = _NtQuerySection@20
99 NtMapViewOfSection = _NtMapViewOfSection@40
100 ZwMapViewOfSection = _NtMapViewOfSection@40
101 NtCreatePort = _NtCreatePort@20
102 ZwCreatePort = _NtCreatePort@20
103 NtConnectPort = _NtConnectPort@32
104 ZwConnectPort = _NtConnectPort@32
105 NtListenPort = _NtListenPort@8
106 ZwListenPort = _NtListenPort@8
107 NtAcceptConnectPort = _NtAcceptConnectPort@24
108 ZwAcceptConnectPort = _NtAcceptConnectPort@24
109 NtCompleteConnectPort = _NtCompleteConnectPort@4
110 ZwCompleteConnectPort = _NtCompleteConnectPort@4
111 NtRegisterThreadTerminatePort = _NtRegisterThreadTerminatePort@4
112 ZwRegisterThreadTerminatePort = _NtRegisterThreadTerminatePort@4
113 NtRequestWaitReplyPort = _NtRequestWaitReplyPort@12
114 ZwRequestWaitReplyPort = _NtRequestWaitReplyPort@12
115 NtReplyWaitReceivePort = _NtReplyWaitReceivePort@16
116 ZwReplyWaitReceivePort = _NtReplyWaitReceivePort@16
117 NtSetIntervalProfile = _NtSetIntervalProfile@8
118 ZwSetIntervalProfile = _NtSetIntervalProfile@8
119 NtQueryPerformanceCounter = _NtQueryPerformanceCounter@8
120 ZwQueryPerformanceCounter = _NtQueryPerformanceCounter@8
121 NtCreateMailslotFile = _NtCreateMailslotFile@32
122 ZwCreateMailslotFile = _NtCreateMailslotFile@32
123 NtQuerySystemInformation = _NtQuerySystemInformation@16 @95
124 ZwQuerySystemInformation = _NtQuerySystemInformation@16
125 NtCreatePagingFile = _NtCreatePagingFile@16
126 ZwCreatePagingFile = _NtCreatePagingFile@16
127 NtDisplayString = _NtDisplayString@4
128 ZwDisplayString = _NtDisplayString@4
129
130 NtCreateSemaphore = _NtCreateSemaphore@20
131 ZwCreateSemaphore = _NtCreateSemaphore@20
132 NtOpenSemaphore = _NtOpenSemaphore@12
133 ZwOpenSemaphore = _NtOpenSemaphore@12
134 NtQuerySemaphore = _NtQuerySemaphore@20
135 ZwQuerySemaphore = _NtQuerySemaphore@20
136 NtReleaseSemaphore = _NtReleaseSemaphore@12
137 ZwReleaseSemaphore = _NtReleaseSemaphore@12
138 NtCreateEvent = _NtCreateEvent@20
139 ZwCreateEvent = _NtCreateEvent@20
140 NtOpenEvent = _NtOpenEvent@12
141 ZwOpenEvent = _NtOpenEvent@12
142 NtSetEvent = _NtSetEvent@8
143 ZwSetEvent = _NtSetEvent@8
144
145 NtQueryObject = _NtQueryObject@20 @161
146 ZwQueryObject = _NtQueryObject@20
147 NtQuerySecurityObject = _NtQuerySecurityObject@20
148 ZwQuerySecurityObject = _NtQuerySecurityObject@20
149 NtDuplicateObject = _NtDuplicateObject@28
150 ZwDuplicateObject = _NtDuplicateObject@28
151 NtWaitForSingleObject = _NtWaitForSingleObject@12
152 ZwWaitForSingleObject = _NtWaitForSingleObject@12
153 NtOpenDirectoryObject = _NtOpenDirectoryObject@12 @124
154 ZwOpenDirectoryObject = _NtOpenDirectoryObject@12
155 NtCreateDirectoryObject = _NtCreateDirectoryObject@12
156 ZwCreateDirectoryObject = _NtCreateDirectoryObject@12
157 NtQueryDirectoryObject = _NtQueryDirectoryObject@28 @149
158 ZwQueryDirectoryObject = _NtQueryDirectoryObject@28
159 NtOpenSymbolicLinkObject = _NtQuerySymbolicLinkObject@12
160 ZwOpenSymbolicLinkObject = _NtQuerySymbolicLinkObject@12
161 NtCreateSymbolicLinkObject = _NtCreateSymbolicLinkObject@16
162 ZwCreateSymbolicLinkObject = _NtCreateSymbolicLinkObject@16
163 NtQuerySymbolicLinkObject = _NtQuerySymbolicLinkObject@12
164 ZwQuerySymbolicLinkObject = _NtQuerySymbolicLinkObject@12
165
166 NtCreateKey = _NtCreateKey@28
167 ZwCreateKey = _NtCreateKey@28
168 NtDeleteKey = _NtDeleteKey@4
169 ZwDeleteKey = _NtDeleteKey@4
170 NtDeleteValueKey = _NtDeleteValueKey@8
171 ZwDeleteValueKey = _NtDeleteValueKey@8
172 NtEnumerateKey = _NtEnumerateKey@24
173 ZwEnumerateKey = _NtEnumerateKey@24
174 NtEnumerateValueKey = _NtEnumerateValueKey@24
175 ZwEnumerateValueKey = _NtEnumerateValueKey@24
176 NtFlushKey = _NtFlushKey@4
177 ZwFlushKey = _NtFlushKey@4
178 NtLoadKey = _NtLoadKey@8
179 ZwLoadKey = _NtLoadKey@8
180 NtNotifyChangeKey = _NtNotifyChangeKey@40
181 ZwNotifyChangeKey = _NtNotifyChangeKey@40
182 NtOpenKey = _NtOpenKey@12 @129
183 ZwOpenKey = _NtOpenKey@12
184 NtQueryKey = _NtQueryKey@20
185 ZwQueryKey = _NtQueryKey@20
186 NtQueryMultipleValueKey = _NtQueryMultipleValueKey@24
187 ZwQueryMultipleValueKey = _NtQueryMultipleValueKey@24
188 NtQueryValueKey = _NtQueryValueKey@24
189 ZwQueryValueKey = _NtQueryValueKey@24
190 NtReplaceKey = _NtReplaceKey@12
191 ZwReplaceKey = _NtReplaceKey@12
192 NtRestoreKey = _NtRestoreKey@12
193 ZwRestoreKey = _NtRestoreKey@12
194 NtSaveKey = _NtSaveKey@8
195 ZwSaveKey = _NtSaveKey@8
196 NtSetInformationKey = _NtSetInformationKey@16
197 ZwSetInformationKey = _NtSetInformationKey@16
198 NtSetValueKey = _NtSetValueKey@24
199 ZwSetValueKey = _NtSetValueKey@24
200 NtUnloadKey = _NtUnloadKey@4
201 ZwUnloadKey = _NtUnloadKey@4
202
203 RtlAllocateAndInitializeSid = _RtlAllocateAndInitializeSid@44 @265
204 RtlEqualSid = _RtlEqualSid@8 @352
205 RtlFreeSid = _RtlFreeSid@4 @376
206 RtlLengthRequiredSid = _RtlLengthRequiredSid@4 @427
207 RtlLengthSid = _RtlLengthSid@4 @429
208 RtlInitializeSid = _RtlInitializeSid@12 @410
209 RtlSubAuthoritySid = _RtlSubAuthoritySid@8 @497
210 RtlSubAuthorityCountSid = _RtlSubAuthorityCountSid@4 @496
211 RtlCopySid = _RtlCopySid@12 @302
212 RtlCreateSecurityDescriptor = _RtlCreateSecurityDescriptor@8 @313
213 RtlValidSecurityDescriptor = _RtlValidSecurityDescriptor@4
214 RtlLengthSecurityDescriptor = _RtlLengthSecurityDescriptor@4
215 RtlGetDaclSecurityDescriptor = _RtlGetDaclSecurityDescriptor@16
216 RtlSetDaclSecurityDescriptor = _RtlSetDaclSecurityDescriptor@16 @483
217 RtlGetSaclSecurityDescriptor = _RtlGetSaclSecurityDescriptor@16
218 RtlSetSaclSecurityDescriptor = _RtlSetSaclSecurityDescriptor@16
219 RtlGetOwnerSecurityDescriptor = _RtlGetOwnerSecurityDescriptor@12 @488
220 RtlSetOwnerSecurityDescriptor = _RtlSetOwnerSecurityDescriptor@12 @487
221 RtlSetGroupSecurityDescriptor = _RtlSetGroupSecurityDescriptor@12 @485
222 RtlGetGroupSecurityDescriptor = _RtlGetGroupSecurityDescriptor@12
223 RtlCreateAcl = _RtlCreateAcl@12 @306
224 RtlFirstFreeAce = _RtlFirstFreeAce@8 @370
225 RtlAddAce = _RtlAddAce@20 @260
226 RtlAddAccessAllowedAce = _RtlAddAccessAllowedAce@16
227 RtlGetAce = _RtlGetAce@12
228 RtlAdjustPrivilege = _RtlAdjustPrivilege@16
229
230 RtlAnsiStringToUnicodeString = _RtlAnsiStringToUnicodeString@12 @269
231 RtlOemStringToUnicodeString = _RtlOemStringToUnicodeString@12 @447
232 RtlMultiByteToUnicodeN = _RtlMultiByteToUnicodeN@20 @446
233 RtlOemToUnicodeN = _RtlOemToUnicodeN@20 @448
234 RtlInitAnsiString = _RtlInitAnsiString@8 @399
235 RtlInitOemString = _RtlInitOemString@8
236 RtlInitString = _RtlInitString@8 @402
237 RtlInitUnicodeString = _RtlInitUnicodeString@8 @403
238 RtlFreeUnicodeString = _RtlFreeUnicodeString@4 @377
239 RtlFreeAnsiString = _RtlFreeAnsiString@4 @373
240 RtlFreeOemString = _RtlFreeOemString@4
241 RtlUnicodeToOemN = _RtlUnicodeToOemN@20 @515
242 RtlUnicodeStringToOemString = _RtlUnicodeStringToOemString@12 @511
243 RtlUnicodeStringToAnsiString = _RtlUnicodeStringToAnsiString@12 @507
244 RtlEqualUnicodeString = _RtlEqualUnicodeString@12
245 RtlUpcaseUnicodeString = _RtlUpcaseUnicodeString@12 @520
246 RtlxOemStringToUnicodeSize = _RtlxOemStringToUnicodeSize@4 @549
247 RtlxAnsiStringToUnicodeSize = _RtlxAnsiStringToUnicodeSize@4 @548
248 RtlIsTextUnicode = _RtlIsTextUnicode@12 @417
249 RtlCompareUnicodeString = _RtlCompareUnicodeString@12
250
251 RtlInitializeResource = _RtlInitializeResource@4 @409
252 RtlDeleteResource = _RtlDeleteResource@4 @330
253 RtlAcquireResourceExclusive = _RtlAcquireResourceExclusive@8 @256
254 RtlAcquireResourceShared = _RtlAcquireResourceShared@8 @257
255 RtlReleaseResource = _RtlReleaseResource@4 @471
256 RtlDumpResource = _RtlDumpResource@4 @340
257 RtlCreateHeap = _RtlCreateHeap@24
258 RtlAllocateHeap = _RtlAllocateHeap@12
259 RtlFreeHeap = _RtlFreeHeap@12
260 RtlDestroyHeap = _RtlDestroyHeap@4
261; DbgPrint = _DbgPrint@8
262
263; NtRaiseException = _NtRaiseException@16
264; ZwRaiseException = _NtRaiseException@16
265; RtlRaiseException = _RtlRaiseException@4
266 RtlAcquirePebLock = _RtlAcquirePebLock@0
267 RtlReleasePebLock = _RtlReleasePebLock@0
268 RtlIntegerToChar = _RtlIntegerToChar@16
269 RtlSetEnvironmentVariable = _RtlSetEnvironmentVariable@12
270 RtlNewSecurityObject = _RtlNewSecurityObject@24
271 RtlDeleteSecurityObject = _RtlDeleteSecurityObject@4
272 RtlNormalizeProcessParams = _RtlNormalizeProcessParams@4 @441
273 RtlNtStatusToDosError = _RtlNtStatusToDosError@4 @442
274 RtlGetNtProductType = _RtlGetNtProductType@4 @390
275 RtlEnlargedIntegerMultiply = _RtlEnlargedIntegerMultiply@8 @341
276 RtlExtendedIntegerMultiply = _RtlExtendedIntegerMultiply@12 @358
277 RtlExtendedLargeIntegerDivide = _RtlExtendedLargeIntegerDivide@16 @359
278 RtlFormatCurrentUserKeyPath = _RtlFormatCurrentUserKeyPath@4 @371
279 RtlOpenCurrentUser = _RtlOpenCurrentUser@8
280 RtlDosPathNameToNtPathName_U = _RtlDosPathNameToNtPathName_U@16 @338
281 RtlCreateEnvironment = _RtlCreateEnvironment@8
282 RtlDestroyEnvironment = _RtlDestroyEnvironment@4
283 RtlQueryEnvironmentVariable_U = _RtlQueryEnvironmentVariable_U@12
284
285 RtlSystemTimeToLocalTime = _RtlSystemTimeToLocalTime@8
286 RtlTimeToSecondsSince1980 = _RtlTimeToSecondsSince1980@8
287 RtlTimeToSecondsSince1970 = _RtlTimeToSecondsSince1970@8
288 RtlTimeToElapsedTimeFields = _RtlTimeToElapsedTimeFields@8
289
290
291; NTDLL's C runtime
292; Note: CDECL does not decorate the function names with parameter bytes!
293 _wcsupr = _OS2_wcsupr @882
294 abs = _OS2abs @883
295 atan = _OS2atan @884
296 atoi = _OS2atoi @885
297 atol = _OS2atol @886
298 ceil = _OS2ceil @887
299 cos = _OS2cos @888
300 fabs = _OS2fabs @889
301 floor = _OS2floor @890
302 isalpha = _OS2isalpha @891
303 isdigit = _OS2isdigit @892
304 islower = _OS2islower @893
305 isprint = _OS2isprint @894
306 isspace = _OS2isspace @895
307 isupper = _OS2isupper @896
308
309 sprintf = _OS2sprintf @911
310 strcat = _OS2strcat @914
311 strchr = _OS2strchr @915
312 strcmp = _OS2strcmp @916
313 strcpy = _OS2strcpy @917
314 strcspn = _OS2strcspn @918
315 strlen = _OS2strlen @919
316 strncat = _OS2strcat @920
317 strncmp = _OS2strncmp @921
318 strncpy = _OS2strncpy @922
319 strpbrk = _OS2strpbrk @923
320 strrchr = _OS2strrchr @924
321 strspn = _OS2strspn @925
322 strstr = _OS2strstr @926
323
324 wcscat = _OS2wcscat @934
325 wcschr = _OS2wcschr @935
326 wcscmp = _OS2wcscmp @936
327 wcscpy = _OS2wcscpy @937
328 wcscspn = _OS2wcscspn @938
329 wcslen = _OS2wcslen @939
330 wcsncat = _OS2wcscat @940
331 wcsncmp = _OS2wcsncmp @941
332 wcsncpy = _OS2wcsncpy @942
333 wcspbrk = _OS2wcspbrk @943
334 wcsrchr = _OS2wcsrchr @944
335 wcsspn = _OS2wcsspn @945
336 wcsstr = _OS2wcsstr @946
337
Note: See TracBrowser for help on using the repository browser.