mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 03:36:14 +00:00
[KERNEL32]
Parameters of RtlAcquirePrivilege are not booleans svn path=/trunk/; revision=58919
This commit is contained in:
parent
c15b763fbc
commit
2f8130c228
2 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@ SetInformationJobObject(IN HANDLE hJob,
|
||||||
if (LocalInfo.BasicLimitInformation.LimitFlags &
|
if (LocalInfo.BasicLimitInformation.LimitFlags &
|
||||||
JOB_OBJECT_LIMIT_WORKINGSET)
|
JOB_OBJECT_LIMIT_WORKINGSET)
|
||||||
{
|
{
|
||||||
Status = RtlAcquirePrivilege(&Privilege, TRUE, FALSE, &State);
|
Status = RtlAcquirePrivilege(&Privilege, 1, 0, &State);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -627,7 +627,7 @@ BasepIsRealtimeAllowed(IN BOOLEAN Keep)
|
||||||
PVOID State;
|
PVOID State;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
Status = RtlAcquirePrivilege(&Privilege, TRUE, FALSE, &State);
|
Status = RtlAcquirePrivilege(&Privilege, 1, 0, &State);
|
||||||
if (!NT_SUCCESS(Status)) return NULL;
|
if (!NT_SUCCESS(Status)) return NULL;
|
||||||
|
|
||||||
if (Keep)
|
if (Keep)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue