wine/dlls/ntdll/ntsyscalls.h
Dmitry Timoshkov 16d2f3c8a7 ntdll: Add NtCompareTokens() stub.
SQL Native Client ODBC driver fails to load if GetProcAddress("NtCompareTokens")
returns NULL, however it never calls it.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-01-17 11:30:55 +01:00

480 lines
25 KiB
C

/* Automatically generated by tools/make_specfiles */
#define ALL_SYSCALLS32 \
SYSCALL_ENTRY( 0x0000, NtAcceptConnectPort, 24 ) \
SYSCALL_ENTRY( 0x0001, NtAccessCheck, 32 ) \
SYSCALL_ENTRY( 0x0002, NtAccessCheckAndAuditAlarm, 44 ) \
SYSCALL_ENTRY( 0x0003, NtAddAtom, 12 ) \
SYSCALL_ENTRY( 0x0004, NtAdjustGroupsToken, 24 ) \
SYSCALL_ENTRY( 0x0005, NtAdjustPrivilegesToken, 24 ) \
SYSCALL_ENTRY( 0x0006, NtAlertResumeThread, 8 ) \
SYSCALL_ENTRY( 0x0007, NtAlertThread, 4 ) \
SYSCALL_ENTRY( 0x0008, NtAlertThreadByThreadId, 4 ) \
SYSCALL_ENTRY( 0x0009, NtAllocateLocallyUniqueId, 4 ) \
SYSCALL_ENTRY( 0x000a, NtAllocateUuids, 16 ) \
SYSCALL_ENTRY( 0x000b, NtAllocateVirtualMemory, 24 ) \
SYSCALL_ENTRY( 0x000c, NtAllocateVirtualMemoryEx, 28 ) \
SYSCALL_ENTRY( 0x000d, NtAreMappedFilesTheSame, 8 ) \
SYSCALL_ENTRY( 0x000e, NtAssignProcessToJobObject, 8 ) \
SYSCALL_ENTRY( 0x000f, NtCallbackReturn, 12 ) \
SYSCALL_ENTRY( 0x0010, NtCancelIoFile, 8 ) \
SYSCALL_ENTRY( 0x0011, NtCancelIoFileEx, 12 ) \
SYSCALL_ENTRY( 0x0012, NtCancelSynchronousIoFile, 12 ) \
SYSCALL_ENTRY( 0x0013, NtCancelTimer, 8 ) \
SYSCALL_ENTRY( 0x0014, NtClearEvent, 4 ) \
SYSCALL_ENTRY( 0x0015, NtClose, 4 ) \
SYSCALL_ENTRY( 0x0016, NtCommitTransaction, 8 ) \
SYSCALL_ENTRY( 0x0017, NtCompareObjects, 8 ) \
SYSCALL_ENTRY( 0x0018, NtCompareTokens, 12 ) \
SYSCALL_ENTRY( 0x0019, NtCompleteConnectPort, 4 ) \
SYSCALL_ENTRY( 0x001a, NtConnectPort, 32 ) \
SYSCALL_ENTRY( 0x001b, NtContinue, 8 ) \
SYSCALL_ENTRY( 0x001c, NtCreateDebugObject, 16 ) \
SYSCALL_ENTRY( 0x001d, NtCreateDirectoryObject, 12 ) \
SYSCALL_ENTRY( 0x001e, NtCreateEvent, 20 ) \
SYSCALL_ENTRY( 0x001f, NtCreateFile, 44 ) \
SYSCALL_ENTRY( 0x0020, NtCreateIoCompletion, 16 ) \
SYSCALL_ENTRY( 0x0021, NtCreateJobObject, 12 ) \
SYSCALL_ENTRY( 0x0022, NtCreateKey, 28 ) \
SYSCALL_ENTRY( 0x0023, NtCreateKeyTransacted, 32 ) \
SYSCALL_ENTRY( 0x0024, NtCreateKeyedEvent, 16 ) \
SYSCALL_ENTRY( 0x0025, NtCreateLowBoxToken, 36 ) \
SYSCALL_ENTRY( 0x0026, NtCreateMailslotFile, 32 ) \
SYSCALL_ENTRY( 0x0027, NtCreateMutant, 16 ) \
SYSCALL_ENTRY( 0x0028, NtCreateNamedPipeFile, 56 ) \
SYSCALL_ENTRY( 0x0029, NtCreatePagingFile, 16 ) \
SYSCALL_ENTRY( 0x002a, NtCreatePort, 20 ) \
SYSCALL_ENTRY( 0x002b, NtCreateSection, 28 ) \
SYSCALL_ENTRY( 0x002c, NtCreateSemaphore, 20 ) \
SYSCALL_ENTRY( 0x002d, NtCreateSymbolicLinkObject, 16 ) \
SYSCALL_ENTRY( 0x002e, NtCreateThread, 32 ) \
SYSCALL_ENTRY( 0x002f, NtCreateThreadEx, 44 ) \
SYSCALL_ENTRY( 0x0030, NtCreateTimer, 16 ) \
SYSCALL_ENTRY( 0x0031, NtCreateToken, 52 ) \
SYSCALL_ENTRY( 0x0032, NtCreateTransaction, 40 ) \
SYSCALL_ENTRY( 0x0033, NtCreateUserProcess, 44 ) \
SYSCALL_ENTRY( 0x0034, NtDebugActiveProcess, 8 ) \
SYSCALL_ENTRY( 0x0035, NtDebugContinue, 12 ) \
SYSCALL_ENTRY( 0x0036, NtDelayExecution, 8 ) \
SYSCALL_ENTRY( 0x0037, NtDeleteAtom, 4 ) \
SYSCALL_ENTRY( 0x0038, NtDeleteFile, 4 ) \
SYSCALL_ENTRY( 0x0039, NtDeleteKey, 4 ) \
SYSCALL_ENTRY( 0x003a, NtDeleteValueKey, 8 ) \
SYSCALL_ENTRY( 0x003b, NtDeviceIoControlFile, 40 ) \
SYSCALL_ENTRY( 0x003c, NtDisplayString, 4 ) \
SYSCALL_ENTRY( 0x003d, NtDuplicateObject, 28 ) \
SYSCALL_ENTRY( 0x003e, NtDuplicateToken, 24 ) \
SYSCALL_ENTRY( 0x003f, NtEnumerateKey, 24 ) \
SYSCALL_ENTRY( 0x0040, NtEnumerateValueKey, 24 ) \
SYSCALL_ENTRY( 0x0041, NtFilterToken, 24 ) \
SYSCALL_ENTRY( 0x0042, NtFindAtom, 12 ) \
SYSCALL_ENTRY( 0x0043, NtFlushBuffersFile, 8 ) \
SYSCALL_ENTRY( 0x0044, NtFlushInstructionCache, 12 ) \
SYSCALL_ENTRY( 0x0045, NtFlushKey, 4 ) \
SYSCALL_ENTRY( 0x0046, NtFlushProcessWriteBuffers, 0 ) \
SYSCALL_ENTRY( 0x0047, NtFlushVirtualMemory, 16 ) \
SYSCALL_ENTRY( 0x0048, NtFreeVirtualMemory, 16 ) \
SYSCALL_ENTRY( 0x0049, NtFsControlFile, 40 ) \
SYSCALL_ENTRY( 0x004a, NtGetContextThread, 8 ) \
SYSCALL_ENTRY( 0x004b, NtGetCurrentProcessorNumber, 0 ) \
SYSCALL_ENTRY( 0x004c, NtGetNextThread, 24 ) \
SYSCALL_ENTRY( 0x004d, NtGetNlsSectionPtr, 20 ) \
SYSCALL_ENTRY( 0x004e, NtGetWriteWatch, 28 ) \
SYSCALL_ENTRY( 0x004f, NtImpersonateAnonymousToken, 4 ) \
SYSCALL_ENTRY( 0x0050, NtInitializeNlsFiles, 12 ) \
SYSCALL_ENTRY( 0x0051, NtInitiatePowerAction, 16 ) \
SYSCALL_ENTRY( 0x0052, NtIsProcessInJob, 8 ) \
SYSCALL_ENTRY( 0x0053, NtListenPort, 8 ) \
SYSCALL_ENTRY( 0x0054, NtLoadDriver, 4 ) \
SYSCALL_ENTRY( 0x0055, NtLoadKey, 8 ) \
SYSCALL_ENTRY( 0x0056, NtLoadKey2, 12 ) \
SYSCALL_ENTRY( 0x0057, NtLoadKeyEx, 32 ) \
SYSCALL_ENTRY( 0x0058, NtLockFile, 40 ) \
SYSCALL_ENTRY( 0x0059, NtLockVirtualMemory, 16 ) \
SYSCALL_ENTRY( 0x005a, NtMakeTemporaryObject, 4 ) \
SYSCALL_ENTRY( 0x005b, NtMapViewOfSection, 40 ) \
SYSCALL_ENTRY( 0x005c, NtMapViewOfSectionEx, 36 ) \
SYSCALL_ENTRY( 0x005d, NtNotifyChangeDirectoryFile, 36 ) \
SYSCALL_ENTRY( 0x005e, NtNotifyChangeKey, 40 ) \
SYSCALL_ENTRY( 0x005f, NtNotifyChangeMultipleKeys, 48 ) \
SYSCALL_ENTRY( 0x0060, NtOpenDirectoryObject, 12 ) \
SYSCALL_ENTRY( 0x0061, NtOpenEvent, 12 ) \
SYSCALL_ENTRY( 0x0062, NtOpenFile, 24 ) \
SYSCALL_ENTRY( 0x0063, NtOpenIoCompletion, 12 ) \
SYSCALL_ENTRY( 0x0064, NtOpenJobObject, 12 ) \
SYSCALL_ENTRY( 0x0065, NtOpenKey, 12 ) \
SYSCALL_ENTRY( 0x0066, NtOpenKeyEx, 16 ) \
SYSCALL_ENTRY( 0x0067, NtOpenKeyTransacted, 16 ) \
SYSCALL_ENTRY( 0x0068, NtOpenKeyTransactedEx, 20 ) \
SYSCALL_ENTRY( 0x0069, NtOpenKeyedEvent, 12 ) \
SYSCALL_ENTRY( 0x006a, NtOpenMutant, 12 ) \
SYSCALL_ENTRY( 0x006b, NtOpenProcess, 16 ) \
SYSCALL_ENTRY( 0x006c, NtOpenProcessToken, 12 ) \
SYSCALL_ENTRY( 0x006d, NtOpenProcessTokenEx, 16 ) \
SYSCALL_ENTRY( 0x006e, NtOpenSection, 12 ) \
SYSCALL_ENTRY( 0x006f, NtOpenSemaphore, 12 ) \
SYSCALL_ENTRY( 0x0070, NtOpenSymbolicLinkObject, 12 ) \
SYSCALL_ENTRY( 0x0071, NtOpenThread, 16 ) \
SYSCALL_ENTRY( 0x0072, NtOpenThreadToken, 16 ) \
SYSCALL_ENTRY( 0x0073, NtOpenThreadTokenEx, 20 ) \
SYSCALL_ENTRY( 0x0074, NtOpenTimer, 12 ) \
SYSCALL_ENTRY( 0x0075, NtPowerInformation, 20 ) \
SYSCALL_ENTRY( 0x0076, NtPrivilegeCheck, 12 ) \
SYSCALL_ENTRY( 0x0077, NtProtectVirtualMemory, 20 ) \
SYSCALL_ENTRY( 0x0078, NtPulseEvent, 8 ) \
SYSCALL_ENTRY( 0x0079, NtQueryAttributesFile, 8 ) \
SYSCALL_ENTRY( 0x007a, NtQueryDefaultLocale, 8 ) \
SYSCALL_ENTRY( 0x007b, NtQueryDefaultUILanguage, 4 ) \
SYSCALL_ENTRY( 0x007c, NtQueryDirectoryFile, 44 ) \
SYSCALL_ENTRY( 0x007d, NtQueryDirectoryObject, 28 ) \
SYSCALL_ENTRY( 0x007e, NtQueryEaFile, 36 ) \
SYSCALL_ENTRY( 0x007f, NtQueryEvent, 20 ) \
SYSCALL_ENTRY( 0x0080, NtQueryFullAttributesFile, 8 ) \
SYSCALL_ENTRY( 0x0081, NtQueryInformationAtom, 20 ) \
SYSCALL_ENTRY( 0x0082, NtQueryInformationFile, 20 ) \
SYSCALL_ENTRY( 0x0083, NtQueryInformationJobObject, 20 ) \
SYSCALL_ENTRY( 0x0084, NtQueryInformationProcess, 20 ) \
SYSCALL_ENTRY( 0x0085, NtQueryInformationThread, 20 ) \
SYSCALL_ENTRY( 0x0086, NtQueryInformationToken, 20 ) \
SYSCALL_ENTRY( 0x0087, NtQueryInstallUILanguage, 4 ) \
SYSCALL_ENTRY( 0x0088, NtQueryIoCompletion, 20 ) \
SYSCALL_ENTRY( 0x0089, NtQueryKey, 20 ) \
SYSCALL_ENTRY( 0x008a, NtQueryLicenseValue, 20 ) \
SYSCALL_ENTRY( 0x008b, NtQueryMultipleValueKey, 24 ) \
SYSCALL_ENTRY( 0x008c, NtQueryMutant, 20 ) \
SYSCALL_ENTRY( 0x008d, NtQueryObject, 20 ) \
SYSCALL_ENTRY( 0x008e, NtQueryPerformanceCounter, 8 ) \
SYSCALL_ENTRY( 0x008f, NtQuerySection, 20 ) \
SYSCALL_ENTRY( 0x0090, NtQuerySecurityObject, 20 ) \
SYSCALL_ENTRY( 0x0091, NtQuerySemaphore, 20 ) \
SYSCALL_ENTRY( 0x0092, NtQuerySymbolicLinkObject, 12 ) \
SYSCALL_ENTRY( 0x0093, NtQuerySystemEnvironmentValue, 16 ) \
SYSCALL_ENTRY( 0x0094, NtQuerySystemEnvironmentValueEx, 20 ) \
SYSCALL_ENTRY( 0x0095, NtQuerySystemInformation, 16 ) \
SYSCALL_ENTRY( 0x0096, NtQuerySystemInformationEx, 24 ) \
SYSCALL_ENTRY( 0x0097, NtQuerySystemTime, 4 ) \
SYSCALL_ENTRY( 0x0098, NtQueryTimer, 20 ) \
SYSCALL_ENTRY( 0x0099, NtQueryTimerResolution, 12 ) \
SYSCALL_ENTRY( 0x009a, NtQueryValueKey, 24 ) \
SYSCALL_ENTRY( 0x009b, NtQueryVirtualMemory, 24 ) \
SYSCALL_ENTRY( 0x009c, NtQueryVolumeInformationFile, 20 ) \
SYSCALL_ENTRY( 0x009d, NtQueueApcThread, 20 ) \
SYSCALL_ENTRY( 0x009e, NtRaiseException, 12 ) \
SYSCALL_ENTRY( 0x009f, NtRaiseHardError, 24 ) \
SYSCALL_ENTRY( 0x00a0, NtReadFile, 36 ) \
SYSCALL_ENTRY( 0x00a1, NtReadFileScatter, 36 ) \
SYSCALL_ENTRY( 0x00a2, NtReadVirtualMemory, 20 ) \
SYSCALL_ENTRY( 0x00a3, NtRegisterThreadTerminatePort, 4 ) \
SYSCALL_ENTRY( 0x00a4, NtReleaseKeyedEvent, 16 ) \
SYSCALL_ENTRY( 0x00a5, NtReleaseMutant, 8 ) \
SYSCALL_ENTRY( 0x00a6, NtReleaseSemaphore, 12 ) \
SYSCALL_ENTRY( 0x00a7, NtRemoveIoCompletion, 20 ) \
SYSCALL_ENTRY( 0x00a8, NtRemoveIoCompletionEx, 24 ) \
SYSCALL_ENTRY( 0x00a9, NtRemoveProcessDebug, 8 ) \
SYSCALL_ENTRY( 0x00aa, NtRenameKey, 8 ) \
SYSCALL_ENTRY( 0x00ab, NtReplaceKey, 12 ) \
SYSCALL_ENTRY( 0x00ac, NtReplyWaitReceivePort, 16 ) \
SYSCALL_ENTRY( 0x00ad, NtRequestWaitReplyPort, 12 ) \
SYSCALL_ENTRY( 0x00ae, NtResetEvent, 8 ) \
SYSCALL_ENTRY( 0x00af, NtResetWriteWatch, 12 ) \
SYSCALL_ENTRY( 0x00b0, NtRestoreKey, 12 ) \
SYSCALL_ENTRY( 0x00b1, NtResumeProcess, 4 ) \
SYSCALL_ENTRY( 0x00b2, NtResumeThread, 8 ) \
SYSCALL_ENTRY( 0x00b3, NtRollbackTransaction, 8 ) \
SYSCALL_ENTRY( 0x00b4, NtSaveKey, 8 ) \
SYSCALL_ENTRY( 0x00b5, NtSecureConnectPort, 36 ) \
SYSCALL_ENTRY( 0x00b6, NtSetContextThread, 8 ) \
SYSCALL_ENTRY( 0x00b7, NtSetDebugFilterState, 12 ) \
SYSCALL_ENTRY( 0x00b8, NtSetDefaultLocale, 8 ) \
SYSCALL_ENTRY( 0x00b9, NtSetDefaultUILanguage, 4 ) \
SYSCALL_ENTRY( 0x00ba, NtSetEaFile, 16 ) \
SYSCALL_ENTRY( 0x00bb, NtSetEvent, 8 ) \
SYSCALL_ENTRY( 0x00bc, NtSetInformationDebugObject, 20 ) \
SYSCALL_ENTRY( 0x00bd, NtSetInformationFile, 20 ) \
SYSCALL_ENTRY( 0x00be, NtSetInformationJobObject, 16 ) \
SYSCALL_ENTRY( 0x00bf, NtSetInformationKey, 16 ) \
SYSCALL_ENTRY( 0x00c0, NtSetInformationObject, 16 ) \
SYSCALL_ENTRY( 0x00c1, NtSetInformationProcess, 16 ) \
SYSCALL_ENTRY( 0x00c2, NtSetInformationThread, 16 ) \
SYSCALL_ENTRY( 0x00c3, NtSetInformationToken, 16 ) \
SYSCALL_ENTRY( 0x00c4, NtSetInformationVirtualMemory, 24 ) \
SYSCALL_ENTRY( 0x00c5, NtSetIntervalProfile, 8 ) \
SYSCALL_ENTRY( 0x00c6, NtSetIoCompletion, 20 ) \
SYSCALL_ENTRY( 0x00c7, NtSetLdtEntries, 24 ) \
SYSCALL_ENTRY( 0x00c8, NtSetSecurityObject, 12 ) \
SYSCALL_ENTRY( 0x00c9, NtSetSystemInformation, 12 ) \
SYSCALL_ENTRY( 0x00ca, NtSetSystemTime, 8 ) \
SYSCALL_ENTRY( 0x00cb, NtSetThreadExecutionState, 8 ) \
SYSCALL_ENTRY( 0x00cc, NtSetTimer, 28 ) \
SYSCALL_ENTRY( 0x00cd, NtSetTimerResolution, 12 ) \
SYSCALL_ENTRY( 0x00ce, NtSetValueKey, 24 ) \
SYSCALL_ENTRY( 0x00cf, NtSetVolumeInformationFile, 20 ) \
SYSCALL_ENTRY( 0x00d0, NtShutdownSystem, 4 ) \
SYSCALL_ENTRY( 0x00d1, NtSignalAndWaitForSingleObject, 16 ) \
SYSCALL_ENTRY( 0x00d2, NtSuspendProcess, 4 ) \
SYSCALL_ENTRY( 0x00d3, NtSuspendThread, 8 ) \
SYSCALL_ENTRY( 0x00d4, NtSystemDebugControl, 24 ) \
SYSCALL_ENTRY( 0x00d5, NtTerminateJobObject, 8 ) \
SYSCALL_ENTRY( 0x00d6, NtTerminateProcess, 8 ) \
SYSCALL_ENTRY( 0x00d7, NtTerminateThread, 8 ) \
SYSCALL_ENTRY( 0x00d8, NtTestAlert, 0 ) \
SYSCALL_ENTRY( 0x00d9, NtTraceControl, 24 ) \
SYSCALL_ENTRY( 0x00da, NtUnloadDriver, 4 ) \
SYSCALL_ENTRY( 0x00db, NtUnloadKey, 4 ) \
SYSCALL_ENTRY( 0x00dc, NtUnlockFile, 20 ) \
SYSCALL_ENTRY( 0x00dd, NtUnlockVirtualMemory, 16 ) \
SYSCALL_ENTRY( 0x00de, NtUnmapViewOfSection, 8 ) \
SYSCALL_ENTRY( 0x00df, NtUnmapViewOfSectionEx, 12 ) \
SYSCALL_ENTRY( 0x00e0, NtWaitForAlertByThreadId, 8 ) \
SYSCALL_ENTRY( 0x00e1, NtWaitForDebugEvent, 16 ) \
SYSCALL_ENTRY( 0x00e2, NtWaitForKeyedEvent, 16 ) \
SYSCALL_ENTRY( 0x00e3, NtWaitForMultipleObjects, 20 ) \
SYSCALL_ENTRY( 0x00e4, NtWaitForSingleObject, 12 ) \
SYSCALL_ENTRY( 0x00e5, NtWow64AllocateVirtualMemory64, 28 ) \
SYSCALL_ENTRY( 0x00e6, NtWow64GetNativeSystemInformation, 16 ) \
SYSCALL_ENTRY( 0x00e7, NtWow64IsProcessorFeaturePresent, 4 ) \
SYSCALL_ENTRY( 0x00e8, NtWow64ReadVirtualMemory64, 28 ) \
SYSCALL_ENTRY( 0x00e9, NtWow64WriteVirtualMemory64, 28 ) \
SYSCALL_ENTRY( 0x00ea, NtWriteFile, 36 ) \
SYSCALL_ENTRY( 0x00eb, NtWriteFileGather, 36 ) \
SYSCALL_ENTRY( 0x00ec, NtWriteVirtualMemory, 20 ) \
SYSCALL_ENTRY( 0x00ed, NtYieldExecution, 0 ) \
SYSCALL_ENTRY( 0x00ee, wine_nt_to_unix_file_name, 16 ) \
SYSCALL_ENTRY( 0x00ef, wine_unix_to_nt_file_name, 12 )
#define ALL_SYSCALLS64 \
SYSCALL_ENTRY( 0x0000, NtAcceptConnectPort, 48 ) \
SYSCALL_ENTRY( 0x0001, NtAccessCheck, 64 ) \
SYSCALL_ENTRY( 0x0002, NtAccessCheckAndAuditAlarm, 88 ) \
SYSCALL_ENTRY( 0x0003, NtAddAtom, 24 ) \
SYSCALL_ENTRY( 0x0004, NtAdjustGroupsToken, 48 ) \
SYSCALL_ENTRY( 0x0005, NtAdjustPrivilegesToken, 48 ) \
SYSCALL_ENTRY( 0x0006, NtAlertResumeThread, 16 ) \
SYSCALL_ENTRY( 0x0007, NtAlertThread, 8 ) \
SYSCALL_ENTRY( 0x0008, NtAlertThreadByThreadId, 8 ) \
SYSCALL_ENTRY( 0x0009, NtAllocateLocallyUniqueId, 8 ) \
SYSCALL_ENTRY( 0x000a, NtAllocateUuids, 32 ) \
SYSCALL_ENTRY( 0x000b, NtAllocateVirtualMemory, 48 ) \
SYSCALL_ENTRY( 0x000c, NtAllocateVirtualMemoryEx, 56 ) \
SYSCALL_ENTRY( 0x000d, NtAreMappedFilesTheSame, 16 ) \
SYSCALL_ENTRY( 0x000e, NtAssignProcessToJobObject, 16 ) \
SYSCALL_ENTRY( 0x000f, NtCallbackReturn, 24 ) \
SYSCALL_ENTRY( 0x0010, NtCancelIoFile, 16 ) \
SYSCALL_ENTRY( 0x0011, NtCancelIoFileEx, 24 ) \
SYSCALL_ENTRY( 0x0012, NtCancelSynchronousIoFile, 24 ) \
SYSCALL_ENTRY( 0x0013, NtCancelTimer, 16 ) \
SYSCALL_ENTRY( 0x0014, NtClearEvent, 8 ) \
SYSCALL_ENTRY( 0x0015, NtClose, 8 ) \
SYSCALL_ENTRY( 0x0016, NtCommitTransaction, 16 ) \
SYSCALL_ENTRY( 0x0017, NtCompareObjects, 16 ) \
SYSCALL_ENTRY( 0x0018, NtCompareTokens, 24 ) \
SYSCALL_ENTRY( 0x0019, NtCompleteConnectPort, 8 ) \
SYSCALL_ENTRY( 0x001a, NtConnectPort, 64 ) \
SYSCALL_ENTRY( 0x001b, NtContinue, 16 ) \
SYSCALL_ENTRY( 0x001c, NtCreateDebugObject, 32 ) \
SYSCALL_ENTRY( 0x001d, NtCreateDirectoryObject, 24 ) \
SYSCALL_ENTRY( 0x001e, NtCreateEvent, 40 ) \
SYSCALL_ENTRY( 0x001f, NtCreateFile, 88 ) \
SYSCALL_ENTRY( 0x0020, NtCreateIoCompletion, 32 ) \
SYSCALL_ENTRY( 0x0021, NtCreateJobObject, 24 ) \
SYSCALL_ENTRY( 0x0022, NtCreateKey, 56 ) \
SYSCALL_ENTRY( 0x0023, NtCreateKeyTransacted, 64 ) \
SYSCALL_ENTRY( 0x0024, NtCreateKeyedEvent, 32 ) \
SYSCALL_ENTRY( 0x0025, NtCreateLowBoxToken, 72 ) \
SYSCALL_ENTRY( 0x0026, NtCreateMailslotFile, 64 ) \
SYSCALL_ENTRY( 0x0027, NtCreateMutant, 32 ) \
SYSCALL_ENTRY( 0x0028, NtCreateNamedPipeFile, 112 ) \
SYSCALL_ENTRY( 0x0029, NtCreatePagingFile, 32 ) \
SYSCALL_ENTRY( 0x002a, NtCreatePort, 40 ) \
SYSCALL_ENTRY( 0x002b, NtCreateSection, 56 ) \
SYSCALL_ENTRY( 0x002c, NtCreateSemaphore, 40 ) \
SYSCALL_ENTRY( 0x002d, NtCreateSymbolicLinkObject, 32 ) \
SYSCALL_ENTRY( 0x002e, NtCreateThread, 64 ) \
SYSCALL_ENTRY( 0x002f, NtCreateThreadEx, 88 ) \
SYSCALL_ENTRY( 0x0030, NtCreateTimer, 32 ) \
SYSCALL_ENTRY( 0x0031, NtCreateToken, 104 ) \
SYSCALL_ENTRY( 0x0032, NtCreateTransaction, 80 ) \
SYSCALL_ENTRY( 0x0033, NtCreateUserProcess, 88 ) \
SYSCALL_ENTRY( 0x0034, NtDebugActiveProcess, 16 ) \
SYSCALL_ENTRY( 0x0035, NtDebugContinue, 24 ) \
SYSCALL_ENTRY( 0x0036, NtDelayExecution, 16 ) \
SYSCALL_ENTRY( 0x0037, NtDeleteAtom, 8 ) \
SYSCALL_ENTRY( 0x0038, NtDeleteFile, 8 ) \
SYSCALL_ENTRY( 0x0039, NtDeleteKey, 8 ) \
SYSCALL_ENTRY( 0x003a, NtDeleteValueKey, 16 ) \
SYSCALL_ENTRY( 0x003b, NtDeviceIoControlFile, 80 ) \
SYSCALL_ENTRY( 0x003c, NtDisplayString, 8 ) \
SYSCALL_ENTRY( 0x003d, NtDuplicateObject, 56 ) \
SYSCALL_ENTRY( 0x003e, NtDuplicateToken, 48 ) \
SYSCALL_ENTRY( 0x003f, NtEnumerateKey, 48 ) \
SYSCALL_ENTRY( 0x0040, NtEnumerateValueKey, 48 ) \
SYSCALL_ENTRY( 0x0041, NtFilterToken, 48 ) \
SYSCALL_ENTRY( 0x0042, NtFindAtom, 24 ) \
SYSCALL_ENTRY( 0x0043, NtFlushBuffersFile, 16 ) \
SYSCALL_ENTRY( 0x0044, NtFlushInstructionCache, 24 ) \
SYSCALL_ENTRY( 0x0045, NtFlushKey, 8 ) \
SYSCALL_ENTRY( 0x0046, NtFlushProcessWriteBuffers, 0 ) \
SYSCALL_ENTRY( 0x0047, NtFlushVirtualMemory, 32 ) \
SYSCALL_ENTRY( 0x0048, NtFreeVirtualMemory, 32 ) \
SYSCALL_ENTRY( 0x0049, NtFsControlFile, 80 ) \
SYSCALL_ENTRY( 0x004a, NtGetContextThread, 16 ) \
SYSCALL_ENTRY( 0x004b, NtGetCurrentProcessorNumber, 0 ) \
SYSCALL_ENTRY( 0x004c, NtGetNextThread, 48 ) \
SYSCALL_ENTRY( 0x004d, NtGetNlsSectionPtr, 40 ) \
SYSCALL_ENTRY( 0x004e, NtGetWriteWatch, 56 ) \
SYSCALL_ENTRY( 0x004f, NtImpersonateAnonymousToken, 8 ) \
SYSCALL_ENTRY( 0x0050, NtInitializeNlsFiles, 24 ) \
SYSCALL_ENTRY( 0x0051, NtInitiatePowerAction, 32 ) \
SYSCALL_ENTRY( 0x0052, NtIsProcessInJob, 16 ) \
SYSCALL_ENTRY( 0x0053, NtListenPort, 16 ) \
SYSCALL_ENTRY( 0x0054, NtLoadDriver, 8 ) \
SYSCALL_ENTRY( 0x0055, NtLoadKey, 16 ) \
SYSCALL_ENTRY( 0x0056, NtLoadKey2, 24 ) \
SYSCALL_ENTRY( 0x0057, NtLoadKeyEx, 64 ) \
SYSCALL_ENTRY( 0x0058, NtLockFile, 80 ) \
SYSCALL_ENTRY( 0x0059, NtLockVirtualMemory, 32 ) \
SYSCALL_ENTRY( 0x005a, NtMakeTemporaryObject, 8 ) \
SYSCALL_ENTRY( 0x005b, NtMapViewOfSection, 80 ) \
SYSCALL_ENTRY( 0x005c, NtMapViewOfSectionEx, 72 ) \
SYSCALL_ENTRY( 0x005d, NtNotifyChangeDirectoryFile, 72 ) \
SYSCALL_ENTRY( 0x005e, NtNotifyChangeKey, 80 ) \
SYSCALL_ENTRY( 0x005f, NtNotifyChangeMultipleKeys, 96 ) \
SYSCALL_ENTRY( 0x0060, NtOpenDirectoryObject, 24 ) \
SYSCALL_ENTRY( 0x0061, NtOpenEvent, 24 ) \
SYSCALL_ENTRY( 0x0062, NtOpenFile, 48 ) \
SYSCALL_ENTRY( 0x0063, NtOpenIoCompletion, 24 ) \
SYSCALL_ENTRY( 0x0064, NtOpenJobObject, 24 ) \
SYSCALL_ENTRY( 0x0065, NtOpenKey, 24 ) \
SYSCALL_ENTRY( 0x0066, NtOpenKeyEx, 32 ) \
SYSCALL_ENTRY( 0x0067, NtOpenKeyTransacted, 32 ) \
SYSCALL_ENTRY( 0x0068, NtOpenKeyTransactedEx, 40 ) \
SYSCALL_ENTRY( 0x0069, NtOpenKeyedEvent, 24 ) \
SYSCALL_ENTRY( 0x006a, NtOpenMutant, 24 ) \
SYSCALL_ENTRY( 0x006b, NtOpenProcess, 32 ) \
SYSCALL_ENTRY( 0x006c, NtOpenProcessToken, 24 ) \
SYSCALL_ENTRY( 0x006d, NtOpenProcessTokenEx, 32 ) \
SYSCALL_ENTRY( 0x006e, NtOpenSection, 24 ) \
SYSCALL_ENTRY( 0x006f, NtOpenSemaphore, 24 ) \
SYSCALL_ENTRY( 0x0070, NtOpenSymbolicLinkObject, 24 ) \
SYSCALL_ENTRY( 0x0071, NtOpenThread, 32 ) \
SYSCALL_ENTRY( 0x0072, NtOpenThreadToken, 32 ) \
SYSCALL_ENTRY( 0x0073, NtOpenThreadTokenEx, 40 ) \
SYSCALL_ENTRY( 0x0074, NtOpenTimer, 24 ) \
SYSCALL_ENTRY( 0x0075, NtPowerInformation, 40 ) \
SYSCALL_ENTRY( 0x0076, NtPrivilegeCheck, 24 ) \
SYSCALL_ENTRY( 0x0077, NtProtectVirtualMemory, 40 ) \
SYSCALL_ENTRY( 0x0078, NtPulseEvent, 16 ) \
SYSCALL_ENTRY( 0x0079, NtQueryAttributesFile, 16 ) \
SYSCALL_ENTRY( 0x007a, NtQueryDefaultLocale, 16 ) \
SYSCALL_ENTRY( 0x007b, NtQueryDefaultUILanguage, 8 ) \
SYSCALL_ENTRY( 0x007c, NtQueryDirectoryFile, 88 ) \
SYSCALL_ENTRY( 0x007d, NtQueryDirectoryObject, 56 ) \
SYSCALL_ENTRY( 0x007e, NtQueryEaFile, 72 ) \
SYSCALL_ENTRY( 0x007f, NtQueryEvent, 40 ) \
SYSCALL_ENTRY( 0x0080, NtQueryFullAttributesFile, 16 ) \
SYSCALL_ENTRY( 0x0081, NtQueryInformationAtom, 40 ) \
SYSCALL_ENTRY( 0x0082, NtQueryInformationFile, 40 ) \
SYSCALL_ENTRY( 0x0083, NtQueryInformationJobObject, 40 ) \
SYSCALL_ENTRY( 0x0084, NtQueryInformationProcess, 40 ) \
SYSCALL_ENTRY( 0x0085, NtQueryInformationThread, 40 ) \
SYSCALL_ENTRY( 0x0086, NtQueryInformationToken, 40 ) \
SYSCALL_ENTRY( 0x0087, NtQueryInstallUILanguage, 8 ) \
SYSCALL_ENTRY( 0x0088, NtQueryIoCompletion, 40 ) \
SYSCALL_ENTRY( 0x0089, NtQueryKey, 40 ) \
SYSCALL_ENTRY( 0x008a, NtQueryLicenseValue, 40 ) \
SYSCALL_ENTRY( 0x008b, NtQueryMultipleValueKey, 48 ) \
SYSCALL_ENTRY( 0x008c, NtQueryMutant, 40 ) \
SYSCALL_ENTRY( 0x008d, NtQueryObject, 40 ) \
SYSCALL_ENTRY( 0x008e, NtQueryPerformanceCounter, 16 ) \
SYSCALL_ENTRY( 0x008f, NtQuerySection, 40 ) \
SYSCALL_ENTRY( 0x0090, NtQuerySecurityObject, 40 ) \
SYSCALL_ENTRY( 0x0091, NtQuerySemaphore, 40 ) \
SYSCALL_ENTRY( 0x0092, NtQuerySymbolicLinkObject, 24 ) \
SYSCALL_ENTRY( 0x0093, NtQuerySystemEnvironmentValue, 32 ) \
SYSCALL_ENTRY( 0x0094, NtQuerySystemEnvironmentValueEx, 40 ) \
SYSCALL_ENTRY( 0x0095, NtQuerySystemInformation, 32 ) \
SYSCALL_ENTRY( 0x0096, NtQuerySystemInformationEx, 48 ) \
SYSCALL_ENTRY( 0x0097, NtQuerySystemTime, 8 ) \
SYSCALL_ENTRY( 0x0098, NtQueryTimer, 40 ) \
SYSCALL_ENTRY( 0x0099, NtQueryTimerResolution, 24 ) \
SYSCALL_ENTRY( 0x009a, NtQueryValueKey, 48 ) \
SYSCALL_ENTRY( 0x009b, NtQueryVirtualMemory, 48 ) \
SYSCALL_ENTRY( 0x009c, NtQueryVolumeInformationFile, 40 ) \
SYSCALL_ENTRY( 0x009d, NtQueueApcThread, 40 ) \
SYSCALL_ENTRY( 0x009e, NtRaiseException, 24 ) \
SYSCALL_ENTRY( 0x009f, NtRaiseHardError, 48 ) \
SYSCALL_ENTRY( 0x00a0, NtReadFile, 72 ) \
SYSCALL_ENTRY( 0x00a1, NtReadFileScatter, 72 ) \
SYSCALL_ENTRY( 0x00a2, NtReadVirtualMemory, 40 ) \
SYSCALL_ENTRY( 0x00a3, NtRegisterThreadTerminatePort, 8 ) \
SYSCALL_ENTRY( 0x00a4, NtReleaseKeyedEvent, 32 ) \
SYSCALL_ENTRY( 0x00a5, NtReleaseMutant, 16 ) \
SYSCALL_ENTRY( 0x00a6, NtReleaseSemaphore, 24 ) \
SYSCALL_ENTRY( 0x00a7, NtRemoveIoCompletion, 40 ) \
SYSCALL_ENTRY( 0x00a8, NtRemoveIoCompletionEx, 48 ) \
SYSCALL_ENTRY( 0x00a9, NtRemoveProcessDebug, 16 ) \
SYSCALL_ENTRY( 0x00aa, NtRenameKey, 16 ) \
SYSCALL_ENTRY( 0x00ab, NtReplaceKey, 24 ) \
SYSCALL_ENTRY( 0x00ac, NtReplyWaitReceivePort, 32 ) \
SYSCALL_ENTRY( 0x00ad, NtRequestWaitReplyPort, 24 ) \
SYSCALL_ENTRY( 0x00ae, NtResetEvent, 16 ) \
SYSCALL_ENTRY( 0x00af, NtResetWriteWatch, 24 ) \
SYSCALL_ENTRY( 0x00b0, NtRestoreKey, 24 ) \
SYSCALL_ENTRY( 0x00b1, NtResumeProcess, 8 ) \
SYSCALL_ENTRY( 0x00b2, NtResumeThread, 16 ) \
SYSCALL_ENTRY( 0x00b3, NtRollbackTransaction, 16 ) \
SYSCALL_ENTRY( 0x00b4, NtSaveKey, 16 ) \
SYSCALL_ENTRY( 0x00b5, NtSecureConnectPort, 72 ) \
SYSCALL_ENTRY( 0x00b6, NtSetContextThread, 16 ) \
SYSCALL_ENTRY( 0x00b7, NtSetDebugFilterState, 24 ) \
SYSCALL_ENTRY( 0x00b8, NtSetDefaultLocale, 16 ) \
SYSCALL_ENTRY( 0x00b9, NtSetDefaultUILanguage, 8 ) \
SYSCALL_ENTRY( 0x00ba, NtSetEaFile, 32 ) \
SYSCALL_ENTRY( 0x00bb, NtSetEvent, 16 ) \
SYSCALL_ENTRY( 0x00bc, NtSetInformationDebugObject, 40 ) \
SYSCALL_ENTRY( 0x00bd, NtSetInformationFile, 40 ) \
SYSCALL_ENTRY( 0x00be, NtSetInformationJobObject, 32 ) \
SYSCALL_ENTRY( 0x00bf, NtSetInformationKey, 32 ) \
SYSCALL_ENTRY( 0x00c0, NtSetInformationObject, 32 ) \
SYSCALL_ENTRY( 0x00c1, NtSetInformationProcess, 32 ) \
SYSCALL_ENTRY( 0x00c2, NtSetInformationThread, 32 ) \
SYSCALL_ENTRY( 0x00c3, NtSetInformationToken, 32 ) \
SYSCALL_ENTRY( 0x00c4, NtSetInformationVirtualMemory, 48 ) \
SYSCALL_ENTRY( 0x00c5, NtSetIntervalProfile, 16 ) \
SYSCALL_ENTRY( 0x00c6, NtSetIoCompletion, 40 ) \
SYSCALL_ENTRY( 0x00c7, NtSetLdtEntries, 32 ) \
SYSCALL_ENTRY( 0x00c8, NtSetSecurityObject, 24 ) \
SYSCALL_ENTRY( 0x00c9, NtSetSystemInformation, 24 ) \
SYSCALL_ENTRY( 0x00ca, NtSetSystemTime, 16 ) \
SYSCALL_ENTRY( 0x00cb, NtSetThreadExecutionState, 16 ) \
SYSCALL_ENTRY( 0x00cc, NtSetTimer, 56 ) \
SYSCALL_ENTRY( 0x00cd, NtSetTimerResolution, 24 ) \
SYSCALL_ENTRY( 0x00ce, NtSetValueKey, 48 ) \
SYSCALL_ENTRY( 0x00cf, NtSetVolumeInformationFile, 40 ) \
SYSCALL_ENTRY( 0x00d0, NtShutdownSystem, 8 ) \
SYSCALL_ENTRY( 0x00d1, NtSignalAndWaitForSingleObject, 32 ) \
SYSCALL_ENTRY( 0x00d2, NtSuspendProcess, 8 ) \
SYSCALL_ENTRY( 0x00d3, NtSuspendThread, 16 ) \
SYSCALL_ENTRY( 0x00d4, NtSystemDebugControl, 48 ) \
SYSCALL_ENTRY( 0x00d5, NtTerminateJobObject, 16 ) \
SYSCALL_ENTRY( 0x00d6, NtTerminateProcess, 16 ) \
SYSCALL_ENTRY( 0x00d7, NtTerminateThread, 16 ) \
SYSCALL_ENTRY( 0x00d8, NtTestAlert, 0 ) \
SYSCALL_ENTRY( 0x00d9, NtTraceControl, 48 ) \
SYSCALL_ENTRY( 0x00da, NtUnloadDriver, 8 ) \
SYSCALL_ENTRY( 0x00db, NtUnloadKey, 8 ) \
SYSCALL_ENTRY( 0x00dc, NtUnlockFile, 40 ) \
SYSCALL_ENTRY( 0x00dd, NtUnlockVirtualMemory, 32 ) \
SYSCALL_ENTRY( 0x00de, NtUnmapViewOfSection, 16 ) \
SYSCALL_ENTRY( 0x00df, NtUnmapViewOfSectionEx, 24 ) \
SYSCALL_ENTRY( 0x00e0, NtWaitForAlertByThreadId, 16 ) \
SYSCALL_ENTRY( 0x00e1, NtWaitForDebugEvent, 32 ) \
SYSCALL_ENTRY( 0x00e2, NtWaitForKeyedEvent, 32 ) \
SYSCALL_ENTRY( 0x00e3, NtWaitForMultipleObjects, 40 ) \
SYSCALL_ENTRY( 0x00e4, NtWaitForSingleObject, 24 ) \
SYSCALL_ENTRY( 0x00e5, NtWriteFile, 72 ) \
SYSCALL_ENTRY( 0x00e6, NtWriteFileGather, 72 ) \
SYSCALL_ENTRY( 0x00e7, NtWriteVirtualMemory, 40 ) \
SYSCALL_ENTRY( 0x00e8, NtYieldExecution, 0 ) \
SYSCALL_ENTRY( 0x00e9, wine_nt_to_unix_file_name, 32 ) \
SYSCALL_ENTRY( 0x00ea, wine_unix_to_nt_file_name, 24 )