mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
arm64: more api tests
This commit is contained in:
@@ -22,6 +22,14 @@ def test_print_syswow_state():
|
||||
print(f"{env['PROCESSOR_ARCHITECTURE']=}")
|
||||
print(f"{env.get('PROCESSOR_ARCHITEW6432')=}")
|
||||
|
||||
print("")
|
||||
print("IsWow64Process2")
|
||||
processMachine = gdef.USHORT()
|
||||
nativeMachine = gdef.USHORT()
|
||||
windows.winproxy.IsWow64Process2(windows.current_process.handle, processMachine, nativeMachine)
|
||||
print(f"{hex(processMachine.value)=}")
|
||||
print(f"{hex(nativeMachine.value)=}")
|
||||
|
||||
print("")
|
||||
print("GetSystemInfo")
|
||||
windows.utils.sprint(windows.utils.get_system_info(native=False), name="SystemInfo")
|
||||
|
||||
Reference in New Issue
Block a user