ntoskrnl: Add MmIsThisAnNtAsSystem().

This function returns FALSE on all server and non-server versions of
Windows since XP except for Windows Server 2003.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47578
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 433c14b064)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
Alex Henrie 2019-08-01 23:49:33 -06:00 committed by Michael Stefaniuc
parent 7cc0e254a3
commit 08a38b915a
2 changed files with 9 additions and 1 deletions

View File

@ -2900,6 +2900,14 @@ PVOID WINAPI MmGetSystemRoutineAddress(PUNICODE_STRING SystemRoutineName)
return pFunc;
}
/***********************************************************************
* MmIsThisAnNtAsSystem (NTOSKRNL.EXE.@)
*/
BOOLEAN WINAPI MmIsThisAnNtAsSystem(void)
{
TRACE("\n");
return FALSE;
}
/***********************************************************************
* MmQuerySystemSize (NTOSKRNL.EXE.@)

View File

@ -689,7 +689,7 @@
@ stub MmIsDriverVerifying
@ stub MmIsNonPagedSystemAddressValid
@ stub MmIsRecursiveIoFault
@ stub MmIsThisAnNtAsSystem
@ stdcall MmIsThisAnNtAsSystem()
@ stub MmIsVerifierEnabled
@ stub MmLockPagableDataSection
@ stub MmLockPagableImageSection