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.

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.