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>
This commit is contained in:
Alex Henrie 2019-08-01 23:49:33 -06:00 committed by Alexandre Julliard
parent 2538d56946
commit 433c14b064
2 changed files with 9 additions and 1 deletions

View File

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

View File

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