mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
ntoskrnl-Stubs: Added patch for stub of ntoskrnl.IoGetDeviceAttachmentBaseRef.
This commit is contained in:
parent
bdb15cfc19
commit
8cc2c511dd
@ -0,0 +1,47 @@
|
||||
From a6a3dee1aaa6276cd845043835dbd52098e5579a Mon Sep 17 00:00:00 2001
|
||||
From: Jarkko Korpi <jarkko_korpi@hotmail.com>
|
||||
Date: Sat, 19 Mar 2016 21:54:19 +0200
|
||||
Subject: ntoskrnl.exe: Add IoGetDeviceAttachmentBaseRef stub.
|
||||
|
||||
---
|
||||
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
|
||||
index 3bee2bf..9232ba6 100644
|
||||
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
|
||||
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
|
||||
@@ -993,6 +993,16 @@ NTSTATUS WINAPI IoDeleteSymbolicLink( UNICODE_STRING *name )
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
+ * IoGetDeviceAttachmentBaseRef (NTOSKRNL.EXE.@)
|
||||
+ */
|
||||
+PDEVICE_OBJECT WINAPI IoGetDeviceAttachmentBaseRef( PDEVICE_OBJECT device )
|
||||
+{
|
||||
+ FIXME( "(%p): stub\n", device );
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+/***********************************************************************
|
||||
* IoGetDeviceInterfaces (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
NTSTATUS WINAPI IoGetDeviceInterfaces( const GUID *InterfaceClassGuid,
|
||||
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
||||
index 1414c53..c567b14 100644
|
||||
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
||||
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
||||
@@ -379,7 +379,7 @@
|
||||
@ 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)
|
||||
--
|
||||
2.7.1
|
||||
|
@ -10,3 +10,4 @@ Fixes: Add stub for ntoskrnl.ExDeleteResourceLite
|
||||
Fixes: Add stub for ntoskrnl.Mm{Map,Unmap}LockedPages
|
||||
Fixes: Implement ntoskrnl.KeInitializeMutex
|
||||
Fixes: Add stub for ntoskrnl.PsRemoveLoadImageNotifyRoutine
|
||||
Fixes: Add stub for ntoskrnl.IoGetDeviceAttachmentBaseRef
|
||||
|
@ -5413,6 +5413,7 @@ if test "$enable_ntoskrnl_Stubs" -eq 1; then
|
||||
patch_apply ntoskrnl-Stubs/0010-ntoskrnl.exe-Implement-MmMapLockedPages-and-MmUnmapL.patch
|
||||
patch_apply ntoskrnl-Stubs/0011-ntoskrnl.exe-Implement-KeInitializeMutex.patch
|
||||
patch_apply ntoskrnl-Stubs/0012-ntoskrnl.exe-Add-stub-for-PsRemoveLoadImageNotifyRou.patch
|
||||
patch_apply ntoskrnl-Stubs/0013-ntoskrnl.exe-Add-IoGetDeviceAttachmentBaseRef-stub.patch
|
||||
(
|
||||
echo '+ { "Austin English", "ntoskrnl.exe: Add KeWaitForMultipleObjects stub.", 1 },';
|
||||
echo '+ { "Alexander Morozov", "ntoskrnl.exe: Add stub for IoGetAttachedDeviceReference.", 1 },';
|
||||
@ -5426,6 +5427,7 @@ if test "$enable_ntoskrnl_Stubs" -eq 1; then
|
||||
echo '+ { "Christian Costa", "ntoskrnl.exe: Implement MmMapLockedPages and MmUnmapLockedPages.", 1 },';
|
||||
echo '+ { "Alexander Morozov", "ntoskrnl.exe: Implement KeInitializeMutex.", 1 },';
|
||||
echo '+ { "Michael Müller", "ntoskrnl.exe: Add stub for PsRemoveLoadImageNotifyRoutine.", 1 },';
|
||||
echo '+ { "Jarkko Korpi", "ntoskrnl.exe: Add IoGetDeviceAttachmentBaseRef stub.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user