Detecting an x64 app running on ARM64
FredAaron-MSFT
1
Reputation point
I need to distinguish a x64 and ARM64 process running on Windows 10 or greater in C++. Calling IsWow64Process2 on the x64 process returns processMachine == IMAGE_FILE_MACHINE_UNKNOWN correctly indicating the process is not a wow process and nativeMachine == IMAGE_FILE_MACHINE_ARM64 correctly indicating this is an ARM64 system. In an example, the process architecture shown in Task manager says "ARM64 (x64 compatibility)" for the process. What is the preferred way to determine a process running is x64 and not ARM64?