setupapi: Add CM_Get_Child_Ex stub.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2017-01-27 14:32:30 +02:00 committed by Alexandre Julliard
parent 7e635876f4
commit afa920a73f
4 changed files with 13 additions and 2 deletions

View File

@ -43,7 +43,7 @@
@ stub CM_Free_Res_Des_Ex
@ stub CM_Free_Res_Des_Handle
@ stdcall CM_Get_Child(ptr long long) setupapi.CM_Get_Child
@ stub CM_Get_Child_Ex
@ stdcall CM_Get_Child_Ex(ptr long long ptr) setupapi.CM_Get_Child_Ex
@ stub CM_Get_Class_Key_NameA
@ stub CM_Get_Class_Key_NameW
@ stub CM_Get_Class_Key_Name_ExA

View File

@ -54,7 +54,7 @@
@ stub CM_Free_Res_Des_Ex
@ stub CM_Free_Res_Des_Handle
@ stdcall CM_Get_Child(ptr long long)
@ stub CM_Get_Child_Ex
@ stdcall CM_Get_Child_Ex(ptr long long ptr)
@ stub CM_Get_Class_Key_NameA
@ stub CM_Get_Class_Key_NameW
@ stub CM_Get_Class_Key_Name_ExA

View File

@ -100,6 +100,16 @@ CONFIGRET WINAPI CM_Get_Child(
return CR_SUCCESS;
}
/***********************************************************************
* CM_Get_Child_Ex (SETUPAPI.@)
*/
CONFIGRET WINAPI CM_Get_Child_Ex(
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine)
{
FIXME("%p 0x%08x 0x%08x %p: stub\n", pdnDevInst, dnDevInst, ulFlags, hMachine);
return CR_SUCCESS;
}
/***********************************************************************
* CM_Get_Device_ID_ExA (SETUPAPI.@)
*/

View File

@ -210,6 +210,7 @@ CMAPI CONFIGRET WINAPI CM_Locate_DevNodeW(PDEVINST,DEVINSTID_W,ULONG);
CMAPI CONFIGRET WINAPI CM_Open_DevNode_Key(DEVINST dnDevInst, REGSAM access, ULONG ulHardwareProfile,
REGDISPOSITION disposition, PHKEY phkDevice, ULONG ulFlags);
CMAPI CONFIGRET WINAPI CM_Get_Child(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags);
CMAPI CONFIGRET WINAPI CM_Get_Child_Ex(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine);
#ifdef __cplusplus
}