VirtualLock function kernel32
Locks the specified region of the process's virtual address space into physical memory, ensuring that subsequent access to the region will not incur a page fault.
BOOL VirtualLock(
LPVOID lpAddress,
SIZE_T dwSize
);
Implementation
int VirtualLock(Pointer lpAddress, int dwSize) =>
_VirtualLock(lpAddress, dwSize);