def is_process_64_from_handle(hProcess):
 iswow64 = c_bool(False)
 if (IsWow64Process is None):
  return False
 if (not IsWow64Process(hProcess, byref(iswow64))):
  raise WinError()
 return (not iswow64.value)

def is_process_64_from_handle ( hProcess ) : iswow64 = c_bool ( False ) if ( IsWow64Process is None ) : return False if ( not IsWow64Process ( hProcess , byref ( iswow64 ) ) ) : raise WinError ( ) return ( not iswow64 . value )
take a process handle .