Commit 074345ed authored by Tim Wanders's avatar Tim Wanders Committed by Alexandre Julliard

setupapi: Return CR_NO_SUCH_DEVNODE from CM_Get_Parent stub.

parent b1fa1e9a
......@@ -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;
}
/***********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment