Commit 56031d2b authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

ntoskrnl.exe: Stub for MmQuerySystemSize.

parent 6aade412
......@@ -1161,6 +1161,17 @@ PVOID WINAPI MmGetSystemRoutineAddress(PUNICODE_STRING SystemRoutineName)
return pFunc;
}
/***********************************************************************
* MmQuerySystemSize (NTOSKRNL.EXE.@)
*/
MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void)
{
FIXME("stub\n");
return MmLargeSystem;
}
/*****************************************************
* DllMain
*/
......
......@@ -706,7 +706,7 @@
@ stub MmProbeAndLockProcessPages
@ stub MmProbeAndLockSelectedPages
@ stub MmProtectMdlSystemAddress
@ stub MmQuerySystemSize
@ stdcall MmQuerySystemSize()
@ stub MmRemovePhysicalMemory
@ stdcall MmResetDriverPaging(ptr)
@ stub MmSectionObjectType
......
......@@ -1001,6 +1001,13 @@ typedef struct _KUSER_SHARED_DATA {
} DUMMYUNIONNAME;
} KSHARED_USER_DATA, *PKSHARED_USER_DATA;
typedef enum _MM_SYSTEM_SIZE
{
MmSmallSystem,
MmMediumSystem,
MmLargeSystem
} MM_SYSTEMSIZE;
NTSTATUS WINAPI ObCloseHandle(IN HANDLE handle);
#define IoGetCurrentIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.CurrentStackLocation)
......@@ -1048,6 +1055,7 @@ ULONG WINAPI KeQueryTimeIncrement(void);
PVOID WINAPI MmAllocateNonCachedMemory(SIZE_T);
void WINAPI MmFreeNonCachedMemory(PVOID,SIZE_T);
MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void);
NTSTATUS WINAPI ObReferenceObjectByHandle(HANDLE,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,PVOID*,POBJECT_HANDLE_INFORMATION);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment