ROOTHUB_INFO结构(ucxroothub.h)
提供有关 USB 根中心的信息。 此结构由 EVT_UCX_ROOTHUB_GET_INFO 回调函数中的 UCX 传递。
语法
typedef struct _ROOTHUB_INFO {
ULONG Size;
CONTROLLER_TYPE ControllerType;
USHORT NumberOf20Ports;
USHORT NumberOf30Ports;
USHORT MaxU1ExitLatency;
USHORT MaxU2ExitLatency;
} ROOTHUB_INFO, *PROOTHUB_INFO;
成员
Size
此结构的大小(以字节为单位)。
ControllerType
一个 CONTROLLER_TYPE 值,该值标识具有根中心的 eXtensible 主机控制器接口(xHCI)的类型。
NumberOf20Ports
连接到根中心的 USB 2.0 端口数。
NumberOf30Ports
连接到根中心的 USB 3.0 端口数。
MaxU1ExitLatency
U1 转换最慢的链接的退出延迟。
MaxU2ExitLatency
U2 转换最慢的链接的退出延迟。
要求
要求 | 价值 |
---|---|
标头 | ucxroothub.h (包括 Ucxclass.h) |