CONFIGMG_Set_Bus_Info
CONFIGRET CONFIGMG_Set_Bus_Info(DEVNODE dnDevNode, CMBUSTYPE btBusType, ULONG ulSizeOfInfo, PFARVOID pInfo, ULONG ulFlags)
Set bus info in the devnode.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_INVALID_FLAG, CR_INVALID_DEVNODE, CR_INVALID_POINTER, CR_OUT_OF_MEMORY.
- dnDevNode
- Handle of a device node.
- btBusType
- The bus valud (one of BusType*).
- ulSizeOfInfo
- The size of the info buffer pointed by pInfo.
- pInfo
- A pointer to the bus-specific info.
- ulFlags
- Must be zero.
This function appends to the devnode some bus specific info. This function is to be used solely by the immediate parent enumerator of a devnode.
See Also
CONFIGMG_Get_Bus_Info