CONFIGMG_Locate_DevNode
CONFIGRET CONFIGMG_Locate_DevNode(PDEVNODE pdnDevNode, DEVNODEID pDeviceID, ULONG ulFlags)
Retrieves a pointer to the device node corresponding to a specified device identifier.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_INVALID_DEVICE_ID, CR_INVALID_FLAG, CR_INVALID_POINTER or CR_NO_SUCH_DEVNODE.
- pdnDevNode
- Address that receives the handle of a device node.
- pDeviceID
- Address of a null-terminated string specifying a device identifier. This string is also the name of the corresponding registry key. If this parameter is NULL, the function retrieves a handle to the device node at the root of the hardware tree.
- ulFlags
- Must be zero.