Skip to content

Commit

Permalink
arm64: more api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hakril committed Jan 18, 2025
1 parent c14712e commit 3707a8e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_syswow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3707a8e

Please sign in to comment.