IsWow64 method


Prototype

IsWow64 Proto hProcess:HANDLE

Syntax

Invoke IsWow64, hProcess

Function

Determines whether hProcess is a 32-bit application running on a 64-bit operating system.

Parameters

hProcess

Handle to the application to be checked. You can get this handle by calling the GetCurrentProcess API function.

Return value

Eax specifies whether hProcess is a 32-bit application running on a 64-bit operating system.


Possible returned values are:

TRUE    The application is 32-bit running on a 64-bit operating system.
FALSE  The application is not 32-bit or the operating system is not a 64-bit version.


REMARKS: To know whether you are running a 64-bit operating system or not, call the Is64BitVersion Easy Code method.