setupapi: Return CR_NO_SUCH_DEVNODE from CM_Get_Parent stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Tim Wanders 2018-04-01 21:48:49 +00:00 committed by Alexandre Julliard
parent b1fa1e9a6d
commit 074345edd6
1 changed files with 3 additions and 2 deletions

View File

@ -180,8 +180,9 @@ CONFIGRET WINAPI CM_Get_Device_ID_List_SizeW( PULONG pulLen, PCWSTR pszFilter,
DWORD WINAPI CM_Get_Parent(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
{
FIXME("%p 0x%08x 0x%08x stub\n", pdnDevInst, dnDevInst, ulFlags);
*pdnDevInst = dnDevInst;
return CR_SUCCESS;
if(pdnDevInst)
*pdnDevInst = 0;
return CR_NO_SUCH_DEVNODE;
}
/***********************************************************************