Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 438 Bytes

virtualprotectex.md

File metadata and controls

14 lines (12 loc) · 438 Bytes

VirtualProtectEx

[DllImport("KERNEL32.dll", ExactSpelling = true, SetLastError = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern unsafe BOOL VirtualProtectEx(
    HANDLE hProcess,
    void* lpAddress,
    nuint dwSize,
    PAGE_PROTECTION_FLAGS flNewProtect,
    PAGE_PROTECTION_FLAGS* lpflOldProtect);

page_protection_flags.md