VirtualProtectEx(3w)

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.

  1. 2.0
  2. 2.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.