1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

cfgmgr32: Add CM_Get_Device_Interface_PropertyW stub.

This commit is contained in:
Helix Graziani 2024-01-29 19:24:07 -05:00 committed by Alexandre Julliard
parent e450bf42ab
commit 91d60983ac
3 changed files with 16 additions and 1 deletions

View file

@ -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)
@ stub CM_Get_First_Log_Conf
@ stub CM_Get_First_Log_Conf_Ex
@ stub CM_Get_Global_State

View file

@ -67,3 +67,16 @@ CONFIGRET WINAPI CM_Register_Notification( CM_NOTIFY_FILTER *filter, void *conte
return CR_CALL_NOT_IMPLEMENTED;
}
/***********************************************************************
* CM_Get_Device_Interface_PropertyW (cfgmgr32.@)
*/
CONFIGRET WINAPI CM_Get_Device_Interface_PropertyW( LPCWSTR device_interface, const DEVPROPKEY *property_key,
DEVPROPTYPE *property_type, BYTE *property_buffer,
ULONG *property_buffer_size, ULONG flags )
{
FIXME("%s %p %p %p %p %ld stub!\n", debugstr_w(device_interface), property_key, property_type,
property_buffer, property_buffer_size, flags);
return CR_CALL_NOT_IMPLEMENTED;
}

View file

@ -26,6 +26,7 @@
#endif
#include <winreg.h>
#include <devpropdef.h>
/* cfgmgr32 doesn't use the normal convention, it adds an underscore before A/W */
#ifdef WINE_NO_UNICODE_MACROS
@ -312,6 +313,7 @@ CMAPI CONFIGRET WINAPI CM_Get_Device_ID_List_ExW(PCWSTR,PWCHAR,ULONG,ULONG,HMACH
#define CM_Get_Device_ID_List_Ex WINELIB_NAME_AW(CM_Get_Device_ID_List_Ex)
CMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size(PULONG,DEVINST,ULONG);
CMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size_Ex(PULONG,DEVINST,ULONG,HMACHINE);
CMAPI CONFIGRET WINAPI CM_Get_Device_Interface_PropertyW(LPCWSTR,const DEVPROPKEY*,DEVPROPTYPE*,PBYTE,PULONG,ULONG);
CMAPI CONFIGRET WINAPI CM_Get_DevNode_Status(PULONG,PULONG,DEVINST,ULONG);
CMAPI CONFIGRET WINAPI CM_Get_DevNode_Status_Ex(PULONG,PULONG,DEVINST,ULONG,HMACHINE);
CMAPI CONFIGRET WINAPI CM_Get_Sibling(PDEVINST,DEVINST,ULONG);