2OOO, 3 December
NTSYSAPI NTSTATUS NTAPI
NtLockVirtualMemory(
IN HANDLE ProcessHandle, IN PVOID *BaseAddress, IN OUT PULONG NumberOfBytesToLock, IN ULONG LockOption );
Can be one or both of following values: #define VM_LOCK_1 0x0001 // This is used, when calling KERNEL32.DLL VirtualLock routine #define VM_LOCK_2 0x0002 // This require SE_LOCK_MEMORY_NAME privilege