Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit c202b6e

Browse files
committed
fix VMMDLL_MEM_SEARCH_CONTEXT correctness
bools should be changed to int so they properly take up 4 bytes (WIN32 BOOL)
1 parent 7fc2e02 commit c202b6e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/VmmSharpEx/Internal/Vmmi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,8 +904,8 @@ public unsafe struct VMMDLL_MEM_SEARCH_CONTEXT
904904
private readonly IntPtr pvUserPtrOpt;
905905
public IntPtr pfnResultOptCB;
906906
public ulong ReadFlags;
907-
private readonly bool fForcePTE;
908-
private readonly bool fForceVAD;
907+
private readonly int fForcePTE;
908+
private readonly int fForceVAD;
909909
private readonly IntPtr pfnFilterOptCB;
910910
}
911911

0 commit comments

Comments
 (0)