2021-07-22 18:05:19 +02:00
|
|
|
/*
|
|
|
|
* WoW64 syscall definitions
|
|
|
|
*
|
|
|
|
* Copyright 2021 Alexandre Julliard
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WOW64_SYSCALL_H
|
|
|
|
#define __WOW64_SYSCALL_H
|
|
|
|
|
|
|
|
#define ALL_SYSCALLS \
|
2021-07-26 12:50:03 +02:00
|
|
|
SYSCALL_ENTRY( NtAcceptConnectPort ) \
|
2021-07-22 18:09:12 +02:00
|
|
|
SYSCALL_ENTRY( NtAddAtom ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtAlertResumeThread ) \
|
|
|
|
SYSCALL_ENTRY( NtAlertThread ) \
|
2021-07-22 18:05:19 +02:00
|
|
|
SYSCALL_ENTRY( NtAllocateLocallyUniqueId ) \
|
|
|
|
SYSCALL_ENTRY( NtAllocateUuids ) \
|
2021-07-27 11:15:25 +02:00
|
|
|
SYSCALL_ENTRY( NtAllocateVirtualMemory ) \
|
|
|
|
SYSCALL_ENTRY( NtAllocateVirtualMemoryEx ) \
|
2021-07-27 11:21:23 +02:00
|
|
|
SYSCALL_ENTRY( NtAreMappedFilesTheSame ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtAssignProcessToJobObject ) \
|
2021-07-28 18:09:20 +02:00
|
|
|
SYSCALL_ENTRY( NtCancelIoFile ) \
|
|
|
|
SYSCALL_ENTRY( NtCancelIoFileEx ) \
|
2021-07-23 17:00:52 +02:00
|
|
|
SYSCALL_ENTRY( NtCancelTimer ) \
|
2021-07-23 16:43:28 +02:00
|
|
|
SYSCALL_ENTRY( NtClearEvent ) \
|
2021-07-26 12:55:07 +02:00
|
|
|
SYSCALL_ENTRY( NtClearPowerRequest ) \
|
2021-07-22 18:05:19 +02:00
|
|
|
SYSCALL_ENTRY( NtClose ) \
|
2021-07-26 12:50:03 +02:00
|
|
|
SYSCALL_ENTRY( NtCompleteConnectPort ) \
|
|
|
|
SYSCALL_ENTRY( NtConnectPort ) \
|
2021-07-23 17:10:57 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateDebugObject ) \
|
2021-07-23 17:09:08 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateDirectoryObject ) \
|
2021-07-23 16:43:28 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateEvent ) \
|
2021-07-28 16:15:56 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateFile ) \
|
2021-07-23 17:22:06 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateIoCompletion ) \
|
2021-07-23 17:30:11 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateJobObject ) \
|
2021-07-26 13:37:53 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateKey ) \
|
|
|
|
SYSCALL_ENTRY( NtCreateKeyTransacted ) \
|
2021-07-23 17:04:11 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateKeyedEvent ) \
|
2021-07-28 18:14:35 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateMailslotFile ) \
|
2021-07-23 16:48:03 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateMutant ) \
|
2021-07-28 18:14:35 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateNamedPipeFile ) \
|
|
|
|
SYSCALL_ENTRY( NtCreatePagingFile ) \
|
2021-07-26 12:50:03 +02:00
|
|
|
SYSCALL_ENTRY( NtCreatePort ) \
|
2021-07-26 12:55:07 +02:00
|
|
|
SYSCALL_ENTRY( NtCreatePowerRequest ) \
|
2021-07-26 12:22:36 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateSection ) \
|
2021-07-23 16:51:33 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateSemaphore ) \
|
2021-07-23 17:33:45 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateSymbolicLinkObject ) \
|
2021-07-29 10:49:02 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateThread ) \
|
|
|
|
SYSCALL_ENTRY( NtCreateThreadEx ) \
|
2021-07-23 17:00:52 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateTimer ) \
|
2021-07-29 10:49:02 +02:00
|
|
|
SYSCALL_ENTRY( NtCreateUserProcess ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtDebugActiveProcess ) \
|
2021-07-23 17:10:57 +02:00
|
|
|
SYSCALL_ENTRY( NtDebugContinue ) \
|
2021-07-23 17:47:39 +02:00
|
|
|
SYSCALL_ENTRY( NtDelayExecution ) \
|
2021-07-22 18:09:12 +02:00
|
|
|
SYSCALL_ENTRY( NtDeleteAtom ) \
|
2021-07-28 16:15:56 +02:00
|
|
|
SYSCALL_ENTRY( NtDeleteFile ) \
|
2021-07-26 13:37:53 +02:00
|
|
|
SYSCALL_ENTRY( NtDeleteKey ) \
|
2021-07-26 13:47:07 +02:00
|
|
|
SYSCALL_ENTRY( NtDeleteValueKey ) \
|
2021-07-26 12:35:33 +02:00
|
|
|
SYSCALL_ENTRY( NtDuplicateObject ) \
|
2021-07-26 13:37:53 +02:00
|
|
|
SYSCALL_ENTRY( NtEnumerateKey ) \
|
2021-07-26 13:47:07 +02:00
|
|
|
SYSCALL_ENTRY( NtEnumerateValueKey ) \
|
2021-07-22 18:09:12 +02:00
|
|
|
SYSCALL_ENTRY( NtFindAtom ) \
|
2021-07-28 16:20:48 +02:00
|
|
|
SYSCALL_ENTRY( NtFlushBuffersFile ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtFlushInstructionCache ) \
|
2021-07-26 13:52:22 +02:00
|
|
|
SYSCALL_ENTRY( NtFlushKey ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtFlushProcessWriteBuffers ) \
|
2021-07-27 11:15:25 +02:00
|
|
|
SYSCALL_ENTRY( NtFlushVirtualMemory ) \
|
|
|
|
SYSCALL_ENTRY( NtFreeVirtualMemory ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtGetContextThread ) \
|
2021-07-22 18:05:19 +02:00
|
|
|
SYSCALL_ENTRY( NtGetCurrentProcessorNumber ) \
|
2021-07-27 11:21:23 +02:00
|
|
|
SYSCALL_ENTRY( NtGetNlsSectionPtr ) \
|
2021-07-27 11:24:33 +02:00
|
|
|
SYSCALL_ENTRY( NtGetWriteWatch ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtIsProcessInJob ) \
|
2021-07-26 12:50:03 +02:00
|
|
|
SYSCALL_ENTRY( NtListenPort ) \
|
2021-07-26 13:52:22 +02:00
|
|
|
SYSCALL_ENTRY( NtLoadKey ) \
|
|
|
|
SYSCALL_ENTRY( NtLoadKey2 ) \
|
2021-07-28 16:20:48 +02:00
|
|
|
SYSCALL_ENTRY( NtLockFile ) \
|
2021-07-27 11:15:25 +02:00
|
|
|
SYSCALL_ENTRY( NtLockVirtualMemory ) \
|
2021-07-26 12:35:33 +02:00
|
|
|
SYSCALL_ENTRY( NtMakeTemporaryObject ) \
|
2021-07-27 11:21:23 +02:00
|
|
|
SYSCALL_ENTRY( NtMapViewOfSection ) \
|
2021-07-28 18:09:20 +02:00
|
|
|
SYSCALL_ENTRY( NtNotifyChangeDirectoryFile ) \
|
2021-07-23 17:09:08 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenDirectoryObject ) \
|
2021-07-23 16:43:28 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenEvent ) \
|
2021-07-28 16:15:56 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenFile ) \
|
2021-07-23 17:22:06 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenIoCompletion ) \
|
2021-07-23 17:30:11 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenJobObject ) \
|
2021-07-26 13:37:53 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenKey ) \
|
|
|
|
SYSCALL_ENTRY( NtOpenKeyEx ) \
|
|
|
|
SYSCALL_ENTRY( NtOpenKeyTransacted ) \
|
|
|
|
SYSCALL_ENTRY( NtOpenKeyTransactedEx ) \
|
2021-07-23 17:04:11 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenKeyedEvent ) \
|
2021-07-23 16:48:03 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenMutant ) \
|
2021-07-29 10:49:02 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenProcess ) \
|
2021-07-26 12:22:36 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenSection ) \
|
2021-07-23 16:51:33 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenSemaphore ) \
|
2021-07-23 17:33:45 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenSymbolicLinkObject ) \
|
2021-07-29 10:49:02 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenThread ) \
|
2021-07-23 17:00:52 +02:00
|
|
|
SYSCALL_ENTRY( NtOpenTimer ) \
|
2021-07-27 11:15:25 +02:00
|
|
|
SYSCALL_ENTRY( NtProtectVirtualMemory ) \
|
2021-07-23 16:43:28 +02:00
|
|
|
SYSCALL_ENTRY( NtPulseEvent ) \
|
2021-07-28 16:27:10 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryAttributesFile ) \
|
2021-07-22 18:05:19 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryDefaultLocale ) \
|
|
|
|
SYSCALL_ENTRY( NtQueryDefaultUILanguage ) \
|
2021-07-28 16:27:10 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryDirectoryFile ) \
|
2021-07-23 17:09:08 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryDirectoryObject ) \
|
2021-07-28 16:27:10 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryEaFile ) \
|
2021-07-23 16:43:28 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryEvent ) \
|
2021-07-28 16:27:10 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryFullAttributesFile ) \
|
2021-07-22 18:09:12 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryInformationAtom ) \
|
2021-07-28 16:27:10 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryInformationFile ) \
|
2021-07-22 18:05:19 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryInstallUILanguage ) \
|
2021-07-23 17:22:06 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryIoCompletion ) \
|
2021-07-26 13:37:53 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryKey ) \
|
2021-07-26 13:47:07 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryMultipleValueKey ) \
|
2021-07-23 16:48:03 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryMutant ) \
|
2021-07-26 12:35:33 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryObject ) \
|
2021-07-23 17:47:39 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryPerformanceCounter ) \
|
2021-07-26 12:22:36 +02:00
|
|
|
SYSCALL_ENTRY( NtQuerySection ) \
|
2021-07-23 16:51:33 +02:00
|
|
|
SYSCALL_ENTRY( NtQuerySemaphore ) \
|
2021-07-23 17:33:45 +02:00
|
|
|
SYSCALL_ENTRY( NtQuerySymbolicLinkObject ) \
|
2021-07-23 17:00:52 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryTimer ) \
|
2021-07-23 17:47:39 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryTimerResolution ) \
|
2021-07-26 13:47:07 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryValueKey ) \
|
2021-07-27 12:00:27 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryVirtualMemory ) \
|
2021-07-28 16:27:10 +02:00
|
|
|
SYSCALL_ENTRY( NtQueryVolumeInformationFile ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtQueueApcThread ) \
|
2021-07-28 16:20:48 +02:00
|
|
|
SYSCALL_ENTRY( NtReadFile ) \
|
|
|
|
SYSCALL_ENTRY( NtReadFileScatter ) \
|
2021-07-27 11:15:25 +02:00
|
|
|
SYSCALL_ENTRY( NtReadVirtualMemory ) \
|
2021-07-23 17:04:11 +02:00
|
|
|
SYSCALL_ENTRY( NtReleaseKeyedEvent ) \
|
2021-07-23 16:48:03 +02:00
|
|
|
SYSCALL_ENTRY( NtReleaseMutant ) \
|
2021-07-23 16:51:33 +02:00
|
|
|
SYSCALL_ENTRY( NtReleaseSemaphore ) \
|
2021-07-28 18:09:20 +02:00
|
|
|
SYSCALL_ENTRY( NtRemoveIoCompletion ) \
|
|
|
|
SYSCALL_ENTRY( NtRemoveIoCompletionEx ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtRemoveProcessDebug ) \
|
2021-07-26 13:37:53 +02:00
|
|
|
SYSCALL_ENTRY( NtRenameKey ) \
|
|
|
|
SYSCALL_ENTRY( NtReplaceKey ) \
|
2021-07-26 12:50:03 +02:00
|
|
|
SYSCALL_ENTRY( NtReplyWaitReceivePort ) \
|
|
|
|
SYSCALL_ENTRY( NtRequestWaitReplyPort ) \
|
2021-07-23 16:43:28 +02:00
|
|
|
SYSCALL_ENTRY( NtResetEvent ) \
|
2021-07-27 11:24:33 +02:00
|
|
|
SYSCALL_ENTRY( NtResetWriteWatch ) \
|
2021-07-26 13:52:22 +02:00
|
|
|
SYSCALL_ENTRY( NtRestoreKey ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtResumeProcess ) \
|
|
|
|
SYSCALL_ENTRY( NtResumeThread ) \
|
2021-07-26 13:52:22 +02:00
|
|
|
SYSCALL_ENTRY( NtSaveKey ) \
|
2021-07-26 12:50:03 +02:00
|
|
|
SYSCALL_ENTRY( NtSecureConnectPort ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtSetContextThread ) \
|
2021-07-22 18:05:19 +02:00
|
|
|
SYSCALL_ENTRY( NtSetDefaultLocale ) \
|
2021-07-23 16:43:28 +02:00
|
|
|
SYSCALL_ENTRY( NtSetDefaultUILanguage ) \
|
2021-07-28 17:25:59 +02:00
|
|
|
SYSCALL_ENTRY( NtSetEaFile ) \
|
2021-07-23 17:00:52 +02:00
|
|
|
SYSCALL_ENTRY( NtSetEvent ) \
|
2021-07-23 17:10:57 +02:00
|
|
|
SYSCALL_ENTRY( NtSetInformationDebugObject ) \
|
2021-07-28 17:25:59 +02:00
|
|
|
SYSCALL_ENTRY( NtSetInformationFile ) \
|
2021-07-26 13:37:53 +02:00
|
|
|
SYSCALL_ENTRY( NtSetInformationKey ) \
|
2021-07-26 12:35:33 +02:00
|
|
|
SYSCALL_ENTRY( NtSetInformationObject ) \
|
2021-07-23 17:22:06 +02:00
|
|
|
SYSCALL_ENTRY( NtSetIoCompletion ) \
|
2021-07-26 12:55:07 +02:00
|
|
|
SYSCALL_ENTRY( NtSetPowerRequest ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtSetThreadExecutionState ) \
|
2021-07-23 17:04:11 +02:00
|
|
|
SYSCALL_ENTRY( NtSetTimer ) \
|
2021-07-23 17:47:39 +02:00
|
|
|
SYSCALL_ENTRY( NtSetTimerResolution ) \
|
2021-07-26 13:47:07 +02:00
|
|
|
SYSCALL_ENTRY( NtSetValueKey ) \
|
2021-07-28 17:25:59 +02:00
|
|
|
SYSCALL_ENTRY( NtSetVolumeInformationFile ) \
|
2021-07-23 17:47:39 +02:00
|
|
|
SYSCALL_ENTRY( NtSignalAndWaitForSingleObject ) \
|
2021-07-29 11:04:20 +02:00
|
|
|
SYSCALL_ENTRY( NtSuspendProcess ) \
|
|
|
|
SYSCALL_ENTRY( NtSuspendThread ) \
|
2021-07-23 17:30:11 +02:00
|
|
|
SYSCALL_ENTRY( NtTerminateJobObject ) \
|
2021-07-29 10:49:02 +02:00
|
|
|
SYSCALL_ENTRY( NtTerminateProcess ) \
|
|
|
|
SYSCALL_ENTRY( NtTerminateThread ) \
|
2021-07-26 13:52:22 +02:00
|
|
|
SYSCALL_ENTRY( NtUnloadKey ) \
|
2021-07-28 16:20:48 +02:00
|
|
|
SYSCALL_ENTRY( NtUnlockFile ) \
|
2021-07-27 11:15:25 +02:00
|
|
|
SYSCALL_ENTRY( NtUnlockVirtualMemory ) \
|
2021-07-27 11:21:23 +02:00
|
|
|
SYSCALL_ENTRY( NtUnmapViewOfSection ) \
|
2021-07-23 17:10:57 +02:00
|
|
|
SYSCALL_ENTRY( NtWaitForDebugEvent ) \
|
2021-07-23 17:47:39 +02:00
|
|
|
SYSCALL_ENTRY( NtWaitForKeyedEvent ) \
|
|
|
|
SYSCALL_ENTRY( NtWaitForMultipleObjects ) \
|
|
|
|
SYSCALL_ENTRY( NtWaitForSingleObject ) \
|
2021-07-27 12:15:07 +02:00
|
|
|
SYSCALL_ENTRY( NtWow64AllocateVirtualMemory64 ) \
|
|
|
|
SYSCALL_ENTRY( NtWow64ReadVirtualMemory64 ) \
|
|
|
|
SYSCALL_ENTRY( NtWow64WriteVirtualMemory64 ) \
|
2021-07-28 16:20:48 +02:00
|
|
|
SYSCALL_ENTRY( NtWriteFile ) \
|
|
|
|
SYSCALL_ENTRY( NtWriteFileGather ) \
|
2021-07-27 11:15:25 +02:00
|
|
|
SYSCALL_ENTRY( NtWriteVirtualMemory ) \
|
2021-07-23 17:47:39 +02:00
|
|
|
SYSCALL_ENTRY( NtYieldExecution )
|
2021-07-22 18:05:19 +02:00
|
|
|
|
|
|
|
#endif /* __WOW64_SYSCALL_H */
|