[KERNEL32]

Parameters of RtlAcquirePrivilege are not booleans

svn path=/trunk/; revision=58919
This commit is contained in:
Pierre Schweitzer 2013-05-04 09:23:52 +00:00
parent c15b763fbc
commit 2f8130c228
2 changed files with 2 additions and 2 deletions

View file

@ -291,7 +291,7 @@ SetInformationJobObject(IN HANDLE hJob,
if (LocalInfo.BasicLimitInformation.LimitFlags &
JOB_OBJECT_LIMIT_WORKINGSET)
{
Status = RtlAcquirePrivilege(&Privilege, TRUE, FALSE, &State);
Status = RtlAcquirePrivilege(&Privilege, 1, 0, &State);
}
}

View file

@ -627,7 +627,7 @@ BasepIsRealtimeAllowed(IN BOOLEAN Keep)
PVOID State;
NTSTATUS Status;
Status = RtlAcquirePrivilege(&Privilege, TRUE, FALSE, &State);
Status = RtlAcquirePrivilege(&Privilege, 1, 0, &State);
if (!NT_SUCCESS(Status)) return NULL;
if (Keep)