[KERNEL32]: Fix parameter usage in RtlAcquirePrivilege.

svn path=/trunk/; revision=62544
This commit is contained in:
Hermès Bélusca-Maïto 2014-03-22 18:46:26 +00:00
parent d30892cbc2
commit 2e7eea8043

View file

@ -3874,7 +3874,7 @@ StartScan:
{ {
/* Acquire the required privilege so that the kernel won't fail the call */ /* Acquire the required privilege so that the kernel won't fail the call */
PrivilegeValue = SE_LOCK_MEMORY_PRIVILEGE; PrivilegeValue = SE_LOCK_MEMORY_PRIVILEGE;
Status = RtlAcquirePrivilege(&PrivilegeValue, TRUE, FALSE, &PrivilegeState); Status = RtlAcquirePrivilege(&PrivilegeValue, 1, 0, &PrivilegeState);
if (NT_SUCCESS(Status)) if (NT_SUCCESS(Status))
{ {
/* Remember to release it later */ /* Remember to release it later */