VirtualProtect function kernel32
Changes the protection on a region of committed pages in the virtual address space of the calling process.
BOOL VirtualProtect(
LPVOID lpAddress,
SIZE_T dwSize,
DWORD flNewProtect,
PDWORD lpflOldProtect
);
Implementation
int VirtualProtect(
Pointer lpAddress,
int dwSize,
int flNewProtect,
Pointer<Uint32> lpflOldProtect,
) => _VirtualProtect(lpAddress, dwSize, flNewProtect, lpflOldProtect);