CONFIGMG_Get_Bus_Info


CONFIGRET CONFIGMG_Get_Bus_Info(DEVNODE dnDevNode, PCMBUSTYPE pbtBusType, PFARULONG pulSizeOfInfo, PFARVOID pInfo, ULONG ulFlags)

Get bus info of the devnode.

dnDevNode

Handle of a device node.

pbtBusType

Will receive the bus type.

pulSizeOfInfo

Points to the dword that is originally the size of the info buffer and will return the size of the info put in the buffer (minimum of the real info size and the given value). If this points to a 0, pInfo is not touched and the real info size is put in *pulSizeOfInfo.

pInfo

A pointer to the bus-specific buffer to be filled.

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