You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Added patch with stub for setupapi.SetupDiSelectBestCompatDrv.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
From 0c804c1f6c491384e6b48d2569d130468c6fe28d Mon Sep 17 00:00:00 2001
|
||||
From: Austin English <austinenglish@gmail.com>
|
||||
Date: Sat, 4 Apr 2015 22:43:43 +0200
|
||||
Subject: setupapi: Add stub for SetupDiSelectBestCompatDrv.
|
||||
|
||||
---
|
||||
dlls/setupapi/setupapi.spec | 1 +
|
||||
dlls/setupapi/stubs.c | 11 +++++++++++
|
||||
2 files changed, 12 insertions(+)
|
||||
|
||||
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
|
||||
index c1dbed5..4486994 100644
|
||||
--- a/dlls/setupapi/setupapi.spec
|
||||
+++ b/dlls/setupapi/setupapi.spec
|
||||
@@ -381,6 +381,7 @@
|
||||
@ stdcall SetupDiRegisterDeviceInfo(ptr ptr long ptr ptr ptr)
|
||||
@ stdcall SetupDiRemoveDevice(ptr ptr)
|
||||
@ stub SetupDiRemoveDeviceInterface
|
||||
+@ stdcall SetupDiSelectBestCompatDrv(ptr ptr)
|
||||
@ stub SetupDiSelectDevice
|
||||
@ stub SetupDiSelectOEMDrv
|
||||
@ stdcall SetupDiSetClassInstallParamsA(ptr ptr ptr long)
|
||||
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
|
||||
index a57f5fe..ffc766b 100644
|
||||
--- a/dlls/setupapi/stubs.c
|
||||
+++ b/dlls/setupapi/stubs.c
|
||||
@@ -594,6 +594,17 @@ BOOL WINAPI SetupDiLoadClassIcon(const GUID *ClassGuid, HICON *LargeIcon, PINT M
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
+ * SetupDiSelectBestCompatDrv (SETUPAPI.@)
|
||||
+ */
|
||||
+BOOL WINAPI SetupDiSelectBestCompatDrv(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData)
|
||||
+{
|
||||
+ FIXME(": stub %p, %p\n", DeviceInfoSet, DeviceInfoData);
|
||||
+
|
||||
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
+ return FALSE;
|
||||
+}
|
||||
+
|
||||
+/***********************************************************************
|
||||
* SetupDiSetSelectedDevice (SETUPAPI.@)
|
||||
*/
|
||||
BOOL WINAPI SetupDiSetSelectedDevice(HDEVINFO SetupDiSetSelectedDevice, PSP_DEVINFO_DATA DeviceInfoData)
|
||||
--
|
||||
2.3.3
|
||||
|
1
patches/setupapi-SetupDiSelectBestCompatDrv/definition
Normal file
1
patches/setupapi-SetupDiSelectBestCompatDrv/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: [32088] Add stub for setupapi.SetupDiSelectBestCompatDrv
|
Reference in New Issue
Block a user