mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Return CR_FAILURE when the function is not implemented
Call the right *_Ex function in CM_Get_Child and CM_Get_Parent svn path=/trunk/; revision=16620
This commit is contained in:
parent
28cb187427
commit
d3d7a7f34b
1 changed files with 6 additions and 6 deletions
|
@ -241,7 +241,7 @@ CONFIGRET WINAPI CM_Get_Child(
|
||||||
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
|
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
|
||||||
{
|
{
|
||||||
TRACE("%p %p %lx\n", pdnDevInst, dnDevInst, ulFlags);
|
TRACE("%p %p %lx\n", pdnDevInst, dnDevInst, ulFlags);
|
||||||
return CM_Get_Sibling_Ex(pdnDevInst, dnDevInst, ulFlags, NULL);
|
return CM_Get_Child_Ex(pdnDevInst, dnDevInst, ulFlags, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ CONFIGRET WINAPI CM_Get_Child_Ex(
|
||||||
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine)
|
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine)
|
||||||
{
|
{
|
||||||
FIXME("%p %lx %lx %lx\n", pdnDevInst, dnDevInst, ulFlags, hMachine);
|
FIXME("%p %lx %lx %lx\n", pdnDevInst, dnDevInst, ulFlags, hMachine);
|
||||||
return CR_SUCCESS;
|
return CR_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -290,7 +290,7 @@ CONFIGRET WINAPI CM_Get_Device_ID_ExA(
|
||||||
FIXME("%lx %p %ld %ld %lx\n",
|
FIXME("%lx %p %ld %ld %lx\n",
|
||||||
dnDevInst, Buffer, BufferLen, ulFlags, hMachine);
|
dnDevInst, Buffer, BufferLen, ulFlags, hMachine);
|
||||||
|
|
||||||
return CR_SUCCESS;
|
return CR_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -525,7 +525,7 @@ CONFIGRET WINAPI CM_Get_Parent(
|
||||||
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
|
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
|
||||||
{
|
{
|
||||||
TRACE("%p %p %lx\n", pdnDevInst, dnDevInst, ulFlags);
|
TRACE("%p %p %lx\n", pdnDevInst, dnDevInst, ulFlags);
|
||||||
return CM_Get_Sibling_Ex(pdnDevInst, dnDevInst, ulFlags, NULL);
|
return CM_Get_Parent_Ex(pdnDevInst, dnDevInst, ulFlags, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -536,7 +536,7 @@ CONFIGRET WINAPI CM_Get_Parent_Ex(
|
||||||
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine)
|
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine)
|
||||||
{
|
{
|
||||||
FIXME("%p %lx %lx %lx\n", pdnDevInst, dnDevInst, ulFlags, hMachine);
|
FIXME("%p %lx %lx %lx\n", pdnDevInst, dnDevInst, ulFlags, hMachine);
|
||||||
return CR_SUCCESS;
|
return CR_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -558,7 +558,7 @@ CONFIGRET WINAPI CM_Get_Sibling_Ex(
|
||||||
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine)
|
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine)
|
||||||
{
|
{
|
||||||
FIXME("%p %lx %lx %lx\n", pdnDevInst, dnDevInst, ulFlags, hMachine);
|
FIXME("%p %lx %lx %lx\n", pdnDevInst, dnDevInst, ulFlags, hMachine);
|
||||||
return CR_SUCCESS;
|
return CR_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue