Austin English : setupapi: Add a stub for SetupDiSetClassInstallParamsW.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 14 14:52:32 CDT 2014


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

Author: Austin English <austinenglish at gmail.com>
Date:   Sun Jul 13 16:45:25 2014 -0700

setupapi: Add a stub for SetupDiSetClassInstallParamsW.

---

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

diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index ef56d2b..966af75 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -3648,6 +3648,20 @@ BOOL WINAPI SetupDiSetClassInstallParamsA(
 }
 
 /***********************************************************************
+ *		SetupDiSetClassInstallParamsW (SETUPAPI.@)
+ */
+BOOL WINAPI SetupDiSetClassInstallParamsW(
+       HDEVINFO  DeviceInfoSet,
+       PSP_DEVINFO_DATA DeviceInfoData,
+       PSP_CLASSINSTALL_HEADER ClassInstallParams,
+       DWORD ClassInstallParamsSize)
+{
+    FIXME("%p %p %x %u\n",DeviceInfoSet, DeviceInfoData,
+          ClassInstallParams->InstallFunction, ClassInstallParamsSize);
+    return FALSE;
+}
+
+/***********************************************************************
  *		SetupDiCallClassInstaller (SETUPAPI.@)
  */
 BOOL WINAPI SetupDiCallClassInstaller(
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index a8ce41a..48ab1e4 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -384,7 +384,7 @@
 @ stub SetupDiSelectDevice
 @ stub SetupDiSelectOEMDrv
 @ stdcall SetupDiSetClassInstallParamsA(ptr ptr ptr long)
-@ stub SetupDiSetClassInstallParamsW
+@ stdcall SetupDiSetClassInstallParamsW(ptr ptr ptr long)
 @ stdcall SetupDiSetDeviceInstallParamsA(ptr ptr ptr)
 @ stub SetupDiSetDeviceInstallParamsW
 @ stdcall SetupDiSetDeviceRegistryPropertyA(ptr ptr long ptr ptr)




More information about the wine-cvs mailing list