setupapi: Add CM_Get_Device_ID_ExA stub
André Hentschel
nerv at dawncrow.de
Wed Apr 3 11:09:03 CDT 2013
http://bugs.winehq.org/show_bug.cgi?id=33286
---
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(
--
1.7.10.4
More information about the wine-patches
mailing list