Click or drag to resize

RegistryHelperIsWow64Process Method

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

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
[DllImportAttribute("kernel32.dll", SetLastError = true)]
public static bool IsWow64Process(
	IntPtr hProcess,
	out bool wow64Process
)

Parameters

hProcess
Type: SystemIntPtr
- 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
Type: SystemBoolean
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

Type: 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