pub unsafe fn mlock(addr: *mut u8, len: usize) -> bool
Windows VirtualLock.
VirtualLock
addr has to point to a memory section of at least len bytes
addr
len