Dmitry Timoshkov : ntoskrnl.exe: Add a stub for MmCreateSection.
Alexandre Julliard
julliard at winehq.org
Thu Sep 6 15:51:51 CDT 2018
Module: wine
Branch: master
Commit: 847fb84d816cfaf9b671b2d859d025181fbfcdde
URL: https://source.winehq.org/git/wine.git/?a=commit;h=847fb84d816cfaf9b671b2d859d025181fbfcdde
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Thu Sep 6 17:01:20 2018 +0800
ntoskrnl.exe: Add a stub for MmCreateSection.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntoskrnl.exe/ntoskrnl.c | 12 ++++++++++++
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 577f5b3..292f89c 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -2358,6 +2358,18 @@ PMDL WINAPI MmAllocatePagesForMdl(PHYSICAL_ADDRESS lowaddress, PHYSICAL_ADDRESS
}
/***********************************************************************
+ * 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.@)
*/
void WINAPI MmFreeNonCachedMemory( void *addr, SIZE_T size )
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index 8079114..e867dbe 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -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
More information about the wine-cvs
mailing list