Stefan Leichter : setupapi: Add a stub for SetupDiSetDeviceInstallParamsA.

Alexandre Julliard julliard at winehq.org
Fri Apr 19 14:25:06 CDT 2013


Module: wine
Branch: master
Commit: a829c2b3ad5ac82ad658a22722f169a7d19dea75
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a829c2b3ad5ac82ad658a22722f169a7d19dea75

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Thu Apr 18 21:28:24 2013 +0200

setupapi: Add a stub for SetupDiSetDeviceInstallParamsA.

---

 dlls/setupapi/devinst.c     |   13 +++++++++++++
 dlls/setupapi/setupapi.spec |    2 +-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index c93b2c1..6ddebb0 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -3706,6 +3706,19 @@ BOOL WINAPI SetupDiGetDeviceInstallParamsA(
     return FALSE;
 }
 
+/***********************************************************************
+ *              SetupDiSetDeviceInstallParamsA  (SETUPAPI.@)
+ */
+BOOL WINAPI SetupDiSetDeviceInstallParamsA(
+       HDEVINFO DeviceInfoSet,
+       PSP_DEVINFO_DATA DeviceInfoData,
+       PSP_DEVINSTALL_PARAMS_A 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 b412e75..16cd339 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -385,7 +385,7 @@
 @ stub SetupDiSelectOEMDrv
 @ stdcall SetupDiSetClassInstallParamsA(ptr ptr ptr long)
 @ stub SetupDiSetClassInstallParamsW
-@ stub SetupDiSetDeviceInstallParamsA
+@ stdcall SetupDiSetDeviceInstallParamsA(ptr ptr ptr)
 @ stub SetupDiSetDeviceInstallParamsW
 @ stdcall SetupDiSetDeviceRegistryPropertyA(ptr ptr long ptr ptr)
 @ stdcall SetupDiSetDeviceRegistryPropertyW(ptr ptr long ptr ptr)




More information about the wine-cvs mailing list