VirtualProtectEx3w
Usage
BOOL VirtualProtectEx
(
HANDLE process,
LPVOID addr,
SIZE_T size,
DWORD new_prot,
LPDWORD old_prot
)
Overview
Changes the access protection on a region of committed pages in the virtual address space of a specified process.
Params
process [In] Handle of process.
addr [In] Address of region of committed pages.
size [In] Size of region.
new_prot [In] Desired access protection.
old_prot [Out] Address of variable to get old protection.
Returns
Success: TRUE.
Failure: FALSE.
Implementation
Declared in "winbase.h".
Implemented in "dlls/kernel32/virtual.c".
Releases
6 releases since Debian 2.0 (Hamm); the text changed 5 times.