mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
48 lines
1.6 KiB
Diff
48 lines
1.6 KiB
Diff
From dd19f26a49f288dec1d287ebaaeb7a2dd2e7f0cd Mon Sep 17 00:00:00 2001
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
Date: Mon, 15 Oct 2018 12:05:41 +1100
|
|
Subject: [PATCH] setupapi: Add SetupDiInstallDeviceInterfaces
|
|
|
|
Wine-bug: https://bugs.winehq.org/show_bug.cgi?id=45963
|
|
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
---
|
|
dlls/setupapi/devinst.c | 12 ++++++++++++
|
|
dlls/setupapi/setupapi.spec | 1 +
|
|
2 files changed, 13 insertions(+)
|
|
|
|
diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
|
|
index 632d704c9bd..129b7384162 100644
|
|
--- a/dlls/setupapi/devinst.c
|
|
+++ b/dlls/setupapi/devinst.c
|
|
@@ -4002,3 +4002,15 @@ BOOL WINAPI SetupDiGetDevicePropertyW(HDEVINFO devinfo, PSP_DEVINFO_DATA device_
|
|
SetLastError(ls);
|
|
return !ls;
|
|
}
|
|
+
|
|
+/***********************************************************************
|
|
+ * SetupDiInstallDeviceInterfaces (SETUPAPI.@)
|
|
+ */
|
|
+BOOL WINAPI SetupDiInstallDeviceInterfaces(HDEVINFO dev, PSP_DEVINFO_DATA info_data)
|
|
+{
|
|
+ FIXME("%p, %p stub\n", dev, info_data);
|
|
+
|
|
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
+ return FALSE;
|
|
+}
|
|
+
|
|
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
|
|
index 3cd5663a01e..984f2218f02 100644
|
|
--- a/dlls/setupapi/setupapi.spec
|
|
+++ b/dlls/setupapi/setupapi.spec
|
|
@@ -367,6 +367,7 @@
|
|
@ stub SetupDiInstallClassExW
|
|
@ stdcall SetupDiInstallClassW(long wstr long ptr)
|
|
@ stub SetupDiInstallDevice
|
|
+@ stdcall SetupDiInstallDeviceInterfaces(ptr ptr)
|
|
@ stub SetupDiInstallDriverFiles
|
|
@ stdcall SetupDiLoadClassIcon(ptr ptr ptr)
|
|
@ stub SetupDiMoveDuplicateDevice
|
|
--
|
|
2.20.1
|
|
|