---
name: "VirtualUnlock"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/VirtualUnlock"
---

# VirtualUnlock(3w)

## NAME

**VirtualUnlock** (KERNEL32.@)

## SYNOPSIS

BOOL VirtualUnlock\
  (\
   LPVOID *addr*,\
   SIZE\_T *size*\
  )

## DESCRIPTION

Unlocks a range of pages in the virtual address space.

## PARAMS

*addr* **\[In\]**  Address of first byte of range.

*size* **\[In\]**  Number of bytes in range.

## RETURNS

**Success:** **TRUE**.

**Failure:** **FALSE**.

## NOTES

Always returns **TRUE**.

## IMPLEMENTATION

Declared in **"winbase.h"**.

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