ntoskrnl.exe: Add a stub for MmCreateSection.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2018-09-06 17:01:20 +08:00 committed by Alexandre Julliard
parent 4a6855a575
commit 847fb84d81
2 changed files with 13 additions and 1 deletions

View file

@ -2357,6 +2357,18 @@ PMDL WINAPI MmAllocatePagesForMdl(PHYSICAL_ADDRESS lowaddress, PHYSICAL_ADDRESS
return NULL;
}
/***********************************************************************
* MmCreateSection (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI MmCreateSection( HANDLE *handle, ACCESS_MASK access, OBJECT_ATTRIBUTES *attr,
LARGE_INTEGER *size, ULONG protect, ULONG alloc_attr,
HANDLE file, FILE_OBJECT *file_obj )
{
FIXME("%p %#x %p %s %#x %#x %p %p: stub\n", handle, access, attr,
wine_dbgstr_longlong(size->QuadPart), protect, alloc_attr, file, file_obj);
return STATUS_NOT_IMPLEMENTED;
}
/***********************************************************************
* MmFreeNonCachedMemory (NTOSKRNL.EXE.@)
*/

View file

@ -669,7 +669,7 @@
@ stub MmCanFileBeTruncated
@ stub MmCommitSessionMappedView
@ stub MmCreateMdl
@ stub MmCreateSection
@ stdcall MmCreateSection(ptr long ptr ptr long long long ptr)
@ stub MmDisableModifiedWriteOfSection
@ stub MmFlushImageSection
@ stub MmForceSectionClosed