RegistryHelperIsWow64Process Method

Determines whether the specified process is running under WOW64 or an Intel64 of x64 processor.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static bool IsWow64Process(
	IntPtr hProcess,
	out bool wow64Process
)

Parameters

hProcess  IntPtr
- A handle to the process. The handle must have the PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION access right. For more information, see Process Security and Access Rights. - Windows Server 2003 and Windows XP: The handle must have the PROCESS_QUERY_INFORMATION access right.
wow64Process  Boolean
A pointer to a value that is set to TRUE if the process is running under WOW64 on an Intel64 or x64 processor. If the process is running under 32-bit Windows, the value is set to FALSE. If the process is a 32-bit application running under 64-bit Windows 10 on ARM, the value is set to FALSE. If the process is a 64-bit application running under 64-bit Windows, the value is also set to FALSE.

Return Value

Boolean
- If the function succeeds, the return value is a nonzero value. - If the function fails, the return value is zero. To get extended error information, call GetLastError.

See Also