| 1 | ;Created by BLAST for IBM's compiler
|
|---|
| 2 | ;Basis is NT4.0's NTDLL.DLL
|
|---|
| 3 | LIBRARY NTDLL INITINSTANCE TERMINSTANCE
|
|---|
| 4 | DATA MULTIPLE NONSHARED
|
|---|
| 5 |
|
|---|
| 6 | IMPORTS
|
|---|
| 7 | fwd_RtlUnwind = KERNEL32.RtlUnwind
|
|---|
| 8 | fwd_memmove = KERNEL32.memmove
|
|---|
| 9 | fwd_RtlFillMemory = KERNEL32.RtlFillMemory
|
|---|
| 10 | fwd_RtlMoveMemory = KERNEL32.RtlMoveMemory
|
|---|
| 11 | fwd_RtlZeroMemory = KERNEL32.RtlZeroMemory
|
|---|
| 12 | fwd_RtlInitializeCriticalSection = KERNEL32.InitializeCriticalSection
|
|---|
| 13 | fwd_RtlLeaveCriticalSection = KERNEL32.LeaveCriticalSection
|
|---|
| 14 | fwd_RtlEnterCriticalSection = KERNEL32.EnterCriticalSection
|
|---|
| 15 | fwd_RtlDeleteCriticalSection = KERNEL32.DeleteCriticalSection
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | EXPORTS
|
|---|
| 19 |
|
|---|
| 20 | ; forwarders
|
|---|
| 21 | RtlUnwind = fwd_RtlUnwind
|
|---|
| 22 | memmove = fwd_memmove
|
|---|
| 23 | RtlFillMemory = fwd_RtlFillMemory
|
|---|
| 24 | RtlMoveMemory = fwd_RtlMoveMemory
|
|---|
| 25 | RtlZeroMemory = fwd_RtlZeroMemory
|
|---|
| 26 | RtlInitializeCriticalSection = fwd_RtlInitializeCriticalSection
|
|---|
| 27 | RtlLeaveCriticalSection = fwd_RtlLeaveCriticalSection
|
|---|
| 28 | RtlEnterCriticalSection = fwd_RtlEnterCriticalSection
|
|---|
| 29 | RtlDeleteCriticalSection = fwd_RtlDeleteCriticalSection
|
|---|
| 30 |
|
|---|
| 31 | ; real functions
|
|---|
| 32 | NtOpenFile = _NtOpenFile@24 @127
|
|---|
| 33 | ZwOpenFile = _NtOpenFile@24
|
|---|
| 34 | NtCreateFile = _NtCreateFile@44 @73
|
|---|
| 35 | ZwCreateFile = _NtCreateFile@44
|
|---|
| 36 | NtReadFile = _NtReadFile@36
|
|---|
| 37 | ZwReadFile = _NtReadFile@36
|
|---|
| 38 | NtDeviceIoControlFile = _NtDeviceIoControlFile@40 @94
|
|---|
| 39 | ZwDeviceIoControlFile = _NtDeviceIoControlFile@40
|
|---|
| 40 | NtFsControlFile = _NtFsControlFile@40 @108
|
|---|
| 41 | ZwFsControlFile = _NtFsControlFile@40
|
|---|
| 42 | NtSetVolumeInformationFile = _NtSetVolumeInformationFile@16
|
|---|
| 43 | ZwSetVolumeInformationFile = _NtSetVolumeInformationFile@16
|
|---|
| 44 | NtQueryInformationFile = _NtQueryInformationFile@20
|
|---|
| 45 | ZwQueryInformationFile = _NtQueryInformationFile@20
|
|---|
| 46 | NtSetInformationFile = _NtSetInformationFile@20
|
|---|
| 47 | ZwSetInformationFile = _NtSetInformationFile@20
|
|---|
| 48 | NtQueryDirectoryFile = _NtQueryDirectoryFile@44
|
|---|
| 49 | ZwQueryDirectoryFile = _NtQueryDirectoryFile@44
|
|---|
| 50 | NtClose = _NtClose@4 @65
|
|---|
| 51 | ZwClose = _NtClose@4
|
|---|
| 52 | NtCreateTimer = _NtCreateTimer@16 @87
|
|---|
| 53 | ZwCreateTimer = _NtCreateTimer@16
|
|---|
| 54 | NtSetTimer = _NtSetTimer@28 @221
|
|---|
| 55 | ZwSetTimer = _NtSetTimer@28
|
|---|
| 56 | NtQueryTimerResolution = _NtQueryTimerResolution@12
|
|---|
| 57 | ZwQueryTimerResolution = _NtQueryTimerResolution@12
|
|---|
| 58 | NtTerminateProcess = _NtTerminateProcess@8
|
|---|
| 59 | ZwTerminateProcess = _NtTerminateProcess@8
|
|---|
| 60 | NtQueryInformationProcess = _NtQueryInformationProcess@20
|
|---|
| 61 | ZwQueryInformationProcess = _NtQueryInformationProcess@20
|
|---|
| 62 | NtSetInformationProcess = _NtSetInformationProcess@16 @207
|
|---|
| 63 | ZwSetInformationProcess = _NtSetInformationProcess@16
|
|---|
| 64 | NtResumeThread = _NtResumeThread@8
|
|---|
| 65 | ZwResumeThread = _NtResumeThread@8
|
|---|
| 66 | NtTerminateThread = _NtTerminateThread@8
|
|---|
| 67 | ZwTerminateThread = _NtTerminateThread@8
|
|---|
| 68 | NtQueryInformationThread = _NtQueryInformationThread@20
|
|---|
| 69 | ZwQueryInformationThread = _NtQueryInformationThread@20
|
|---|
| 70 | NtSetInformationThread = _NtSetInformationThread@16
|
|---|
| 71 | ZwSetInformationThread = _NtSetInformationThread@16
|
|---|
| 72 | NtDuplicateToken = _NtDuplicateToken@24
|
|---|
| 73 | ZwDuplicateToken = _NtDuplicateToken@24
|
|---|
| 74 | NtOpenProcessToken = _NtOpenProcessToken@12
|
|---|
| 75 | ZwOpenProcessToken = _NtOpenProcessToken@12
|
|---|
| 76 | NtOpenThreadToken = _NtOpenThreadToken@16
|
|---|
| 77 | ZwOpenThreadToken = _NtOpenThreadToken@16
|
|---|
| 78 | NtAdjustPrivilegesToken = _NtAdjustPrivilegesToken@24
|
|---|
| 79 | ZwAdjustPrivilegesToken = _NtAdjustPrivilegesToken@24
|
|---|
| 80 | NtQueryInformationToken = _NtQueryInformationToken@20 @156
|
|---|
| 81 | ZwQueryInformationToken = _NtQueryInformationToken@20
|
|---|
| 82 | NtCreateSection = _NtCreateSection@28
|
|---|
| 83 | ZwCreateSection = _NtCreateSection@28
|
|---|
| 84 | NtOpenSection = _NtOpenSection@12
|
|---|
| 85 | ZwOpenSection = _NtOpenSection@12
|
|---|
| 86 | NtQuerySection = _NtQuerySection@20
|
|---|
| 87 | ZwQuerySection = _NtQuerySection@20
|
|---|
| 88 | NtMapViewOfSection = _NtMapViewOfSection@40
|
|---|
| 89 | ZwMapViewOfSection = _NtMapViewOfSection@40
|
|---|
| 90 | NtCreatePort = _NtCreatePort@20
|
|---|
| 91 | ZwCreatePort = _NtCreatePort@20
|
|---|
| 92 | NtConnectPort = _NtConnectPort@32
|
|---|
| 93 | ZwConnectPort = _NtConnectPort@32
|
|---|
| 94 | NtListenPort = _NtListenPort@8
|
|---|
| 95 | ZwListenPort = _NtListenPort@8
|
|---|
| 96 | NtAcceptConnectPort = _NtAcceptConnectPort@24
|
|---|
| 97 | ZwAcceptConnectPort = _NtAcceptConnectPort@24
|
|---|
| 98 | NtCompleteConnectPort = _NtCompleteConnectPort@4
|
|---|
| 99 | ZwCompleteConnectPort = _NtCompleteConnectPort@4
|
|---|
| 100 | NtRegisterThreadTerminatePort = _NtRegisterThreadTerminatePort@4
|
|---|
| 101 | ZwRegisterThreadTerminatePort = _NtRegisterThreadTerminatePort@4
|
|---|
| 102 | NtRequestWaitReplyPort = _NtRequestWaitReplyPort@12
|
|---|
| 103 | ZwRequestWaitReplyPort = _NtRequestWaitReplyPort@12
|
|---|
| 104 | NtReplyWaitReceivePort = _NtReplyWaitReceivePort@16
|
|---|
| 105 | ZwReplyWaitReceivePort = _NtReplyWaitReceivePort@16
|
|---|
| 106 | NtSetIntervalProfile = _NtSetIntervalProfile@8
|
|---|
| 107 | ZwSetIntervalProfile = _NtSetIntervalProfile@8
|
|---|
| 108 | NtQueryPerformanceCounter = _NtQueryPerformanceCounter@8
|
|---|
| 109 | ZwQueryPerformanceCounter = _NtQueryPerformanceCounter@8
|
|---|
| 110 | NtCreateMailslotFile = _NtCreateMailslotFile@32
|
|---|
| 111 | ZwCreateMailslotFile = _NtCreateMailslotFile@32
|
|---|
| 112 | NtQuerySystemInformation = _NtQuerySystemInformation@16 @95
|
|---|
| 113 | ZwQuerySystemInformation = _NtQuerySystemInformation@16
|
|---|
| 114 | NtCreatePagingFile = _NtCreatePagingFile@16
|
|---|
| 115 | ZwCreatePagingFile = _NtCreatePagingFile@16
|
|---|
| 116 | NtDisplayString = _NtDisplayString@4
|
|---|
| 117 | ZwDisplayString = _NtDisplayString@4
|
|---|
| 118 |
|
|---|
| 119 | NtCreateSemaphore = _NtCreateSemaphore@20
|
|---|
| 120 | ZwCreateSemaphore = _NtCreateSemaphore@20
|
|---|
| 121 | NtOpenSemaphore = _NtOpenSemaphore@12
|
|---|
| 122 | ZwOpenSemaphore = _NtOpenSemaphore@12
|
|---|
| 123 | NtQuerySemaphore = _NtQuerySemaphore@20
|
|---|
| 124 | ZwQuerySemaphore = _NtQuerySemaphore@20
|
|---|
| 125 | NtReleaseSemaphore = _NtReleaseSemaphore@12
|
|---|
| 126 | ZwReleaseSemaphore = _NtReleaseSemaphore@12
|
|---|
| 127 | NtCreateEvent = _NtCreateEvent@20
|
|---|
| 128 | ZwCreateEvent = _NtCreateEvent@20
|
|---|
| 129 | NtOpenEvent = _NtOpenEvent@12
|
|---|
| 130 | ZwOpenEvent = _NtOpenEvent@12
|
|---|
| 131 | NtSetEvent = _NtSetEvent@8
|
|---|
| 132 | ZwSetEvent = _NtSetEvent@8
|
|---|
| 133 |
|
|---|
| 134 | NtQueryObject = _NtQueryObject@20 @161
|
|---|
| 135 | ZwQueryObject = _NtQueryObject@20
|
|---|
| 136 | NtQuerySecurityObject = _NtQuerySecurityObject@20
|
|---|
| 137 | ZwQuerySecurityObject = _NtQuerySecurityObject@20
|
|---|
| 138 | NtDuplicateObject = _NtDuplicateObject@28
|
|---|
| 139 | ZwDuplicateObject = _NtDuplicateObject@28
|
|---|
| 140 | NtWaitForSingleObject = _NtWaitForSingleObject@12
|
|---|
| 141 | ZwWaitForSingleObject = _NtWaitForSingleObject@12
|
|---|
| 142 | NtOpenDirectoryObject = _NtOpenDirectoryObject@12 @124
|
|---|
| 143 | ZwOpenDirectoryObject = _NtOpenDirectoryObject@12
|
|---|
| 144 | NtCreateDirectoryObject = _NtCreateDirectoryObject@12
|
|---|
| 145 | ZwCreateDirectoryObject = _NtCreateDirectoryObject@12
|
|---|
| 146 | NtQueryDirectoryObject = _NtQueryDirectoryObject@28 @149
|
|---|
| 147 | ZwQueryDirectoryObject = _NtQueryDirectoryObject@28
|
|---|
| 148 | NtOpenSymbolicLinkObject = _NtQuerySymbolicLinkObject@12
|
|---|
| 149 | ZwOpenSymbolicLinkObject = _NtQuerySymbolicLinkObject@12
|
|---|
| 150 | NtCreateSymbolicLinkObject = _NtCreateSymbolicLinkObject@16
|
|---|
| 151 | ZwCreateSymbolicLinkObject = _NtCreateSymbolicLinkObject@16
|
|---|
| 152 | NtQuerySymbolicLinkObject = _NtQuerySymbolicLinkObject@12
|
|---|
| 153 | ZwQuerySymbolicLinkObject = _NtQuerySymbolicLinkObject@12
|
|---|
| 154 |
|
|---|
| 155 | NtCreateKey = _NtCreateKey@28
|
|---|
| 156 | ZwCreateKey = _NtCreateKey@28
|
|---|
| 157 | NtDeleteKey = _NtDeleteKey@4
|
|---|
| 158 | ZwDeleteKey = _NtDeleteKey@4
|
|---|
| 159 | NtDeleteValueKey = _NtDeleteValueKey@8
|
|---|
| 160 | ZwDeleteValueKey = _NtDeleteValueKey@8
|
|---|
| 161 | NtEnumerateKey = _NtEnumerateKey@24
|
|---|
| 162 | ZwEnumerateKey = _NtEnumerateKey@24
|
|---|
| 163 | NtEnumerateValueKey = _NtEnumerateValueKey@24
|
|---|
| 164 | ZwEnumerateValueKey = _NtEnumerateValueKey@24
|
|---|
| 165 | NtFlushKey = _NtFlushKey@4
|
|---|
| 166 | ZwFlushKey = _NtFlushKey@4
|
|---|
| 167 | NtLoadKey = _NtLoadKey@8
|
|---|
| 168 | ZwLoadKey = _NtLoadKey@8
|
|---|
| 169 | NtNotifyChangeKey = _NtNotifyChangeKey@40
|
|---|
| 170 | ZwNotifyChangeKey = _NtNotifyChangeKey@40
|
|---|
| 171 | NtOpenKey = _NtOpenKey@12 @129
|
|---|
| 172 | ZwOpenKey = _NtOpenKey@12
|
|---|
| 173 | NtQueryKey = _NtQueryKey@20
|
|---|
| 174 | ZwQueryKey = _NtQueryKey@20
|
|---|
| 175 | NtQueryMultipleValueKey = _NtQueryMultipleValueKey@24
|
|---|
| 176 | ZwQueryMultipleValueKey = _NtQueryMultipleValueKey@24
|
|---|
| 177 | NtReplaceKey = _NtReplaceKey@12
|
|---|
| 178 | ZwReplaceKey = _NtReplaceKey@12
|
|---|
| 179 | NtRestoreKey = _NtRestoreKey@12
|
|---|
| 180 | ZwRestoreKey = _NtRestoreKey@12
|
|---|
| 181 | NtSaveKey = _NtSaveKey@8
|
|---|
| 182 | ZwSaveKey = _NtSaveKey@8
|
|---|
| 183 | NtSetInformationKey = _NtSetInformationKey@16
|
|---|
| 184 | ZwSetInformationKey = _NtSetInformationKey@16
|
|---|
| 185 | NtSetValueKey = _NtSetValueKey@24
|
|---|
| 186 | ZwSetValueKey = _NtSetValueKey@24
|
|---|
| 187 | NtUnloadKey = _NtUnloadKey@4
|
|---|
| 188 | ZwUnloadKey = _NtUnloadKey@4
|
|---|
| 189 |
|
|---|
| 190 | RtlAllocateAndInitializeSid = _RtlAllocateAndInitializeSid@44 @265
|
|---|
| 191 | RtlEqualSid = _RtlEqualSid@8 @352
|
|---|
| 192 | RtlFreeSid = _RtlFreeSid@4 @376
|
|---|
| 193 | RtlLengthRequiredSid = _RtlLengthRequiredSid@4 @427
|
|---|
| 194 | RtlLengthSid = _RtlLengthSid@4 @429
|
|---|
| 195 | RtlInitializeSid = _RtlInitializeSid@12 @410
|
|---|
| 196 | RtlSubAuthoritySid = _RtlSubAuthoritySid@8 @497
|
|---|
| 197 | RtlSubAuthorityCountSid = _RtlSubAuthorityCountSid@4 @496
|
|---|
| 198 | RtlCopySid = _RtlCopySid@12 @302
|
|---|
| 199 | RtlCreateSecurityDescriptor = _RtlCreateSecurityDescriptor@8 @313
|
|---|
| 200 | RtlValidSecurityDescriptor = _RtlValidSecurityDescriptor@4
|
|---|
| 201 | RtlLengthSecurityDescriptor = _RtlLengthSecurityDescriptor@4
|
|---|
| 202 | RtlGetDaclSecurityDescriptor = _RtlGetDaclSecurityDescriptor@16
|
|---|
| 203 | RtlSetDaclSecurityDescriptor = _RtlSetDaclSecurityDescriptor@16 @483
|
|---|
| 204 | RtlGetSaclSecurityDescriptor = _RtlGetSaclSecurityDescriptor@16
|
|---|
| 205 | RtlSetSaclSecurityDescriptor = _RtlSetSaclSecurityDescriptor@16
|
|---|
| 206 | RtlGetOwnerSecurityDescriptor = _RtlGetOwnerSecurityDescriptor@12 @488
|
|---|
| 207 | RtlSetOwnerSecurityDescriptor = _RtlSetOwnerSecurityDescriptor@12 @487
|
|---|
| 208 | RtlSetGroupSecurityDescriptor = _RtlSetGroupSecurityDescriptor@12 @485
|
|---|
| 209 | RtlGetGroupSecurityDescriptor = _RtlGetGroupSecurityDescriptor@12
|
|---|
| 210 | RtlCreateAcl = _RtlCreateAcl@12 @306
|
|---|
| 211 | RtlFirstFreeAce = _RtlFirstFreeAce@8 @370
|
|---|
| 212 | RtlAddAce = _RtlAddAce@20 @260
|
|---|
| 213 | RtlAddAccessAllowedAce = _RtlAddAccessAllowedAce@16
|
|---|
| 214 | RtlGetAce = _RtlGetAce@12
|
|---|
| 215 | RtlAdjustPrivilege = _RtlAdjustPrivilege@16
|
|---|
| 216 |
|
|---|
| 217 | RtlAnsiStringToUnicodeString = _RtlAnsiStringToUnicodeString@12 @269
|
|---|
| 218 | RtlOemStringToUnicodeString = _RtlOemStringToUnicodeString@12 @447
|
|---|
| 219 | RtlMultiByteToUnicodeN = _RtlMultiByteToUnicodeN@20 @446
|
|---|
| 220 | RtlOemToUnicodeN = _RtlOemToUnicodeN@20 @448
|
|---|
| 221 | RtlInitAnsiString = _RtlInitAnsiString@8 @399
|
|---|
| 222 | RtlInitOemString = _RtlInitOemString@8
|
|---|
| 223 | RtlInitString = _RtlInitString@8 @402
|
|---|
| 224 | RtlInitUnicodeString = _RtlInitUnicodeString@8 @403
|
|---|
| 225 | RtlFreeUnicodeString = _RtlFreeUnicodeString@4 @377
|
|---|
| 226 | RtlFreeAnsiString = _RtlFreeAnsiString@4 @373
|
|---|
| 227 | RtlFreeOemString = _RtlFreeOemString@4
|
|---|
| 228 | RtlUnicodeToOemN = _RtlUnicodeToOemN@20 @515
|
|---|
| 229 | RtlUnicodeStringToOemString = _RtlUnicodeStringToOemString@12 @511
|
|---|
| 230 | RtlUnicodeStringToAnsiString = _RtlUnicodeStringToAnsiString@12 @507
|
|---|
| 231 | RtlEqualUnicodeString = _RtlEqualUnicodeString@12
|
|---|
| 232 | RtlUpcaseUnicodeString = _RtlUpcaseUnicodeString@12 @520
|
|---|
| 233 | RtlxOemStringToUnicodeSize = _RtlxOemStringToUnicodeSize@4 @549
|
|---|
| 234 | RtlxAnsiStringToUnicodeSize = _RtlxAnsiStringToUnicodeSize@4 @548
|
|---|
| 235 | RtlIsTextUnicode = _RtlIsTextUnicode@12 @417
|
|---|
| 236 | RtlCompareUnicodeString = _RtlCompareUnicodeString@12
|
|---|
| 237 |
|
|---|
| 238 | RtlInitializeResource = _RtlInitializeResource@4 @409
|
|---|
| 239 | RtlDeleteResource = _RtlDeleteResource@4 @330
|
|---|
| 240 | RtlAcquireResourceExclusive = _RtlAcquireResourceExclusive@8 @256
|
|---|
| 241 | RtlAcquireResourceShared = _RtlAcquireResourceShared@8 @257
|
|---|
| 242 | RtlReleaseResource = _RtlReleaseResource@4 @471
|
|---|
| 243 | RtlDumpResource = _RtlDumpResource@4 @340
|
|---|
| 244 | RtlCreateHeap = _RtlCreateHeap@24
|
|---|
| 245 | RtlAllocateHeap = _RtlAllocateHeap@12
|
|---|
| 246 | RtlFreeHeap = _RtlFreeHeap@12
|
|---|
| 247 | RtlDestroyHeap = _RtlDestroyHeap@4
|
|---|
| 248 | ; DbgPrint = _DbgPrint@8
|
|---|
| 249 |
|
|---|
| 250 | ; NtRaiseException = _NtRaiseException@16
|
|---|
| 251 | ; ZwRaiseException = _NtRaiseException@16
|
|---|
| 252 | ; RtlRaiseException = _RtlRaiseException@4
|
|---|
| 253 | RtlAcquirePebLock = _RtlAcquirePebLock@0
|
|---|
| 254 | RtlReleasePebLock = _RtlReleasePebLock@0
|
|---|
| 255 | RtlIntegerToChar = _RtlIntegerToChar@16
|
|---|
| 256 | RtlSetEnvironmentVariable = _RtlSetEnvironmentVariable@12
|
|---|
| 257 | RtlNewSecurityObject = _RtlNewSecurityObject@24
|
|---|
| 258 | RtlDeleteSecurityObject = _RtlDeleteSecurityObject@4
|
|---|
| 259 | RtlNormalizeProcessParams = _RtlNormalizeProcessParams@4 @441
|
|---|
| 260 | RtlNtStatusToDosError = _RtlNtStatusToDosError@4 @442
|
|---|
| 261 | RtlGetNtProductType = _RtlGetNtProductType@4 @390
|
|---|
| 262 | RtlExtendedLargeIntegerDivide = _RtlExtendedLargeIntegerDivide@16 @359
|
|---|
| 263 | ; RtlExtendedLargeIntegerMultiply
|
|---|
| 264 | RtlFormatCurrentUserKeyPath = _RtlFormatCurrentUserKeyPath@4 @371
|
|---|
| 265 | RtlOpenCurrentUser = _RtlOpenCurrentUser@8
|
|---|
| 266 | RtlDosPathNameToNtPathName_U = _RtlDosPathNameToNtPathName_U@16 @338
|
|---|
| 267 | RtlCreateEnvironment = _RtlCreateEnvironment@8
|
|---|
| 268 | RtlDestroyEnvironment = _RtlDestroyEnvironment@4
|
|---|
| 269 | RtlQueryEnvironmentVariable_U = _RtlQueryEnvironmentVariable_U@12
|
|---|
| 270 |
|
|---|
| 271 | RtlSystemTimeToLocalTime = _RtlSystemTimeToLocalTime@8
|
|---|
| 272 | RtlTimeToSecondsSince1980 = _RtlTimeToSecondsSince1980@8
|
|---|
| 273 | RtlTimeToSecondsSince1970 = _RtlTimeToSecondsSince1970@8
|
|---|
| 274 | RtlTimeToElapsedTimeFields = _RtlTimeToElapsedTimeFields@8
|
|---|
| 275 |
|
|---|