Christian Gmeiner : setupapi: Add stub for SetupDiCreateDeviceInfoW.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 20 06:20:49 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 41aefd8c62bf4798fec567cb00afd0d98328e23a
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=41aefd8c62bf4798fec567cb00afd0d98328e23a

Author: Christian Gmeiner <christian.gmeiner at students.fhv.at>
Date:   Wed Jul 19 19:58:47 2006 +0200

setupapi: Add stub for SetupDiCreateDeviceInfoW.

---

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

diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index 7d076b8..0b07ece 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -697,6 +697,27 @@ SetupDiCreateDeviceInfoListExW(const GUI
 }
 
 /***********************************************************************
+ *              SetupDiCreateDeviceInfoW (SETUPAPI.@)
+ */
+BOOL WINAPI SetupDiCreateDeviceInfoW(
+       HDEVINFO DeviceInfoSet,
+       PCWSTR DeviceName,
+       CONST GUID *ClassGuid,
+       PCWSTR DeviceDescription,
+       HWND hwndParent,
+       DWORD CreationFlags,
+       PSP_DEVINFO_DATA DeviceInfoData)
+{
+    TRACE("%p %s %s %s %p %lx %p\n", DeviceInfoSet, debugstr_w(DeviceName),
+        debugstr_guid(ClassGuid), debugstr_w(DeviceDescription),
+        hwndParent, CreationFlags, DeviceInfoData);
+
+    FIXME("stub");
+
+    return FALSE;
+}
+
+/***********************************************************************
  *		SetupDiEnumDeviceInfo (SETUPAPI.@)
  */
 BOOL WINAPI SetupDiEnumDeviceInfo(
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 6f9536c..7f8b285 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -286,7 +286,7 @@
 @ stdcall SetupDiCreateDeviceInfoList(ptr ptr)
 @ stdcall SetupDiCreateDeviceInfoListExA(ptr long str ptr)
 @ stdcall SetupDiCreateDeviceInfoListExW(ptr long str ptr)
-@ stub SetupDiCreateDeviceInfoW
+@ stdcall SetupDiCreateDeviceInfoW(long wstr ptr wstr long long ptr)
 @ stub SetupDiDeleteDevRegKey
 @ stub SetupDiDeleteDeviceInfo
 @ stub SetupDiDeleteDeviceInterfaceData




More information about the wine-cvs mailing list