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

Last change on this file since 183 was 156, checked in by phaller, 26 years ago

Add: more C-runtime stuff in NTDLL

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