mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
make_specfiles: Generate a list of syscalls from the corresponding spec files.
This commit is contained in:
parent
a7ec901ea3
commit
401288a78d
3 changed files with 1362 additions and 0 deletions
478
dlls/ntdll/ntsyscalls.h
Normal file
478
dlls/ntdll/ntsyscalls.h
Normal file
|
@ -0,0 +1,478 @@
|
||||||
|
/* 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, NtCompleteConnectPort, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0019, NtConnectPort, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001a, NtContinue, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001b, NtCreateDebugObject, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001c, NtCreateDirectoryObject, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001d, NtCreateEvent, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001e, NtCreateFile, 44 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001f, NtCreateIoCompletion, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0020, NtCreateJobObject, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0021, NtCreateKey, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0022, NtCreateKeyTransacted, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0023, NtCreateKeyedEvent, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0024, NtCreateLowBoxToken, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0025, NtCreateMailslotFile, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0026, NtCreateMutant, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0027, NtCreateNamedPipeFile, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0028, NtCreatePagingFile, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0029, NtCreatePort, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002a, NtCreateSection, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002b, NtCreateSemaphore, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002c, NtCreateSymbolicLinkObject, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002d, NtCreateThread, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002e, NtCreateThreadEx, 44 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002f, NtCreateTimer, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0030, NtCreateToken, 52 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0031, NtCreateTransaction, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0032, NtCreateUserProcess, 44 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0033, NtDebugActiveProcess, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0034, NtDebugContinue, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0035, NtDelayExecution, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0036, NtDeleteAtom, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0037, NtDeleteFile, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0038, NtDeleteKey, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0039, NtDeleteValueKey, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003a, NtDeviceIoControlFile, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003b, NtDisplayString, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003c, NtDuplicateObject, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003d, NtDuplicateToken, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003e, NtEnumerateKey, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003f, NtEnumerateValueKey, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0040, NtFilterToken, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0041, NtFindAtom, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0042, NtFlushBuffersFile, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0043, NtFlushInstructionCache, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0044, NtFlushKey, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0045, NtFlushProcessWriteBuffers, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0046, NtFlushVirtualMemory, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0047, NtFreeVirtualMemory, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0048, NtFsControlFile, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0049, NtGetContextThread, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004a, NtGetCurrentProcessorNumber, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004b, NtGetNextThread, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004c, NtGetNlsSectionPtr, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004d, NtGetWriteWatch, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004e, NtImpersonateAnonymousToken, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004f, NtInitializeNlsFiles, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0050, NtInitiatePowerAction, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0051, NtIsProcessInJob, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0052, NtListenPort, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0053, NtLoadDriver, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0054, NtLoadKey, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0055, NtLoadKey2, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0056, NtLoadKeyEx, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0057, NtLockFile, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0058, NtLockVirtualMemory, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0059, NtMakeTemporaryObject, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005a, NtMapViewOfSection, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005b, NtMapViewOfSectionEx, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005c, NtNotifyChangeDirectoryFile, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005d, NtNotifyChangeKey, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005e, NtNotifyChangeMultipleKeys, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005f, NtOpenDirectoryObject, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0060, NtOpenEvent, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0061, NtOpenFile, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0062, NtOpenIoCompletion, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0063, NtOpenJobObject, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0064, NtOpenKey, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0065, NtOpenKeyEx, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0066, NtOpenKeyTransacted, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0067, NtOpenKeyTransactedEx, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0068, NtOpenKeyedEvent, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0069, NtOpenMutant, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006a, NtOpenProcess, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006b, NtOpenProcessToken, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006c, NtOpenProcessTokenEx, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006d, NtOpenSection, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006e, NtOpenSemaphore, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006f, NtOpenSymbolicLinkObject, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0070, NtOpenThread, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0071, NtOpenThreadToken, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0072, NtOpenThreadTokenEx, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0073, NtOpenTimer, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0074, NtPowerInformation, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0075, NtPrivilegeCheck, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0076, NtProtectVirtualMemory, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0077, NtPulseEvent, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0078, NtQueryAttributesFile, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0079, NtQueryDefaultLocale, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007a, NtQueryDefaultUILanguage, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007b, NtQueryDirectoryFile, 44 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007c, NtQueryDirectoryObject, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007d, NtQueryEaFile, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007e, NtQueryEvent, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007f, NtQueryFullAttributesFile, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0080, NtQueryInformationAtom, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0081, NtQueryInformationFile, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0082, NtQueryInformationJobObject, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0083, NtQueryInformationProcess, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0084, NtQueryInformationThread, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0085, NtQueryInformationToken, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0086, NtQueryInstallUILanguage, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0087, NtQueryIoCompletion, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0088, NtQueryKey, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0089, NtQueryLicenseValue, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008a, NtQueryMultipleValueKey, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008b, NtQueryMutant, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008c, NtQueryObject, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008d, NtQueryPerformanceCounter, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008e, NtQuerySection, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008f, NtQuerySecurityObject, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0090, NtQuerySemaphore, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0091, NtQuerySymbolicLinkObject, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0092, NtQuerySystemEnvironmentValue, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0093, NtQuerySystemEnvironmentValueEx, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0094, NtQuerySystemInformation, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0095, NtQuerySystemInformationEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0096, NtQuerySystemTime, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0097, NtQueryTimer, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0098, NtQueryTimerResolution, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0099, NtQueryValueKey, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009a, NtQueryVirtualMemory, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009b, NtQueryVolumeInformationFile, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009c, NtQueueApcThread, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009d, NtRaiseException, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009e, NtRaiseHardError, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009f, NtReadFile, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a0, NtReadFileScatter, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a1, NtReadVirtualMemory, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a2, NtRegisterThreadTerminatePort, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a3, NtReleaseKeyedEvent, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a4, NtReleaseMutant, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a5, NtReleaseSemaphore, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a6, NtRemoveIoCompletion, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a7, NtRemoveIoCompletionEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a8, NtRemoveProcessDebug, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a9, NtRenameKey, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00aa, NtReplaceKey, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ab, NtReplyWaitReceivePort, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ac, NtRequestWaitReplyPort, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ad, NtResetEvent, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ae, NtResetWriteWatch, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00af, NtRestoreKey, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b0, NtResumeProcess, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b1, NtResumeThread, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b2, NtRollbackTransaction, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b3, NtSaveKey, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b4, NtSecureConnectPort, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b5, NtSetContextThread, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b6, NtSetDebugFilterState, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b7, NtSetDefaultLocale, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b8, NtSetDefaultUILanguage, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b9, NtSetEaFile, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ba, NtSetEvent, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bb, NtSetInformationDebugObject, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bc, NtSetInformationFile, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bd, NtSetInformationJobObject, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00be, NtSetInformationKey, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bf, NtSetInformationObject, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c0, NtSetInformationProcess, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c1, NtSetInformationThread, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c2, NtSetInformationToken, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c3, NtSetInformationVirtualMemory, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c4, NtSetIntervalProfile, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c5, NtSetIoCompletion, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c6, NtSetLdtEntries, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c7, NtSetSecurityObject, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c8, NtSetSystemInformation, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c9, NtSetSystemTime, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ca, NtSetThreadExecutionState, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cb, NtSetTimer, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cc, NtSetTimerResolution, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cd, NtSetValueKey, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ce, NtSetVolumeInformationFile, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cf, NtShutdownSystem, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d0, NtSignalAndWaitForSingleObject, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d1, NtSuspendProcess, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d2, NtSuspendThread, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d3, NtSystemDebugControl, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d4, NtTerminateJobObject, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d5, NtTerminateProcess, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d6, NtTerminateThread, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d7, NtTestAlert, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d8, NtTraceControl, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d9, NtUnloadDriver, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00da, NtUnloadKey, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00db, NtUnlockFile, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00dc, NtUnlockVirtualMemory, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00dd, NtUnmapViewOfSection, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00de, NtUnmapViewOfSectionEx, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00df, NtWaitForAlertByThreadId, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e0, NtWaitForDebugEvent, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e1, NtWaitForKeyedEvent, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e2, NtWaitForMultipleObjects, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e3, NtWaitForSingleObject, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e4, NtWow64AllocateVirtualMemory64, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e5, NtWow64GetNativeSystemInformation, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e6, NtWow64IsProcessorFeaturePresent, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e7, NtWow64ReadVirtualMemory64, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e8, NtWow64WriteVirtualMemory64, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e9, NtWriteFile, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ea, NtWriteFileGather, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00eb, NtWriteVirtualMemory, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ec, NtYieldExecution, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ed, wine_nt_to_unix_file_name, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ee, 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, NtCompleteConnectPort, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0019, NtConnectPort, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001a, NtContinue, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001b, NtCreateDebugObject, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001c, NtCreateDirectoryObject, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001d, NtCreateEvent, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001e, NtCreateFile, 88 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001f, NtCreateIoCompletion, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0020, NtCreateJobObject, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0021, NtCreateKey, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0022, NtCreateKeyTransacted, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0023, NtCreateKeyedEvent, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0024, NtCreateLowBoxToken, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0025, NtCreateMailslotFile, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0026, NtCreateMutant, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0027, NtCreateNamedPipeFile, 112 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0028, NtCreatePagingFile, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0029, NtCreatePort, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002a, NtCreateSection, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002b, NtCreateSemaphore, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002c, NtCreateSymbolicLinkObject, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002d, NtCreateThread, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002e, NtCreateThreadEx, 88 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002f, NtCreateTimer, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0030, NtCreateToken, 104 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0031, NtCreateTransaction, 80 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0032, NtCreateUserProcess, 88 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0033, NtDebugActiveProcess, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0034, NtDebugContinue, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0035, NtDelayExecution, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0036, NtDeleteAtom, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0037, NtDeleteFile, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0038, NtDeleteKey, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0039, NtDeleteValueKey, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003a, NtDeviceIoControlFile, 80 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003b, NtDisplayString, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003c, NtDuplicateObject, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003d, NtDuplicateToken, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003e, NtEnumerateKey, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003f, NtEnumerateValueKey, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0040, NtFilterToken, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0041, NtFindAtom, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0042, NtFlushBuffersFile, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0043, NtFlushInstructionCache, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0044, NtFlushKey, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0045, NtFlushProcessWriteBuffers, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0046, NtFlushVirtualMemory, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0047, NtFreeVirtualMemory, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0048, NtFsControlFile, 80 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0049, NtGetContextThread, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004a, NtGetCurrentProcessorNumber, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004b, NtGetNextThread, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004c, NtGetNlsSectionPtr, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004d, NtGetWriteWatch, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004e, NtImpersonateAnonymousToken, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004f, NtInitializeNlsFiles, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0050, NtInitiatePowerAction, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0051, NtIsProcessInJob, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0052, NtListenPort, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0053, NtLoadDriver, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0054, NtLoadKey, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0055, NtLoadKey2, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0056, NtLoadKeyEx, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0057, NtLockFile, 80 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0058, NtLockVirtualMemory, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0059, NtMakeTemporaryObject, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005a, NtMapViewOfSection, 80 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005b, NtMapViewOfSectionEx, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005c, NtNotifyChangeDirectoryFile, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005d, NtNotifyChangeKey, 80 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005e, NtNotifyChangeMultipleKeys, 96 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005f, NtOpenDirectoryObject, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0060, NtOpenEvent, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0061, NtOpenFile, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0062, NtOpenIoCompletion, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0063, NtOpenJobObject, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0064, NtOpenKey, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0065, NtOpenKeyEx, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0066, NtOpenKeyTransacted, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0067, NtOpenKeyTransactedEx, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0068, NtOpenKeyedEvent, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0069, NtOpenMutant, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006a, NtOpenProcess, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006b, NtOpenProcessToken, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006c, NtOpenProcessTokenEx, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006d, NtOpenSection, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006e, NtOpenSemaphore, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006f, NtOpenSymbolicLinkObject, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0070, NtOpenThread, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0071, NtOpenThreadToken, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0072, NtOpenThreadTokenEx, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0073, NtOpenTimer, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0074, NtPowerInformation, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0075, NtPrivilegeCheck, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0076, NtProtectVirtualMemory, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0077, NtPulseEvent, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0078, NtQueryAttributesFile, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0079, NtQueryDefaultLocale, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007a, NtQueryDefaultUILanguage, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007b, NtQueryDirectoryFile, 88 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007c, NtQueryDirectoryObject, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007d, NtQueryEaFile, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007e, NtQueryEvent, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007f, NtQueryFullAttributesFile, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0080, NtQueryInformationAtom, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0081, NtQueryInformationFile, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0082, NtQueryInformationJobObject, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0083, NtQueryInformationProcess, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0084, NtQueryInformationThread, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0085, NtQueryInformationToken, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0086, NtQueryInstallUILanguage, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0087, NtQueryIoCompletion, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0088, NtQueryKey, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0089, NtQueryLicenseValue, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008a, NtQueryMultipleValueKey, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008b, NtQueryMutant, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008c, NtQueryObject, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008d, NtQueryPerformanceCounter, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008e, NtQuerySection, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008f, NtQuerySecurityObject, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0090, NtQuerySemaphore, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0091, NtQuerySymbolicLinkObject, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0092, NtQuerySystemEnvironmentValue, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0093, NtQuerySystemEnvironmentValueEx, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0094, NtQuerySystemInformation, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0095, NtQuerySystemInformationEx, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0096, NtQuerySystemTime, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0097, NtQueryTimer, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0098, NtQueryTimerResolution, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0099, NtQueryValueKey, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009a, NtQueryVirtualMemory, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009b, NtQueryVolumeInformationFile, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009c, NtQueueApcThread, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009d, NtRaiseException, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009e, NtRaiseHardError, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009f, NtReadFile, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a0, NtReadFileScatter, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a1, NtReadVirtualMemory, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a2, NtRegisterThreadTerminatePort, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a3, NtReleaseKeyedEvent, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a4, NtReleaseMutant, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a5, NtReleaseSemaphore, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a6, NtRemoveIoCompletion, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a7, NtRemoveIoCompletionEx, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a8, NtRemoveProcessDebug, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a9, NtRenameKey, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00aa, NtReplaceKey, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ab, NtReplyWaitReceivePort, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ac, NtRequestWaitReplyPort, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ad, NtResetEvent, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ae, NtResetWriteWatch, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00af, NtRestoreKey, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b0, NtResumeProcess, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b1, NtResumeThread, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b2, NtRollbackTransaction, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b3, NtSaveKey, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b4, NtSecureConnectPort, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b5, NtSetContextThread, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b6, NtSetDebugFilterState, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b7, NtSetDefaultLocale, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b8, NtSetDefaultUILanguage, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b9, NtSetEaFile, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ba, NtSetEvent, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bb, NtSetInformationDebugObject, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bc, NtSetInformationFile, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bd, NtSetInformationJobObject, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00be, NtSetInformationKey, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bf, NtSetInformationObject, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c0, NtSetInformationProcess, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c1, NtSetInformationThread, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c2, NtSetInformationToken, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c3, NtSetInformationVirtualMemory, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c4, NtSetIntervalProfile, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c5, NtSetIoCompletion, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c6, NtSetLdtEntries, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c7, NtSetSecurityObject, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c8, NtSetSystemInformation, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c9, NtSetSystemTime, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ca, NtSetThreadExecutionState, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cb, NtSetTimer, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cc, NtSetTimerResolution, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cd, NtSetValueKey, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ce, NtSetVolumeInformationFile, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cf, NtShutdownSystem, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d0, NtSignalAndWaitForSingleObject, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d1, NtSuspendProcess, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d2, NtSuspendThread, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d3, NtSystemDebugControl, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d4, NtTerminateJobObject, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d5, NtTerminateProcess, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d6, NtTerminateThread, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d7, NtTestAlert, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d8, NtTraceControl, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d9, NtUnloadDriver, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00da, NtUnloadKey, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00db, NtUnlockFile, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00dc, NtUnlockVirtualMemory, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00dd, NtUnmapViewOfSection, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00de, NtUnmapViewOfSectionEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00df, NtWaitForAlertByThreadId, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e0, NtWaitForDebugEvent, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e1, NtWaitForKeyedEvent, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e2, NtWaitForMultipleObjects, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e3, NtWaitForSingleObject, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e4, NtWriteFile, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e5, NtWriteFileGather, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e6, NtWriteVirtualMemory, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e7, NtYieldExecution, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e8, wine_nt_to_unix_file_name, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e9, wine_unix_to_nt_file_name, 24 )
|
807
dlls/win32u/win32syscalls.h
Normal file
807
dlls/win32u/win32syscalls.h
Normal file
|
@ -0,0 +1,807 @@
|
||||||
|
/* Automatically generated by tools/make_specfiles */
|
||||||
|
|
||||||
|
#define ALL_SYSCALLS32 \
|
||||||
|
SYSCALL_ENTRY( 0x0000, NtGdiAbortDoc, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0001, NtGdiAbortPath, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0002, NtGdiAddFontMemResourceEx, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0003, NtGdiAddFontResourceW, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0004, NtGdiAlphaBlend, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0005, NtGdiAngleArc, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0006, NtGdiArcInternal, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0007, NtGdiBeginPath, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0008, NtGdiBitBlt, 44 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0009, NtGdiCloseFigure, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000a, NtGdiCombineRgn, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000b, NtGdiComputeXformCoefficients, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000c, NtGdiCreateBitmap, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000d, NtGdiCreateClientObj, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000e, NtGdiCreateCompatibleBitmap, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000f, NtGdiCreateCompatibleDC, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0010, NtGdiCreateDIBBrush, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0011, NtGdiCreateDIBSection, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0012, NtGdiCreateDIBitmapInternal, 44 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0013, NtGdiCreateEllipticRgn, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0014, NtGdiCreateHalftonePalette, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0015, NtGdiCreateHatchBrushInternal, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0016, NtGdiCreateMetafileDC, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0017, NtGdiCreatePaletteInternal, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0018, NtGdiCreatePatternBrushInternal, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0019, NtGdiCreatePen, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001a, NtGdiCreateRectRgn, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001b, NtGdiCreateRoundRectRgn, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001c, NtGdiCreateSolidBrush, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001d, NtGdiDdDDICheckVidPnExclusiveOwnership, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001e, NtGdiDdDDICloseAdapter, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001f, NtGdiDdDDICreateDCFromMemory, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0020, NtGdiDdDDICreateDevice, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0021, NtGdiDdDDIDestroyDCFromMemory, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0022, NtGdiDdDDIDestroyDevice, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0023, NtGdiDdDDIEscape, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0024, NtGdiDdDDIOpenAdapterFromDeviceName, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0025, NtGdiDdDDIOpenAdapterFromHdc, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0026, NtGdiDdDDIOpenAdapterFromLuid, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0027, NtGdiDdDDIQueryAdapterInfo, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0028, NtGdiDdDDIQueryStatistics, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0029, NtGdiDdDDIQueryVideoMemoryInfo, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002a, NtGdiDdDDISetQueuedLimit, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002b, NtGdiDdDDISetVidPnSourceOwner, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002c, NtGdiDeleteClientObj, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002d, NtGdiDeleteObjectApp, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002e, NtGdiDescribePixelFormat, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002f, NtGdiDoPalette, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0030, NtGdiDrawStream, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0031, NtGdiEllipse, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0032, NtGdiEndDoc, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0033, NtGdiEndPage, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0034, NtGdiEndPath, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0035, NtGdiEnumFonts, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0036, NtGdiEqualRgn, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0037, NtGdiExcludeClipRect, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0038, NtGdiExtCreatePen, 44 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0039, NtGdiExtCreateRegion, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003a, NtGdiExtEscape, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003b, NtGdiExtFloodFill, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003c, NtGdiExtGetObjectW, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003d, NtGdiExtSelectClipRgn, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003e, NtGdiExtTextOutW, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003f, NtGdiFillPath, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0040, NtGdiFillRgn, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0041, NtGdiFlattenPath, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0042, NtGdiFlush, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0043, NtGdiFontIsLinked, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0044, NtGdiFrameRgn, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0045, NtGdiGetAndSetDCDword, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0046, NtGdiGetAppClipBox, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0047, NtGdiGetBitmapBits, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0048, NtGdiGetBitmapDimension, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0049, NtGdiGetBoundsRect, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004a, NtGdiGetCharABCWidthsW, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004b, NtGdiGetCharWidthInfo, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004c, NtGdiGetCharWidthW, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004d, NtGdiGetColorAdjustment, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004e, NtGdiGetDCDword, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004f, NtGdiGetDCObject, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0050, NtGdiGetDCPoint, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0051, NtGdiGetDIBitsInternal, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0052, NtGdiGetDeviceCaps, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0053, NtGdiGetDeviceGammaRamp, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0054, NtGdiGetFontData, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0055, NtGdiGetFontFileData, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0056, NtGdiGetFontFileInfo, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0057, NtGdiGetFontUnicodeRanges, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0058, NtGdiGetGlyphIndicesW, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0059, NtGdiGetGlyphOutline, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005a, NtGdiGetKerningPairs, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005b, NtGdiGetNearestColor, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005c, NtGdiGetNearestPaletteIndex, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005d, NtGdiGetOutlineTextMetricsInternalW, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005e, NtGdiGetPath, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005f, NtGdiGetPixel, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0060, NtGdiGetRandomRgn, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0061, NtGdiGetRasterizerCaps, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0062, NtGdiGetRealizationInfo, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0063, NtGdiGetRegionData, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0064, NtGdiGetRgnBox, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0065, NtGdiGetSpoolMessage, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0066, NtGdiGetSystemPaletteUse, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0067, NtGdiGetTextCharsetInfo, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0068, NtGdiGetTextExtentExW, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0069, NtGdiGetTextFaceW, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006a, NtGdiGetTextMetricsW, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006b, NtGdiGetTransform, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006c, NtGdiGradientFill, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006d, NtGdiHfontCreate, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006e, NtGdiIcmBrushInfo, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006f, NtGdiInitSpool, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0070, NtGdiIntersectClipRect, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0071, NtGdiInvertRgn, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0072, NtGdiLineTo, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0073, NtGdiMaskBlt, 52 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0074, NtGdiModifyWorldTransform, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0075, NtGdiMoveTo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0076, NtGdiOffsetClipRgn, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0077, NtGdiOffsetRgn, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0078, NtGdiOpenDCW, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0079, NtGdiPatBlt, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007a, NtGdiPathToRegion, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007b, NtGdiPlgBlt, 44 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007c, NtGdiPolyDraw, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007d, NtGdiPolyPolyDraw, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007e, NtGdiPtInRegion, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007f, NtGdiPtVisible, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0080, NtGdiRectInRegion, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0081, NtGdiRectVisible, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0082, NtGdiRectangle, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0083, NtGdiRemoveFontMemResourceEx, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0084, NtGdiRemoveFontResourceW, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0085, NtGdiResetDC, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0086, NtGdiResizePalette, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0087, NtGdiRestoreDC, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0088, NtGdiRoundRect, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0089, NtGdiSaveDC, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008a, NtGdiScaleViewportExtEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008b, NtGdiScaleWindowExtEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008c, NtGdiSelectBitmap, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008d, NtGdiSelectBrush, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008e, NtGdiSelectClipPath, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008f, NtGdiSelectFont, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0090, NtGdiSelectPen, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0091, NtGdiSetBitmapBits, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0092, NtGdiSetBitmapDimension, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0093, NtGdiSetBoundsRect, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0094, NtGdiSetBrushOrg, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0095, NtGdiSetColorAdjustment, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0096, NtGdiSetDIBitsToDeviceInternal, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0097, NtGdiSetDeviceGammaRamp, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0098, NtGdiSetLayout, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0099, NtGdiSetMagicColors, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009a, NtGdiSetMetaRgn, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009b, NtGdiSetPixel, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009c, NtGdiSetPixelFormat, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009d, NtGdiSetRectRgn, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009e, NtGdiSetSystemPaletteUse, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009f, NtGdiSetTextJustification, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a0, NtGdiSetVirtualResolution, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a1, NtGdiStartDoc, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a2, NtGdiStartPage, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a3, NtGdiStretchBlt, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a4, NtGdiStretchDIBitsInternal, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a5, NtGdiStrokeAndFillPath, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a6, NtGdiStrokePath, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a7, NtGdiSwapBuffers, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a8, NtGdiTransformPoints, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a9, NtGdiTransparentBlt, 44 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00aa, NtGdiUnrealizeObject, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ab, NtGdiUpdateColors, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ac, NtGdiWidenPath, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ad, NtUserActivateKeyboardLayout, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ae, NtUserAddClipboardFormatListener, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00af, NtUserAssociateInputContext, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b0, NtUserAttachThreadInput, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b1, NtUserBeginPaint, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b2, NtUserBuildHimcList, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b3, NtUserBuildHwndList, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b4, NtUserCallHwnd, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b5, NtUserCallHwndParam, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b6, NtUserCallMsgFilter, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b7, NtUserCallNextHookEx, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b8, NtUserCallNoParam, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b9, NtUserCallOneParam, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ba, NtUserCallTwoParam, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bb, NtUserChangeClipboardChain, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bc, NtUserChangeDisplaySettings, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bd, NtUserCheckMenuItem, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00be, NtUserChildWindowFromPointEx, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bf, NtUserClipCursor, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c0, NtUserCloseClipboard, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c1, NtUserCloseDesktop, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c2, NtUserCloseWindowStation, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c3, NtUserCopyAcceleratorTable, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c4, NtUserCountClipboardFormats, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c5, NtUserCreateAcceleratorTable, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c6, NtUserCreateCaret, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c7, NtUserCreateDesktopEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c8, NtUserCreateInputContext, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c9, NtUserCreateWindowEx, 68 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ca, NtUserCreateWindowStation, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cb, NtUserDeferWindowPosAndBand, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cc, NtUserDeleteMenu, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cd, NtUserDestroyAcceleratorTable, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ce, NtUserDestroyCursor, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cf, NtUserDestroyInputContext, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d0, NtUserDestroyMenu, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d1, NtUserDestroyWindow, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d2, NtUserDisableThreadIme, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d3, NtUserDispatchMessage, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d4, NtUserDisplayConfigGetDeviceInfo, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d5, NtUserDragDetect, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d6, NtUserDragObject, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d7, NtUserDrawCaptionTemp, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d8, NtUserDrawIconEx, 36 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d9, NtUserDrawMenuBarTemp, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00da, NtUserEmptyClipboard, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00db, NtUserEnableMenuItem, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00dc, NtUserEnableMouseInPointer, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00dd, NtUserEnableScrollBar, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00de, NtUserEndDeferWindowPosEx, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00df, NtUserEndMenu, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e0, NtUserEndPaint, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e1, NtUserEnumDisplayDevices, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e2, NtUserEnumDisplayMonitors, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e3, NtUserEnumDisplaySettings, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e4, NtUserExcludeUpdateRgn, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e5, NtUserFindExistingCursorIcon, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e6, NtUserFindWindowEx, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e7, NtUserFlashWindowEx, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e8, NtUserGetAncestor, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e9, NtUserGetAsyncKeyState, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ea, NtUserGetAtomName, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00eb, NtUserGetCaretBlinkTime, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ec, NtUserGetCaretPos, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ed, NtUserGetClassInfoEx, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ee, NtUserGetClassName, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ef, NtUserGetClipboardData, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f0, NtUserGetClipboardFormatName, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f1, NtUserGetClipboardOwner, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f2, NtUserGetClipboardSequenceNumber, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f3, NtUserGetClipboardViewer, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f4, NtUserGetCursor, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f5, NtUserGetCursorFrameInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f6, NtUserGetCursorInfo, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f7, NtUserGetDC, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f8, NtUserGetDCEx, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f9, NtUserGetDisplayConfigBufferSizes, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fa, NtUserGetDoubleClickTime, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fb, NtUserGetDpiForMonitor, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fc, NtUserGetForegroundWindow, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fd, NtUserGetGUIThreadInfo, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fe, NtUserGetIconInfo, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ff, NtUserGetIconSize, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0100, NtUserGetInternalWindowPos, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0101, NtUserGetKeyNameText, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0102, NtUserGetKeyState, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0103, NtUserGetKeyboardLayout, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0104, NtUserGetKeyboardLayoutList, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0105, NtUserGetKeyboardLayoutName, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0106, NtUserGetKeyboardState, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0107, NtUserGetLayeredWindowAttributes, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0108, NtUserGetMenuBarInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0109, NtUserGetMenuItemRect, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010a, NtUserGetMessage, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010b, NtUserGetMouseMovePointsEx, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010c, NtUserGetObjectInformation, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010d, NtUserGetOpenClipboardWindow, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010e, NtUserGetPointerInfoList, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010f, NtUserGetPriorityClipboardFormat, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0110, NtUserGetProcessDpiAwarenessContext, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0111, NtUserGetProcessWindowStation, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0112, NtUserGetProp, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0113, NtUserGetQueueStatus, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0114, NtUserGetRawInputBuffer, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0115, NtUserGetRawInputData, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0116, NtUserGetRawInputDeviceInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0117, NtUserGetRawInputDeviceList, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0118, NtUserGetRegisteredRawInputDevices, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0119, NtUserGetScrollBarInfo, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011a, NtUserGetSystemDpiForProcess, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011b, NtUserGetSystemMenu, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011c, NtUserGetThreadDesktop, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011d, NtUserGetTitleBarInfo, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011e, NtUserGetUpdateRect, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011f, NtUserGetUpdateRgn, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0120, NtUserGetUpdatedClipboardFormats, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0121, NtUserGetWindowDC, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0122, NtUserGetWindowPlacement, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0123, NtUserGetWindowRgnEx, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0124, NtUserHideCaret, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0125, NtUserHiliteMenuItem, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0126, NtUserInitializeClientPfnArrays, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0127, NtUserInternalGetWindowIcon, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0128, NtUserInternalGetWindowText, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0129, NtUserInvalidateRect, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012a, NtUserInvalidateRgn, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012b, NtUserIsClipboardFormatAvailable, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012c, NtUserIsMouseInPointerEnabled, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012d, NtUserKillTimer, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012e, NtUserLockWindowUpdate, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012f, NtUserLogicalToPerMonitorDPIPhysicalPoint, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0130, NtUserMapVirtualKeyEx, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0131, NtUserMenuItemFromPoint, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0132, NtUserMessageCall, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0133, NtUserMoveWindow, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0134, NtUserMsgWaitForMultipleObjectsEx, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0135, NtUserNotifyIMEStatus, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0136, NtUserNotifyWinEvent, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0137, NtUserOpenClipboard, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0138, NtUserOpenDesktop, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0139, NtUserOpenInputDesktop, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013a, NtUserOpenWindowStation, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013b, NtUserPeekMessage, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013c, NtUserPerMonitorDPIPhysicalToLogicalPoint, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013d, NtUserPostMessage, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013e, NtUserPostThreadMessage, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013f, NtUserPrintWindow, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0140, NtUserQueryDisplayConfig, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0141, NtUserQueryInputContext, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0142, NtUserRealChildWindowFromPoint, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0143, NtUserRedrawWindow, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0144, NtUserRegisterClassExWOW, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0145, NtUserRegisterHotKey, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0146, NtUserRegisterRawInputDevices, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0147, NtUserReleaseDC, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0148, NtUserRemoveClipboardFormatListener, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0149, NtUserRemoveMenu, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014a, NtUserRemoveProp, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014b, NtUserScrollDC, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014c, NtUserScrollWindowEx, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014d, NtUserSelectPalette, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014e, NtUserSendInput, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014f, NtUserSetActiveWindow, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0150, NtUserSetCapture, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0151, NtUserSetClassLong, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0152, NtUserSetClassLongPtr, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0153, NtUserSetClassWord, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0154, NtUserSetClipboardData, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0155, NtUserSetClipboardViewer, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0156, NtUserSetCursor, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0157, NtUserSetCursorIconData, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0158, NtUserSetCursorPos, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0159, NtUserSetFocus, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015a, NtUserSetInternalWindowPos, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015b, NtUserSetKeyboardState, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015c, NtUserSetLayeredWindowAttributes, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015d, NtUserSetMenu, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015e, NtUserSetMenuContextHelpId, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015f, NtUserSetMenuDefaultItem, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0160, NtUserSetObjectInformation, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0161, NtUserSetParent, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0162, NtUserSetProcessDpiAwarenessContext, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0163, NtUserSetProcessWindowStation, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0164, NtUserSetProp, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0165, NtUserSetScrollInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0166, NtUserSetShellWindowEx, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0167, NtUserSetSysColors, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0168, NtUserSetSystemMenu, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0169, NtUserSetSystemTimer, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016a, NtUserSetThreadDesktop, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016b, NtUserSetTimer, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016c, NtUserSetWinEventHook, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016d, NtUserSetWindowLong, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016e, NtUserSetWindowLongPtr, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016f, NtUserSetWindowPlacement, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0170, NtUserSetWindowPos, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0171, NtUserSetWindowRgn, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0172, NtUserSetWindowWord, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0173, NtUserSetWindowsHookEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0174, NtUserShowCaret, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0175, NtUserShowCursor, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0176, NtUserShowScrollBar, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0177, NtUserShowWindow, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0178, NtUserShowWindowAsync, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0179, NtUserSystemParametersInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017a, NtUserSystemParametersInfoForDpi, 20 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017b, NtUserThunkedMenuInfo, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017c, NtUserThunkedMenuItemInfo, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017d, NtUserToUnicodeEx, 28 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017e, NtUserTrackMouseEvent, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017f, NtUserTrackPopupMenuEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0180, NtUserTranslateAccelerator, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0181, NtUserTranslateMessage, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0182, NtUserUnhookWinEvent, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0183, NtUserUnhookWindowsHookEx, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0184, NtUserUnregisterClass, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0185, NtUserUnregisterHotKey, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0186, NtUserUpdateInputContext, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0187, NtUserUpdateLayeredWindow, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0188, NtUserValidateRect, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0189, NtUserVkKeyScanEx, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018a, NtUserWaitForInputIdle, 12 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018b, NtUserWaitMessage, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018c, NtUserWindowFromDC, 4 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018d, NtUserWindowFromPoint, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018e, __wine_get_file_outline_text_metric, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018f, __wine_get_icm_profile, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0190, __wine_send_input, 12 )
|
||||||
|
|
||||||
|
#define ALL_SYSCALLS64 \
|
||||||
|
SYSCALL_ENTRY( 0x0000, NtGdiAbortDoc, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0001, NtGdiAbortPath, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0002, NtGdiAddFontMemResourceEx, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0003, NtGdiAddFontResourceW, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0004, NtGdiAlphaBlend, 96 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0005, NtGdiAngleArc, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0006, NtGdiArcInternal, 80 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0007, NtGdiBeginPath, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0008, NtGdiBitBlt, 88 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0009, NtGdiCloseFigure, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000a, NtGdiCombineRgn, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000b, NtGdiComputeXformCoefficients, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000c, NtGdiCreateBitmap, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000d, NtGdiCreateClientObj, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000e, NtGdiCreateCompatibleBitmap, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x000f, NtGdiCreateCompatibleDC, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0010, NtGdiCreateDIBBrush, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0011, NtGdiCreateDIBSection, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0012, NtGdiCreateDIBitmapInternal, 88 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0013, NtGdiCreateEllipticRgn, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0014, NtGdiCreateHalftonePalette, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0015, NtGdiCreateHatchBrushInternal, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0016, NtGdiCreateMetafileDC, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0017, NtGdiCreatePaletteInternal, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0018, NtGdiCreatePatternBrushInternal, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0019, NtGdiCreatePen, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001a, NtGdiCreateRectRgn, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001b, NtGdiCreateRoundRectRgn, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001c, NtGdiCreateSolidBrush, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001d, NtGdiDdDDICheckVidPnExclusiveOwnership, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001e, NtGdiDdDDICloseAdapter, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x001f, NtGdiDdDDICreateDCFromMemory, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0020, NtGdiDdDDICreateDevice, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0021, NtGdiDdDDIDestroyDCFromMemory, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0022, NtGdiDdDDIDestroyDevice, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0023, NtGdiDdDDIEscape, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0024, NtGdiDdDDIOpenAdapterFromDeviceName, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0025, NtGdiDdDDIOpenAdapterFromHdc, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0026, NtGdiDdDDIOpenAdapterFromLuid, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0027, NtGdiDdDDIQueryAdapterInfo, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0028, NtGdiDdDDIQueryStatistics, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0029, NtGdiDdDDIQueryVideoMemoryInfo, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002a, NtGdiDdDDISetQueuedLimit, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002b, NtGdiDdDDISetVidPnSourceOwner, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002c, NtGdiDeleteClientObj, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002d, NtGdiDeleteObjectApp, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002e, NtGdiDescribePixelFormat, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x002f, NtGdiDoPalette, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0030, NtGdiDrawStream, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0031, NtGdiEllipse, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0032, NtGdiEndDoc, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0033, NtGdiEndPage, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0034, NtGdiEndPath, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0035, NtGdiEnumFonts, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0036, NtGdiEqualRgn, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0037, NtGdiExcludeClipRect, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0038, NtGdiExtCreatePen, 88 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0039, NtGdiExtCreateRegion, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003a, NtGdiExtEscape, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003b, NtGdiExtFloodFill, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003c, NtGdiExtGetObjectW, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003d, NtGdiExtSelectClipRgn, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003e, NtGdiExtTextOutW, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x003f, NtGdiFillPath, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0040, NtGdiFillRgn, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0041, NtGdiFlattenPath, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0042, NtGdiFlush, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0043, NtGdiFontIsLinked, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0044, NtGdiFrameRgn, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0045, NtGdiGetAndSetDCDword, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0046, NtGdiGetAppClipBox, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0047, NtGdiGetBitmapBits, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0048, NtGdiGetBitmapDimension, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0049, NtGdiGetBoundsRect, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004a, NtGdiGetCharABCWidthsW, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004b, NtGdiGetCharWidthInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004c, NtGdiGetCharWidthW, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004d, NtGdiGetColorAdjustment, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004e, NtGdiGetDCDword, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x004f, NtGdiGetDCObject, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0050, NtGdiGetDCPoint, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0051, NtGdiGetDIBitsInternal, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0052, NtGdiGetDeviceCaps, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0053, NtGdiGetDeviceGammaRamp, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0054, NtGdiGetFontData, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0055, NtGdiGetFontFileData, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0056, NtGdiGetFontFileInfo, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0057, NtGdiGetFontUnicodeRanges, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0058, NtGdiGetGlyphIndicesW, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0059, NtGdiGetGlyphOutline, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005a, NtGdiGetKerningPairs, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005b, NtGdiGetNearestColor, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005c, NtGdiGetNearestPaletteIndex, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005d, NtGdiGetOutlineTextMetricsInternalW, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005e, NtGdiGetPath, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x005f, NtGdiGetPixel, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0060, NtGdiGetRandomRgn, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0061, NtGdiGetRasterizerCaps, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0062, NtGdiGetRealizationInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0063, NtGdiGetRegionData, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0064, NtGdiGetRgnBox, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0065, NtGdiGetSpoolMessage, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0066, NtGdiGetSystemPaletteUse, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0067, NtGdiGetTextCharsetInfo, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0068, NtGdiGetTextExtentExW, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0069, NtGdiGetTextFaceW, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006a, NtGdiGetTextMetricsW, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006b, NtGdiGetTransform, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006c, NtGdiGradientFill, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006d, NtGdiHfontCreate, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006e, NtGdiIcmBrushInfo, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x006f, NtGdiInitSpool, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0070, NtGdiIntersectClipRect, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0071, NtGdiInvertRgn, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0072, NtGdiLineTo, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0073, NtGdiMaskBlt, 104 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0074, NtGdiModifyWorldTransform, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0075, NtGdiMoveTo, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0076, NtGdiOffsetClipRgn, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0077, NtGdiOffsetRgn, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0078, NtGdiOpenDCW, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0079, NtGdiPatBlt, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007a, NtGdiPathToRegion, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007b, NtGdiPlgBlt, 88 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007c, NtGdiPolyDraw, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007d, NtGdiPolyPolyDraw, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007e, NtGdiPtInRegion, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x007f, NtGdiPtVisible, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0080, NtGdiRectInRegion, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0081, NtGdiRectVisible, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0082, NtGdiRectangle, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0083, NtGdiRemoveFontMemResourceEx, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0084, NtGdiRemoveFontResourceW, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0085, NtGdiResetDC, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0086, NtGdiResizePalette, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0087, NtGdiRestoreDC, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0088, NtGdiRoundRect, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0089, NtGdiSaveDC, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008a, NtGdiScaleViewportExtEx, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008b, NtGdiScaleWindowExtEx, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008c, NtGdiSelectBitmap, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008d, NtGdiSelectBrush, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008e, NtGdiSelectClipPath, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x008f, NtGdiSelectFont, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0090, NtGdiSelectPen, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0091, NtGdiSetBitmapBits, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0092, NtGdiSetBitmapDimension, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0093, NtGdiSetBoundsRect, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0094, NtGdiSetBrushOrg, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0095, NtGdiSetColorAdjustment, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0096, NtGdiSetDIBitsToDeviceInternal, 128 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0097, NtGdiSetDeviceGammaRamp, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0098, NtGdiSetLayout, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0099, NtGdiSetMagicColors, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009a, NtGdiSetMetaRgn, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009b, NtGdiSetPixel, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009c, NtGdiSetPixelFormat, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009d, NtGdiSetRectRgn, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009e, NtGdiSetSystemPaletteUse, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x009f, NtGdiSetTextJustification, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a0, NtGdiSetVirtualResolution, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a1, NtGdiStartDoc, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a2, NtGdiStartPage, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a3, NtGdiStretchBlt, 96 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a4, NtGdiStretchDIBitsInternal, 128 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a5, NtGdiStrokeAndFillPath, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a6, NtGdiStrokePath, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a7, NtGdiSwapBuffers, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a8, NtGdiTransformPoints, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00a9, NtGdiTransparentBlt, 88 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00aa, NtGdiUnrealizeObject, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ab, NtGdiUpdateColors, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ac, NtGdiWidenPath, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ad, NtUserActivateKeyboardLayout, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ae, NtUserAddClipboardFormatListener, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00af, NtUserAssociateInputContext, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b0, NtUserAttachThreadInput, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b1, NtUserBeginPaint, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b2, NtUserBuildHimcList, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b3, NtUserBuildHwndList, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b4, NtUserCallHwnd, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b5, NtUserCallHwndParam, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b6, NtUserCallMsgFilter, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b7, NtUserCallNextHookEx, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b8, NtUserCallNoParam, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00b9, NtUserCallOneParam, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ba, NtUserCallTwoParam, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bb, NtUserChangeClipboardChain, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bc, NtUserChangeDisplaySettings, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bd, NtUserCheckMenuItem, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00be, NtUserChildWindowFromPointEx, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00bf, NtUserClipCursor, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c0, NtUserCloseClipboard, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c1, NtUserCloseDesktop, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c2, NtUserCloseWindowStation, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c3, NtUserCopyAcceleratorTable, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c4, NtUserCountClipboardFormats, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c5, NtUserCreateAcceleratorTable, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c6, NtUserCreateCaret, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c7, NtUserCreateDesktopEx, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c8, NtUserCreateInputContext, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00c9, NtUserCreateWindowEx, 136 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ca, NtUserCreateWindowStation, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cb, NtUserDeferWindowPosAndBand, 80 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cc, NtUserDeleteMenu, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cd, NtUserDestroyAcceleratorTable, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ce, NtUserDestroyCursor, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00cf, NtUserDestroyInputContext, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d0, NtUserDestroyMenu, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d1, NtUserDestroyWindow, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d2, NtUserDisableThreadIme, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d3, NtUserDispatchMessage, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d4, NtUserDisplayConfigGetDeviceInfo, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d5, NtUserDragDetect, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d6, NtUserDragObject, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d7, NtUserDrawCaptionTemp, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d8, NtUserDrawIconEx, 72 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00d9, NtUserDrawMenuBarTemp, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00da, NtUserEmptyClipboard, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00db, NtUserEnableMenuItem, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00dc, NtUserEnableMouseInPointer, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00dd, NtUserEnableScrollBar, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00de, NtUserEndDeferWindowPosEx, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00df, NtUserEndMenu, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e0, NtUserEndPaint, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e1, NtUserEnumDisplayDevices, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e2, NtUserEnumDisplayMonitors, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e3, NtUserEnumDisplaySettings, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e4, NtUserExcludeUpdateRgn, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e5, NtUserFindExistingCursorIcon, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e6, NtUserFindWindowEx, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e7, NtUserFlashWindowEx, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e8, NtUserGetAncestor, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00e9, NtUserGetAsyncKeyState, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ea, NtUserGetAtomName, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00eb, NtUserGetCaretBlinkTime, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ec, NtUserGetCaretPos, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ed, NtUserGetClassInfoEx, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ee, NtUserGetClassName, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ef, NtUserGetClipboardData, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f0, NtUserGetClipboardFormatName, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f1, NtUserGetClipboardOwner, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f2, NtUserGetClipboardSequenceNumber, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f3, NtUserGetClipboardViewer, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f4, NtUserGetCursor, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f5, NtUserGetCursorFrameInfo, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f6, NtUserGetCursorInfo, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f7, NtUserGetDC, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f8, NtUserGetDCEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00f9, NtUserGetDisplayConfigBufferSizes, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fa, NtUserGetDoubleClickTime, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fb, NtUserGetDpiForMonitor, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fc, NtUserGetForegroundWindow, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fd, NtUserGetGUIThreadInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00fe, NtUserGetIconInfo, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x00ff, NtUserGetIconSize, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0100, NtUserGetInternalWindowPos, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0101, NtUserGetKeyNameText, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0102, NtUserGetKeyState, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0103, NtUserGetKeyboardLayout, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0104, NtUserGetKeyboardLayoutList, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0105, NtUserGetKeyboardLayoutName, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0106, NtUserGetKeyboardState, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0107, NtUserGetLayeredWindowAttributes, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0108, NtUserGetMenuBarInfo, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0109, NtUserGetMenuItemRect, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010a, NtUserGetMessage, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010b, NtUserGetMouseMovePointsEx, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010c, NtUserGetObjectInformation, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010d, NtUserGetOpenClipboardWindow, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010e, NtUserGetPointerInfoList, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x010f, NtUserGetPriorityClipboardFormat, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0110, NtUserGetProcessDpiAwarenessContext, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0111, NtUserGetProcessWindowStation, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0112, NtUserGetProp, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0113, NtUserGetQueueStatus, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0114, NtUserGetRawInputBuffer, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0115, NtUserGetRawInputData, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0116, NtUserGetRawInputDeviceInfo, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0117, NtUserGetRawInputDeviceList, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0118, NtUserGetRegisteredRawInputDevices, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0119, NtUserGetScrollBarInfo, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011a, NtUserGetSystemDpiForProcess, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011b, NtUserGetSystemMenu, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011c, NtUserGetThreadDesktop, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011d, NtUserGetTitleBarInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011e, NtUserGetUpdateRect, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x011f, NtUserGetUpdateRgn, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0120, NtUserGetUpdatedClipboardFormats, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0121, NtUserGetWindowDC, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0122, NtUserGetWindowPlacement, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0123, NtUserGetWindowRgnEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0124, NtUserHideCaret, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0125, NtUserHiliteMenuItem, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0126, NtUserInitializeClientPfnArrays, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0127, NtUserInternalGetWindowIcon, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0128, NtUserInternalGetWindowText, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0129, NtUserInvalidateRect, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012a, NtUserInvalidateRgn, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012b, NtUserIsClipboardFormatAvailable, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012c, NtUserIsMouseInPointerEnabled, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012d, NtUserKillTimer, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012e, NtUserLockWindowUpdate, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x012f, NtUserLogicalToPerMonitorDPIPhysicalPoint, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0130, NtUserMapVirtualKeyEx, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0131, NtUserMenuItemFromPoint, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0132, NtUserMessageCall, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0133, NtUserMoveWindow, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0134, NtUserMsgWaitForMultipleObjectsEx, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0135, NtUserNotifyIMEStatus, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0136, NtUserNotifyWinEvent, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0137, NtUserOpenClipboard, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0138, NtUserOpenDesktop, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0139, NtUserOpenInputDesktop, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013a, NtUserOpenWindowStation, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013b, NtUserPeekMessage, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013c, NtUserPerMonitorDPIPhysicalToLogicalPoint, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013d, NtUserPostMessage, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013e, NtUserPostThreadMessage, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x013f, NtUserPrintWindow, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0140, NtUserQueryDisplayConfig, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0141, NtUserQueryInputContext, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0142, NtUserRealChildWindowFromPoint, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0143, NtUserRedrawWindow, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0144, NtUserRegisterClassExWOW, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0145, NtUserRegisterHotKey, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0146, NtUserRegisterRawInputDevices, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0147, NtUserReleaseDC, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0148, NtUserRemoveClipboardFormatListener, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0149, NtUserRemoveMenu, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014a, NtUserRemoveProp, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014b, NtUserScrollDC, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014c, NtUserScrollWindowEx, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014d, NtUserSelectPalette, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014e, NtUserSendInput, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x014f, NtUserSetActiveWindow, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0150, NtUserSetCapture, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0151, NtUserSetClassLong, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0152, NtUserSetClassLongPtr, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0153, NtUserSetClassWord, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0154, NtUserSetClipboardData, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0155, NtUserSetClipboardViewer, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0156, NtUserSetCursor, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0157, NtUserSetCursorIconData, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0158, NtUserSetCursorPos, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0159, NtUserSetFocus, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015a, NtUserSetInternalWindowPos, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015b, NtUserSetKeyboardState, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015c, NtUserSetLayeredWindowAttributes, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015d, NtUserSetMenu, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015e, NtUserSetMenuContextHelpId, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x015f, NtUserSetMenuDefaultItem, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0160, NtUserSetObjectInformation, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0161, NtUserSetParent, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0162, NtUserSetProcessDpiAwarenessContext, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0163, NtUserSetProcessWindowStation, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0164, NtUserSetProp, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0165, NtUserSetScrollInfo, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0166, NtUserSetShellWindowEx, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0167, NtUserSetSysColors, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0168, NtUserSetSystemMenu, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0169, NtUserSetSystemTimer, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016a, NtUserSetThreadDesktop, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016b, NtUserSetTimer, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016c, NtUserSetWinEventHook, 64 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016d, NtUserSetWindowLong, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016e, NtUserSetWindowLongPtr, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x016f, NtUserSetWindowPlacement, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0170, NtUserSetWindowPos, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0171, NtUserSetWindowRgn, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0172, NtUserSetWindowWord, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0173, NtUserSetWindowsHookEx, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0174, NtUserShowCaret, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0175, NtUserShowCursor, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0176, NtUserShowScrollBar, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0177, NtUserShowWindow, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0178, NtUserShowWindowAsync, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0179, NtUserSystemParametersInfo, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017a, NtUserSystemParametersInfoForDpi, 40 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017b, NtUserThunkedMenuInfo, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017c, NtUserThunkedMenuItemInfo, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017d, NtUserToUnicodeEx, 56 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017e, NtUserTrackMouseEvent, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x017f, NtUserTrackPopupMenuEx, 48 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0180, NtUserTranslateAccelerator, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0181, NtUserTranslateMessage, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0182, NtUserUnhookWinEvent, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0183, NtUserUnhookWindowsHookEx, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0184, NtUserUnregisterClass, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0185, NtUserUnregisterHotKey, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0186, NtUserUpdateInputContext, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0187, NtUserUpdateLayeredWindow, 80 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0188, NtUserValidateRect, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0189, NtUserVkKeyScanEx, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018a, NtUserWaitForInputIdle, 24 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018b, NtUserWaitMessage, 0 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018c, NtUserWindowFromDC, 8 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018d, NtUserWindowFromPoint, 16 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018e, __wine_get_file_outline_text_metric, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x018f, __wine_get_icm_profile, 32 ) \
|
||||||
|
SYSCALL_ENTRY( 0x0190, __wine_send_input, 24 )
|
|
@ -163,6 +163,21 @@ sub update_file($$)
|
||||||
print "$file updated\n";
|
print "$file updated\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# update a file if changed
|
||||||
|
sub output_file($$)
|
||||||
|
{
|
||||||
|
my $file = shift;
|
||||||
|
my $new = shift;
|
||||||
|
my $old = "";
|
||||||
|
if (open FILE, "<$file")
|
||||||
|
{
|
||||||
|
local $/ = undef;
|
||||||
|
$old .= <FILE>;
|
||||||
|
close FILE;
|
||||||
|
}
|
||||||
|
update_file( $file, $new ) if $old ne $new;
|
||||||
|
}
|
||||||
|
|
||||||
# parse a spec file line
|
# parse a spec file line
|
||||||
sub parse_line($$$)
|
sub parse_line($$$)
|
||||||
{
|
{
|
||||||
|
@ -298,6 +313,65 @@ sub update_spec_file($)
|
||||||
update_file( $file, $new ) if $old ne $new;
|
update_file( $file, $new ) if $old ne $new;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub get_args_size($)
|
||||||
|
{
|
||||||
|
my $args = shift;
|
||||||
|
my $ret32 = 0;
|
||||||
|
my $ret64 = 0;
|
||||||
|
if ($args =~ /^\((.*)\)$/)
|
||||||
|
{
|
||||||
|
my @args = split /\s+/, $1;
|
||||||
|
$ret64 += 8 * scalar @args;
|
||||||
|
map { $ret32 += ($_ eq "int64") ? 8 : 4; } @args;
|
||||||
|
}
|
||||||
|
return ($ret32, $ret64);
|
||||||
|
}
|
||||||
|
|
||||||
|
sub get_syscalls_str(@)
|
||||||
|
{
|
||||||
|
my @syscalls = sort { $a->[0] cmp $b->[0] } @_;
|
||||||
|
|
||||||
|
my $ret = "";
|
||||||
|
for (my $i = 0; $i < @syscalls; $i++)
|
||||||
|
{
|
||||||
|
my ($name, $args) = @{$syscalls[$i]};
|
||||||
|
$ret .= sprintf " \\\n SYSCALL_ENTRY( 0x%04x, %s, %u )", $i, $name, $args;
|
||||||
|
}
|
||||||
|
return $ret . "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
sub read_syscalls($)
|
||||||
|
{
|
||||||
|
my $spec = shift;
|
||||||
|
my @syscalls32 = ();
|
||||||
|
my @syscalls64 = ();
|
||||||
|
|
||||||
|
%funcs = ();
|
||||||
|
read_spec_file( $spec );
|
||||||
|
|
||||||
|
foreach my $func (keys %funcs)
|
||||||
|
{
|
||||||
|
my $descr = $funcs{$func};
|
||||||
|
next unless $descr->{flags} =~ /-syscall/;
|
||||||
|
next if $descr->{target} ne $func && defined $funcs{$descr->{target}};
|
||||||
|
my ($args32, $args64) = get_args_size( $funcs{$func}->{args} );
|
||||||
|
push @syscalls32, [ $func, $args32 ] unless $descr->{flags} =~ /-arch=win64/;
|
||||||
|
push @syscalls64, [ $func, $args64 ] unless $descr->{flags} =~ /-arch=win32/;
|
||||||
|
}
|
||||||
|
return (\@syscalls32, \@syscalls64);
|
||||||
|
}
|
||||||
|
|
||||||
|
sub update_syscalls($$)
|
||||||
|
{
|
||||||
|
my ($spec, $file) = @_;
|
||||||
|
my ($syscalls32, $syscalls64) = read_syscalls( $spec );
|
||||||
|
|
||||||
|
output_file( $file,
|
||||||
|
"/* Automatically generated by tools/make_specfiles */\n" .
|
||||||
|
"\n#define ALL_SYSCALLS32" . get_syscalls_str( @{$syscalls32} ) .
|
||||||
|
"\n#define ALL_SYSCALLS64" . get_syscalls_str( @{$syscalls64} ));
|
||||||
|
}
|
||||||
|
|
||||||
sub sync_spec_files(@)
|
sub sync_spec_files(@)
|
||||||
{
|
{
|
||||||
%funcs = ();
|
%funcs = ();
|
||||||
|
@ -310,3 +384,6 @@ foreach my $group (@dll_groups)
|
||||||
{
|
{
|
||||||
sync_spec_files( @{$group} );
|
sync_spec_files( @{$group} );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_syscalls( "ntdll", "dlls/ntdll/ntsyscalls.h" );
|
||||||
|
update_syscalls( "win32u", "dlls/win32u/win32syscalls.h" );
|
||||||
|
|
Loading…
Reference in a new issue