2019-06-03 16:10:22 -07:00
|
|
|
From a9f3caf61dd6cf1ace65e7c7e2edef0456f6a9d1 Mon Sep 17 00:00:00 2001
|
2016-04-01 23:24:00 -07:00
|
|
|
From: Jarkko Korpi <jarkko_korpi@hotmail.com>
|
|
|
|
Date: Sat, 19 Mar 2016 21:54:19 +0200
|
2019-06-03 16:10:22 -07:00
|
|
|
Subject: [PATCH] ntoskrnl.exe: Add IoGetDeviceAttachmentBaseRef stub.
|
2016-04-01 23:24:00 -07:00
|
|
|
|
|
|
|
---
|
|
|
|
dlls/ntoskrnl.exe/ntoskrnl.c | 10 ++++++++++
|
|
|
|
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
|
|
|
|
2 files changed, 11 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
|
2019-06-03 16:10:22 -07:00
|
|
|
index 8f025a108d4..f5964b4d90b 100644
|
2016-04-01 23:24:00 -07:00
|
|
|
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
|
|
|
|
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
|
2019-06-03 16:10:22 -07:00
|
|
|
@@ -1580,6 +1580,16 @@ NTSTATUS WINAPI IoDeleteSymbolicLink( UNICODE_STRING *name )
|
|
|
|
return status;
|
|
|
|
}
|
2016-04-01 23:24:00 -07:00
|
|
|
|
2019-06-03 16:10:22 -07:00
|
|
|
+/***********************************************************************
|
2016-04-01 23:24:00 -07:00
|
|
|
+ * IoGetDeviceAttachmentBaseRef (NTOSKRNL.EXE.@)
|
|
|
|
+ */
|
|
|
|
+PDEVICE_OBJECT WINAPI IoGetDeviceAttachmentBaseRef( PDEVICE_OBJECT device )
|
|
|
|
+{
|
|
|
|
+ FIXME( "(%p): stub\n", device );
|
|
|
|
+ return NULL;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
2019-06-03 16:10:22 -07:00
|
|
|
/***********************************************************************
|
2016-04-01 23:24:00 -07:00
|
|
|
* IoGetDeviceInterfaces (NTOSKRNL.EXE.@)
|
|
|
|
*/
|
|
|
|
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
2019-06-03 16:10:22 -07:00
|
|
|
index 87afae008e1..9ebedf21a5e 100644
|
2016-04-01 23:24:00 -07:00
|
|
|
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
|
|
|
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
2019-06-03 16:10:22 -07:00
|
|
|
@@ -392,7 +392,7 @@
|
2016-04-01 23:24:00 -07:00
|
|
|
@ stub IoGetBootDiskInformation
|
|
|
|
@ stdcall IoGetConfigurationInformation()
|
|
|
|
@ stdcall IoGetCurrentProcess()
|
|
|
|
-@ stub IoGetDeviceAttachmentBaseRef
|
|
|
|
+@ stdcall IoGetDeviceAttachmentBaseRef(ptr)
|
|
|
|
@ stub IoGetDeviceInterfaceAlias
|
|
|
|
@ stdcall IoGetDeviceInterfaces(ptr ptr long ptr)
|
|
|
|
@ stdcall IoGetDeviceObjectPointer(ptr long ptr ptr)
|
|
|
|
--
|
2019-06-03 16:10:22 -07:00
|
|
|
2.17.1
|
2016-04-01 23:24:00 -07:00
|
|
|
|