Austin English : ntoskrnl.exe: Add IoAttachDevice stub.
Alexandre Julliard
julliard at winehq.org
Thu Jul 14 08:58:05 CDT 2016
Module: wine
Branch: master
Commit: 0e5fdf0e00c72bd9e6129823d6ee3c69a74378a8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0e5fdf0e00c72bd9e6129823d6ee3c69a74378a8
Author: Austin English <austinenglish at gmail.com>
Date: Mon Jul 11 21:59:22 2016 -0500
ntoskrnl.exe: Add IoAttachDevice stub.
Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntoskrnl.exe/ntoskrnl.c | 9 +++++++++
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index a52b5df..8003ba1 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -2502,3 +2502,12 @@ NTSTATUS WINAPI KeDelayExecutionThread(KPROCESSOR_MODE waitmode, BOOLEAN alertab
FIXME("(%u, %u, %p): stub\n", waitmode, alertable, interval);
return STATUS_NOT_IMPLEMENTED;
}
+
+/***********************************************************************
+ * IoAttachDevice (NTOSKRNL.EXE.@)
+ */
+NTSTATUS WINAPI IoAttachDevice(DEVICE_OBJECT *source, UNICODE_STRING *target, DEVICE_OBJECT *attached)
+{
+ FIXME("(%p, %s, %p): stub\n", source, debugstr_us(target), attached);
+ return STATUS_NOT_IMPLEMENTED;
+}
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index b688a3f..406c626 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -315,7 +315,7 @@
@ stdcall IoAllocateMdl(ptr long long long ptr)
@ stdcall IoAllocateWorkItem(ptr)
@ stub IoAssignResources
-@ stub IoAttachDevice
+@ stdcall IoAttachDevice(ptr ptr ptr)
@ stub IoAttachDeviceByPointer
@ stdcall IoAttachDeviceToDeviceStack(ptr ptr)
@ stub IoAttachDeviceToDeviceStackSafe
More information about the wine-cvs
mailing list