From: "Olivier F. R. Dierick" o.dierick@piezo-forte.be
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56265 --- dlls/cfgmgr32/cfgmgr32.spec | 2 +- dlls/setupapi/setupapi.spec | 1 + dlls/setupapi/stubs.c | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/dlls/cfgmgr32/cfgmgr32.spec b/dlls/cfgmgr32/cfgmgr32.spec index e4cd845e2a4..4e5992315c5 100644 --- a/dlls/cfgmgr32/cfgmgr32.spec +++ b/dlls/cfgmgr32/cfgmgr32.spec @@ -91,7 +91,7 @@ @ stdcall CM_Get_Device_Interface_List_SizeW(ptr ptr wstr long) setupapi.CM_Get_Device_Interface_List_SizeW @ stdcall CM_Get_Device_Interface_List_Size_ExA(ptr ptr str long ptr) setupapi.CM_Get_Device_Interface_List_Size_ExA @ stdcall CM_Get_Device_Interface_List_Size_ExW(ptr ptr wstr long ptr) setupapi.CM_Get_Device_Interface_List_Size_ExW -@ stub CM_Get_Device_Interface_PropertyW +@ stdcall CM_Get_Device_Interface_PropertyW(wstr ptr ptr ptr ptr long) setupapi.CM_Get_Device_Interface_PropertyW @ stub CM_Get_First_Log_Conf @ stub CM_Get_First_Log_Conf_Ex @ stub CM_Get_Global_State diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index 4d144fe739b..984649b708d 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -101,6 +101,7 @@ @ stdcall CM_Get_Device_Interface_List_SizeW(ptr ptr wstr long) @ stdcall CM_Get_Device_Interface_List_Size_ExA(ptr ptr str long ptr) @ stdcall CM_Get_Device_Interface_List_Size_ExW(ptr ptr wstr long ptr) +@ stdcall CM_Get_Device_Interface_PropertyW(wstr ptr ptr ptr ptr long) @ stub CM_Get_First_Log_Conf @ stub CM_Get_First_Log_Conf_Ex @ stub CM_Get_Global_State diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c index 75185de047c..9efe277b3fa 100644 --- a/dlls/setupapi/stubs.c +++ b/dlls/setupapi/stubs.c @@ -411,6 +411,16 @@ CONFIGRET WINAPI CM_Get_Device_Interface_AliasW(const WCHAR *interface, GUID *cl return CR_FAILURE; }
+/*********************************************************************** + * CM_Get_Device_Interface_PropertyW (SETUPAPI.@) + */ +CONFIGRET WINAPI CM_Get_Device_Interface_PropertyW(const WCHAR *interface, PDEVPROPKEY key, + PDEVPROPTYPE type, PVOID buf, ULONG *len, ULONG flags) +{ + FIXME("%s %p %p %p %p 0x%08lx: stub\n", debugstr_w(interface), key, type, buf, len, flags); + return CR_INVALID_PROPERTY; +} + /*********************************************************************** * CM_Get_DevNode_Registry_Property_ExA (SETUPAPI.@) */