=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: setupapi: Add CM_Get_Device_ID_ExA stub.

Alexandre Julliard julliard at winehq.org
Thu Apr 4 13:54:15 CDT 2013


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Apr  3 18:09:03 2013 +0200

setupapi: Add CM_Get_Device_ID_ExA stub.

---

 dlls/cfgmgr32/cfgmgr32.spec |    2 +-
 dlls/setupapi/setupapi.spec |    2 +-
 dlls/setupapi/stubs.c       |   10 ++++++++++
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dlls/cfgmgr32/cfgmgr32.spec b/dlls/cfgmgr32/cfgmgr32.spec
index 3d687b3..a2ade67 100644
--- a/dlls/cfgmgr32/cfgmgr32.spec
+++ b/dlls/cfgmgr32/cfgmgr32.spec
@@ -64,7 +64,7 @@
 @ stub CM_Get_DevNode_Status_Ex
 @ stdcall CM_Get_Device_IDA(ptr ptr long long) setupapi.CM_Get_Device_IDA
 @ stdcall CM_Get_Device_IDW(ptr ptr long long) setupapi.CM_Get_Device_IDW
-@ stub CM_Get_Device_ID_ExA
+@ stdcall CM_Get_Device_ID_ExA(ptr ptr long long ptr) setupapi.CM_Get_Device_ID_ExA
 @ stdcall CM_Get_Device_ID_ExW(ptr ptr long long ptr) setupapi.CM_Get_Device_ID_ExW
 @ stdcall CM_Get_Device_ID_ListA(str ptr long long) setupapi.CM_Get_Device_ID_ListA
 @ stdcall CM_Get_Device_ID_ListW(wstr ptr long long) setupapi.CM_Get_Device_ID_ListW
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 9733a08..9a13bb2 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -75,7 +75,7 @@
 @ stub CM_Get_DevNode_Status_Ex
 @ stdcall CM_Get_Device_IDA(ptr ptr long long)
 @ stdcall CM_Get_Device_IDW(ptr ptr long long)
-@ stub CM_Get_Device_ID_ExA
+@ stdcall CM_Get_Device_ID_ExA(ptr ptr long long ptr)
 @ stdcall CM_Get_Device_ID_ExW(ptr ptr long long ptr)
 @ stdcall CM_Get_Device_ID_ListA(str ptr long long)
 @ stdcall CM_Get_Device_ID_ListW(wstr ptr long long)
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index d6968a6..030b295 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -79,6 +79,16 @@ CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE handle)
 }
 
 /***********************************************************************
+ *             CM_Get_Device_ID_ExA  (SETUPAPI.@)
+ */
+DWORD WINAPI CM_Get_Device_ID_ExA(
+    DEVINST dnDevInst, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags, HMACHINE hMachine)
+{
+    FIXME("0x%08x %p 0x%08x 0x%08x %p\n", dnDevInst, Buffer, BufferLen, ulFlags, hMachine);
+    return CR_SUCCESS;
+}
+
+/***********************************************************************
  *             CM_Get_Device_ID_ExW  (SETUPAPI.@)
  */
 DWORD WINAPI CM_Get_Device_ID_ExW(




More information about the wine-cvs mailing list