(hProcess)
return not iswow64.value
Take a process handle. return True if process is 64 bits, and False otherwise.
Take a process handle. return True if process is 64 bits, and False otherwise.
Take a process handle . return True if process is 64 bits and False otherwise .
def is_process_64_from_handle(hProcess):
	""" Take a process handle. return True if process is 64 bits, and False otherwise. """
	iswow64 = c_bool(False)
	if not hasattr(windll.kernel32,'IsWow64Process'):
		return False
	windll.kernel32.IsWow64Process(hProcess, byref(iswow64))
	return not iswow64.value
def is_process_64_from_handle ( hProcess ) : iswow64 = c_bool ( False ) if not hasattr ( windll . kernel32 , 'IsWow64Process' ) : return False windll . kernel32 . IsWow64Process ( hProcess , byref ( iswow64 ) ) return not iswow64 . value