mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
52 lines
1.8 KiB
Diff
52 lines
1.8 KiB
Diff
|
From b56da992c9fe09059e922603182063bbb21ccbd1 Mon Sep 17 00:00:00 2001
|
||
|
From: Austin English <austinenglish@gmail.com>
|
||
|
Date: Fri, 3 Apr 2015 17:06:51 -0500
|
||
|
Subject: setupapi: add SetupDiSetDeviceInstallParamsW stub.
|
||
|
|
||
|
Fixes https://bugs.winehq.org/show_bug.cgi?id=38347
|
||
|
---
|
||
|
dlls/setupapi/devinst.c | 13 +++++++++++++
|
||
|
dlls/setupapi/setupapi.spec | 2 +-
|
||
|
2 files changed, 14 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
|
||
|
index 966af75..eaaa40e 100644
|
||
|
--- a/dlls/setupapi/devinst.c
|
||
|
+++ b/dlls/setupapi/devinst.c
|
||
|
@@ -3710,6 +3710,19 @@ BOOL WINAPI SetupDiSetDeviceInstallParamsA(
|
||
|
return TRUE;
|
||
|
}
|
||
|
|
||
|
+/***********************************************************************
|
||
|
+ * SetupDiSetDeviceInstallParamsW (SETUPAPI.@)
|
||
|
+ */
|
||
|
+BOOL WINAPI SetupDiSetDeviceInstallParamsW(
|
||
|
+ HDEVINFO DeviceInfoSet,
|
||
|
+ PSP_DEVINFO_DATA DeviceInfoData,
|
||
|
+ PSP_DEVINSTALL_PARAMS_W DeviceInstallParams)
|
||
|
+{
|
||
|
+ FIXME("(%p, %p, %p) stub\n", DeviceInfoSet, DeviceInfoData, DeviceInstallParams);
|
||
|
+
|
||
|
+ return TRUE;
|
||
|
+}
|
||
|
+
|
||
|
static HKEY SETUPDI_OpenDevKey(struct DeviceInfo *devInfo, REGSAM samDesired)
|
||
|
{
|
||
|
HKEY enumKey, key = INVALID_HANDLE_VALUE;
|
||
|
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
|
||
|
index c1dbed5..c8e7677 100644
|
||
|
--- a/dlls/setupapi/setupapi.spec
|
||
|
+++ b/dlls/setupapi/setupapi.spec
|
||
|
@@ -386,7 +386,7 @@
|
||
|
@ stdcall SetupDiSetClassInstallParamsA(ptr ptr ptr long)
|
||
|
@ stdcall SetupDiSetClassInstallParamsW(ptr ptr ptr long)
|
||
|
@ stdcall SetupDiSetDeviceInstallParamsA(ptr ptr ptr)
|
||
|
-@ stub SetupDiSetDeviceInstallParamsW
|
||
|
+@ stdcall SetupDiSetDeviceInstallParamsW(ptr ptr ptr)
|
||
|
@ stdcall SetupDiSetDeviceRegistryPropertyA(ptr ptr long ptr ptr)
|
||
|
@ stdcall SetupDiSetDeviceRegistryPropertyW(ptr ptr long ptr ptr)
|
||
|
@ stub SetupDiSetDriverInstallParamsA
|
||
|
--
|
||
|
2.3.5
|
||
|
|