VirtualProtect(3w)

NAME

VirtualProtect (KERNEL32.@)

SYNOPSIS

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

DESCRIPTION

Changes the access protection on a region of committed pages.

PARAMS

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 "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/kernel32/virtual.c".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout