CONFIGMG_Get_Parent
CONFIGRET CONFIGMG_Get_Parent(PDEVNODE pdnDevNode, DEVNODE dnDevNode, ULONG ulFlags)
Retrieves the handle of the parent of a 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 a handle to the parent device node.
- dnDevNode
- Handle of the child device node.
- ulFlags
- Must be zero.
This function is called by any device driver that needs to walk the hardware tree.
See Also
CONFIGMG_Get_Child, CONFIGMG_Get_Sibling