NAME

VirtualProtect  (KERNEL32.@)

SYNOPSIS

 BOOL VirtualProtect
 (
  LPVOID  addr,
  SIZE_T  size,
  DWORD   new_prot,
  LPDWORD old_prot
 )

PARAMS

addr [In] Address of region of committed pages.
size [In] Size of region.
new_prot [In] Desired access protection.
[Out] Address of variable to get old protection.

DESCRIPTION

Changes the access protection on a region of committed pages.

RETURNS

TRUE: Success

FALSE: Failure

IMPLEMENTATION

Defined in "winbase.h".

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

Debug channel "virtual".


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