VirtualUnlock function kernel32

int VirtualUnlock(
  1. Pointer<NativeType> lpAddress,
  2. int dwSize
)

Unlocks a specified range of pages in the virtual address space of a process, enabling the system to swap the pages out to the paging file if necessary.

BOOL VirtualUnlock(
  LPVOID lpAddress,
  SIZE_T dwSize
);

Implementation

int VirtualUnlock(Pointer lpAddress, int dwSize) =>
    _VirtualUnlock(lpAddress, dwSize);