| 1 | ; $Id: ntdll.def,v 1.4 1999-06-10 17:06:45 phaller Exp $
|
|---|
| 2 |
|
|---|
| 3 | ;Created by BLAST for IBM's compiler
|
|---|
| 4 | ;Basis is NT4.0's NTDLL.DLL
|
|---|
| 5 | LIBRARY NTDLL INITINSTANCE TERMINSTANCE
|
|---|
| 6 | DATA MULTIPLE NONSHARED
|
|---|
| 7 |
|
|---|
| 8 | IMPORTS
|
|---|
| 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 |
|
|---|
| 20 | EXPORTS
|
|---|
| 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 | NtReplaceKey = _NtReplaceKey@12
|
|---|
| 180 | ZwReplaceKey = _NtReplaceKey@12
|
|---|
| 181 | NtRestoreKey = _NtRestoreKey@12
|
|---|
| 182 | ZwRestoreKey = _NtRestoreKey@12
|
|---|
| 183 | NtSaveKey = _NtSaveKey@8
|
|---|
| 184 | ZwSaveKey = _NtSaveKey@8
|
|---|
| 185 | NtSetInformationKey = _NtSetInformationKey@16
|
|---|
| 186 | ZwSetInformationKey = _NtSetInformationKey@16
|
|---|
| 187 | NtSetValueKey = _NtSetValueKey@24
|
|---|
| 188 | ZwSetValueKey = _NtSetValueKey@24
|
|---|
| 189 | NtUnloadKey = _NtUnloadKey@4
|
|---|
| 190 | ZwUnloadKey = _NtUnloadKey@4
|
|---|
| 191 |
|
|---|
| 192 | RtlAllocateAndInitializeSid = _RtlAllocateAndInitializeSid@44 @265
|
|---|
| 193 | RtlEqualSid = _RtlEqualSid@8 @352
|
|---|
| 194 | RtlFreeSid = _RtlFreeSid@4 @376
|
|---|
| 195 | RtlLengthRequiredSid = _RtlLengthRequiredSid@4 @427
|
|---|
| 196 | RtlLengthSid = _RtlLengthSid@4 @429
|
|---|
| 197 | RtlInitializeSid = _RtlInitializeSid@12 @410
|
|---|
| 198 | RtlSubAuthoritySid = _RtlSubAuthoritySid@8 @497
|
|---|
| 199 | RtlSubAuthorityCountSid = _RtlSubAuthorityCountSid@4 @496
|
|---|
| 200 | RtlCopySid = _RtlCopySid@12 @302
|
|---|
| 201 | RtlCreateSecurityDescriptor = _RtlCreateSecurityDescriptor@8 @313
|
|---|
| 202 | RtlValidSecurityDescriptor = _RtlValidSecurityDescriptor@4
|
|---|
| 203 | RtlLengthSecurityDescriptor = _RtlLengthSecurityDescriptor@4
|
|---|
| 204 | RtlGetDaclSecurityDescriptor = _RtlGetDaclSecurityDescriptor@16
|
|---|
| 205 | RtlSetDaclSecurityDescriptor = _RtlSetDaclSecurityDescriptor@16 @483
|
|---|
| 206 | RtlGetSaclSecurityDescriptor = _RtlGetSaclSecurityDescriptor@16
|
|---|
| 207 | RtlSetSaclSecurityDescriptor = _RtlSetSaclSecurityDescriptor@16
|
|---|
| 208 | RtlGetOwnerSecurityDescriptor = _RtlGetOwnerSecurityDescriptor@12 @488
|
|---|
| 209 | RtlSetOwnerSecurityDescriptor = _RtlSetOwnerSecurityDescriptor@12 @487
|
|---|
| 210 | RtlSetGroupSecurityDescriptor = _RtlSetGroupSecurityDescriptor@12 @485
|
|---|
| 211 | RtlGetGroupSecurityDescriptor = _RtlGetGroupSecurityDescriptor@12
|
|---|
| 212 | RtlCreateAcl = _RtlCreateAcl@12 @306
|
|---|
| 213 | RtlFirstFreeAce = _RtlFirstFreeAce@8 @370
|
|---|
| 214 | RtlAddAce = _RtlAddAce@20 @260
|
|---|
| 215 | RtlAddAccessAllowedAce = _RtlAddAccessAllowedAce@16
|
|---|
| 216 | RtlGetAce = _RtlGetAce@12
|
|---|
| 217 | RtlAdjustPrivilege = _RtlAdjustPrivilege@16
|
|---|
| 218 |
|
|---|
| 219 | RtlAnsiStringToUnicodeString = _RtlAnsiStringToUnicodeString@12 @269
|
|---|
| 220 | RtlOemStringToUnicodeString = _RtlOemStringToUnicodeString@12 @447
|
|---|
| 221 | RtlMultiByteToUnicodeN = _RtlMultiByteToUnicodeN@20 @446
|
|---|
| 222 | RtlOemToUnicodeN = _RtlOemToUnicodeN@20 @448
|
|---|
| 223 | RtlInitAnsiString = _RtlInitAnsiString@8 @399
|
|---|
| 224 | RtlInitOemString = _RtlInitOemString@8
|
|---|
| 225 | RtlInitString = _RtlInitString@8 @402
|
|---|
| 226 | RtlInitUnicodeString = _RtlInitUnicodeString@8 @403
|
|---|
| 227 | RtlFreeUnicodeString = _RtlFreeUnicodeString@4 @377
|
|---|
| 228 | RtlFreeAnsiString = _RtlFreeAnsiString@4 @373
|
|---|
| 229 | RtlFreeOemString = _RtlFreeOemString@4
|
|---|
| 230 | RtlUnicodeToOemN = _RtlUnicodeToOemN@20 @515
|
|---|
| 231 | RtlUnicodeStringToOemString = _RtlUnicodeStringToOemString@12 @511
|
|---|
| 232 | RtlUnicodeStringToAnsiString = _RtlUnicodeStringToAnsiString@12 @507
|
|---|
| 233 | RtlEqualUnicodeString = _RtlEqualUnicodeString@12
|
|---|
| 234 | RtlUpcaseUnicodeString = _RtlUpcaseUnicodeString@12 @520
|
|---|
| 235 | RtlxOemStringToUnicodeSize = _RtlxOemStringToUnicodeSize@4 @549
|
|---|
| 236 | RtlxAnsiStringToUnicodeSize = _RtlxAnsiStringToUnicodeSize@4 @548
|
|---|
| 237 | RtlIsTextUnicode = _RtlIsTextUnicode@12 @417
|
|---|
| 238 | RtlCompareUnicodeString = _RtlCompareUnicodeString@12
|
|---|
| 239 |
|
|---|
| 240 | RtlInitializeResource = _RtlInitializeResource@4 @409
|
|---|
| 241 | RtlDeleteResource = _RtlDeleteResource@4 @330
|
|---|
| 242 | RtlAcquireResourceExclusive = _RtlAcquireResourceExclusive@8 @256
|
|---|
| 243 | RtlAcquireResourceShared = _RtlAcquireResourceShared@8 @257
|
|---|
| 244 | RtlReleaseResource = _RtlReleaseResource@4 @471
|
|---|
| 245 | RtlDumpResource = _RtlDumpResource@4 @340
|
|---|
| 246 | RtlCreateHeap = _RtlCreateHeap@24
|
|---|
| 247 | RtlAllocateHeap = _RtlAllocateHeap@12
|
|---|
| 248 | RtlFreeHeap = _RtlFreeHeap@12
|
|---|
| 249 | RtlDestroyHeap = _RtlDestroyHeap@4
|
|---|
| 250 | ; DbgPrint = _DbgPrint@8
|
|---|
| 251 |
|
|---|
| 252 | ; NtRaiseException = _NtRaiseException@16
|
|---|
| 253 | ; ZwRaiseException = _NtRaiseException@16
|
|---|
| 254 | ; RtlRaiseException = _RtlRaiseException@4
|
|---|
| 255 | RtlAcquirePebLock = _RtlAcquirePebLock@0
|
|---|
| 256 | RtlReleasePebLock = _RtlReleasePebLock@0
|
|---|
| 257 | RtlIntegerToChar = _RtlIntegerToChar@16
|
|---|
| 258 | RtlSetEnvironmentVariable = _RtlSetEnvironmentVariable@12
|
|---|
| 259 | RtlNewSecurityObject = _RtlNewSecurityObject@24
|
|---|
| 260 | RtlDeleteSecurityObject = _RtlDeleteSecurityObject@4
|
|---|
| 261 | RtlNormalizeProcessParams = _RtlNormalizeProcessParams@4 @441
|
|---|
| 262 | RtlNtStatusToDosError = _RtlNtStatusToDosError@4 @442
|
|---|
| 263 | RtlGetNtProductType = _RtlGetNtProductType@4 @390
|
|---|
| 264 | RtlExtendedLargeIntegerDivide = _RtlExtendedLargeIntegerDivide@16 @359
|
|---|
| 265 | ; RtlExtendedLargeIntegerMultiply
|
|---|
| 266 | RtlFormatCurrentUserKeyPath = _RtlFormatCurrentUserKeyPath@4 @371
|
|---|
| 267 | RtlOpenCurrentUser = _RtlOpenCurrentUser@8
|
|---|
| 268 | RtlDosPathNameToNtPathName_U = _RtlDosPathNameToNtPathName_U@16 @338
|
|---|
| 269 | RtlCreateEnvironment = _RtlCreateEnvironment@8
|
|---|
| 270 | RtlDestroyEnvironment = _RtlDestroyEnvironment@4
|
|---|
| 271 | RtlQueryEnvironmentVariable_U = _RtlQueryEnvironmentVariable_U@12
|
|---|
| 272 |
|
|---|
| 273 | RtlSystemTimeToLocalTime = _RtlSystemTimeToLocalTime@8
|
|---|
| 274 | RtlTimeToSecondsSince1980 = _RtlTimeToSecondsSince1980@8
|
|---|
| 275 | RtlTimeToSecondsSince1970 = _RtlTimeToSecondsSince1970@8
|
|---|
| 276 | RtlTimeToElapsedTimeFields = _RtlTimeToElapsedTimeFields@8
|
|---|
| 277 |
|
|---|