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

Last change on this file since 689 was 591, checked in by phaller, 26 years ago

Add: added RtlRandom-stub, swprintf, tan to NTDLL

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