setupapi: Add stub for CM_Get_Sibling.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Vijay Kiran Kamuju 2019-02-12 21:34:12 +01:00 committed by Alexandre Julliard
parent f0a18f6f19
commit 01b8a79595
6 changed files with 15 additions and 4 deletions

View File

@ -21,7 +21,7 @@
@ stub CM_Get_Device_Interface_PropertyW @ stub CM_Get_Device_Interface_PropertyW
@ stub CM_Get_Device_Interface_Property_KeysW @ stub CM_Get_Device_Interface_Property_KeysW
@ stdcall CM_Get_Parent(ptr long long) setupapi.CM_Get_Parent @ stdcall CM_Get_Parent(ptr long long) setupapi.CM_Get_Parent
@ stub CM_Get_Sibling @ stdcall CM_Get_Sibling(ptr long long) setupapi.CM_Get_Sibling
@ stdcall CM_Locate_DevNodeW(ptr wstr long) setupapi.CM_Locate_DevNodeW @ stdcall CM_Locate_DevNodeW(ptr wstr long) setupapi.CM_Locate_DevNodeW
@ stub CM_Open_Class_KeyW @ stub CM_Open_Class_KeyW
@ stdcall CM_Open_DevNode_Key(long long long long ptr long) setupapi.CM_Open_DevNode_Key @ stdcall CM_Open_DevNode_Key(long long long long ptr long) setupapi.CM_Open_DevNode_Key

View File

@ -21,7 +21,7 @@
@ stub CM_Get_Device_Interface_PropertyW @ stub CM_Get_Device_Interface_PropertyW
@ stub CM_Get_Device_Interface_Property_KeysW @ stub CM_Get_Device_Interface_Property_KeysW
@ stdcall CM_Get_Parent(ptr long long) setupapi.CM_Get_Parent @ stdcall CM_Get_Parent(ptr long long) setupapi.CM_Get_Parent
@ stub CM_Get_Sibling @ stdcall CM_Get_Sibling(ptr long long) setupapi.CM_Get_Sibling
@ stdcall CM_Locate_DevNodeW(ptr wstr long) setupapi.CM_Locate_DevNodeW @ stdcall CM_Locate_DevNodeW(ptr wstr long) setupapi.CM_Locate_DevNodeW
@ stub CM_MapCrToWin32Err @ stub CM_MapCrToWin32Err
@ stub CM_Open_Class_KeyW @ stub CM_Open_Class_KeyW

View File

@ -113,7 +113,7 @@
@ stub CM_Get_Res_Des_Data_Ex @ stub CM_Get_Res_Des_Data_Ex
@ stub CM_Get_Res_Des_Data_Size @ stub CM_Get_Res_Des_Data_Size
@ stub CM_Get_Res_Des_Data_Size_Ex @ stub CM_Get_Res_Des_Data_Size_Ex
@ stub CM_Get_Sibling @ stdcall CM_Get_Sibling(ptr long long) setupapi.CM_Get_Sibling
@ stdcall CM_Get_Sibling_Ex(ptr long long ptr) setupapi.CM_Get_Sibling_Ex @ stdcall CM_Get_Sibling_Ex(ptr long long ptr) setupapi.CM_Get_Sibling_Ex
@ stdcall CM_Get_Version() setupapi.CM_Get_Version @ stdcall CM_Get_Version() setupapi.CM_Get_Version
@ stub CM_Get_Version_Ex @ stub CM_Get_Version_Ex

View File

@ -123,7 +123,7 @@
@ stub CM_Get_Res_Des_Data_Ex @ stub CM_Get_Res_Des_Data_Ex
@ stub CM_Get_Res_Des_Data_Size @ stub CM_Get_Res_Des_Data_Size
@ stub CM_Get_Res_Des_Data_Size_Ex @ stub CM_Get_Res_Des_Data_Size_Ex
@ stub CM_Get_Sibling @ stdcall CM_Get_Sibling(ptr long long)
@ stdcall CM_Get_Sibling_Ex(ptr long long ptr) @ stdcall CM_Get_Sibling_Ex(ptr long long ptr)
@ stdcall CM_Get_Version() @ stdcall CM_Get_Version()
@ stub CM_Get_Version_Ex @ stub CM_Get_Version_Ex

View File

@ -500,6 +500,16 @@ CONFIGRET WINAPI CM_Get_Class_Registry_PropertyW(LPGUID class, ULONG prop, PULON
return CR_FAILURE; return CR_FAILURE;
} }
/***********************************************************************
* CM_Get_Sibling (SETUPAPI.@)
*/
CONFIGRET WINAPI CM_Get_Sibling(
PDEVINST pdnDevInst, DEVINST DevInst, ULONG ulFlags)
{
FIXME("%p 0x%08x 0x%08x: stub\n", pdnDevInst, DevInst, ulFlags);
return CR_FAILURE;
}
/*********************************************************************** /***********************************************************************
* CM_Get_Sibling_Ex (SETUPAPI.@) * CM_Get_Sibling_Ex (SETUPAPI.@)
*/ */

View File

@ -205,6 +205,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) #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(PULONG,DEVINST,ULONG);
CMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size_Ex(PULONG,DEVINST,ULONG,HMACHINE); CMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size_Ex(PULONG,DEVINST,ULONG,HMACHINE);
CMAPI CONFIGRET WINAPI CM_Get_Sibling(PDEVINST,DEVINST,ULONG);
CMAPI CONFIGRET WINAPI CM_Get_Sibling_Ex(PDEVINST pdnDevInst, DEVINST DevInst, ULONG ulFlags, HMACHINE hMachine); CMAPI CONFIGRET WINAPI CM_Get_Sibling_Ex(PDEVINST pdnDevInst, DEVINST DevInst, ULONG ulFlags, HMACHINE hMachine);
CMAPI WORD WINAPI CM_Get_Version(void); CMAPI WORD WINAPI CM_Get_Version(void);
CMAPI CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST,DEVINSTID_A,ULONG); CMAPI CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST,DEVINSTID_A,ULONG);