CONFIGMG_Get_Child
CONFIGRET CONFIGMG_Get_Child(PDEVNODE pdnDevNode, DEVNODE dnDevNode, ULONG ulFlags)
Retrieves the first child of a given device node.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_INVALID_DEVNODE, CR_INVALID_FLAG, CR_INVALID_POINTER or CR_NO_SUCH_DEVNODE.
- pdnDevNode
- Address that receives the handle of the device node.
- dnDevNode
- Handle of the parent device node.
- ulFlags
- Must be zero.
This function is called by any device driver that needs to walk the hardware tree.
See Als
CONFIGMG_Get_Parent, CONFIGMG_Get_Sibling