Reference

VirtualLock(3w)

NAME

VirtualLock (KERNEL32.@)

SYNOPSIS

BOOL VirtualLock
(
LPVOID addr,
SIZE_T size
)

DESCRIPTION

Locks the specified region of virtual address space.

PARAMS

addr [In] Address of first byte of range to lock.

size [In] Number of bytes in range to lock.

RETURNS

Success: TRUE.

Failure: FALSE.

NOTES

Always returns TRUE.

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/virtual.c".

History