EA Durbin : ntoskrnl.exe: Add stub Implementation of IoAllocateMdl.
Alexandre Julliard
julliard at winehq.org
Fri Nov 9 07:44:23 CST 2007
Module: wine
Branch: master
Commit: 4bae34cd2e92601479a4ea6566f63f4e705557ce
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4bae34cd2e92601479a4ea6566f63f4e705557ce
Author: EA Durbin <ead1234 at hotmail.com>
Date: Thu Nov 8 15:40:43 2007 -0600
ntoskrnl.exe: Add stub Implementation of IoAllocateMdl.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 9 +++++++++
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 35d7db0..2aac409 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -247,6 +247,15 @@ NTSTATUS wine_ntoskrnl_main_loop( HANDLE stop_event )
}
}
+/***********************************************************************
+ * IoAllocateMdl (NTOSKRNL.EXE.@)
+ */
+PMDL WINAPI IoAllocateMdl( PVOID VirtualAddress, ULONG Length, BOOLEAN SecondaryBuffer, BOOLEAN ChargeQuota, PIRP Irp )
+{
+ FIXME( "stub: %p, %u, %i, %i, %p \n", VirtualAddress, Length, SecondaryBuffer, ChargeQuota, Irp );
+ return NULL;
+}
+
/***********************************************************************
* IoAllocateWorkItem (NTOSKRNL.EXE.@)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index 689d0b3..3117509 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -312,7 +312,7 @@
@ stub IoAllocateDriverObjectExtension
@ stub IoAllocateErrorLogEntry
@ stub IoAllocateIrp
-@ stub IoAllocateMdl
+@ stdcall IoAllocateMdl(ptr long long long ptr)
@ stdcall IoAllocateWorkItem(ptr)
@ stub IoAssignResources
@ stub IoAttachDevice
More information about the wine-cvs
mailing list