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

Last change on this file since 307 was 188, checked in by phaller, 26 years ago

Add: new runtime functions in NTDLL

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