diff --git a/tests/test_syswow.py b/tests/test_syswow.py index 3e614af..8591d0d 100644 --- a/tests/test_syswow.py +++ b/tests/test_syswow.py @@ -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")