win32process.IsWow64Process

bool = IsWow64Process(Process)

Determines whether the specified process is running under WOW64.

Parameters

Process=None : PyHANDLE

Handle to a process as returned by win32api::OpenProcess, win32api::GetCurrentProcess, etc, or will use the current process handle if None (the default) is passed.

Return Value

If this function is not provided by the operating system, the return value is False (ie, a NotImplemented exception will never be thrown). However, if the function exists but fails, a win32process.error exception is thrown as normal.