mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[NTOS:EX] Fix version specific return value for NtSetSystemInformation:SystemFlagsInformation
This commit is contained in:
parent
de33036766
commit
3e5dcf7937
1 changed files with 4 additions and 0 deletions
|
@ -1226,7 +1226,11 @@ SSI_DEF(SystemFlagsInformation)
|
|||
|
||||
if (!SeSinglePrivilegeCheck(SeDebugPrivilege, ExGetPreviousMode()))
|
||||
{
|
||||
#if (NTDDI_VERSION < NTDDI_WIN7)
|
||||
return STATUS_ACCESS_VIOLATION;
|
||||
#else
|
||||
return STATUS_ACCESS_DENIED;
|
||||
#endif
|
||||
}
|
||||
|
||||
NtGlobalFlag = ((PSYSTEM_FLAGS_INFORMATION) Buffer)->Flags;
|
||||
|
|
Loading…
Reference in a new issue