NAME

VirtualProtectEx  (KERNEL32.@)

SYNOPSIS

 BOOL VirtualProtectEx
 (
  HANDLE  process,
  LPVOID  addr,
  SIZE_T  size,
  DWORD   new_prot,
  LPDWORD old_prot
 )

DESCRIPTION

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

Defined in "winbase.h".

Implemented in "dlls/kernel32/virtual.c". source.winehq.org/source/dlls/kernel32/virtual.c


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.