return the result in NtPrivilegeCheck
Modified: trunk/reactos/ntoskrnl/se/priv.c
_____
Modified: trunk/reactos/ntoskrnl/se/priv.c
--- trunk/reactos/ntoskrnl/se/priv.c 2006-01-22 22:49:04 UTC (rev
20987)
+++ trunk/reactos/ntoskrnl/se/priv.c 2006-01-22 22:49:49 UTC (rev
20988)
@@ -393,7 +393,8 @@
{
RtlCopyMemory(RequiredPrivileges->Privilege,
Privileges,
- PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES));;
+ PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES));
+ *Result = CheckResult;
Status = STATUS_SUCCESS;
}
_SEH_HANDLE
Show replies by date