USBDEVICE_RESET 结构 (ucxusbdevice.h)

包含重置指定设备的请求的参数。 此结构由 UCX 在请求参数 (Parameters.Others.Arg1) EVT_UCX_USBDEVICE_RESET 回调函数的框架请求对象传递。

语法

typedef struct _USBDEVICE_RESET {
  USBDEVICE_MGMT_HEADER Header;
  UCXENDPOINT           DefaultEndpoint;
  ULONG                 EndpointsToDisableCount;
  UCXENDPOINT           *EndpointsToDisable;
} USBDEVICE_RESET, *PUSBDEVICE_RESET;

成员

Header

包含 USB 集线器或设备的句柄 的USBDEVICE_MGMT_HEADER 结构。

DefaultEndpoint

USB 集线器或设备的默认终结点。

EndpointsToDisableCount

要禁用的终结点数。

EndpointsToDisable

指向要禁用的终结点的句柄数组的指针。

要求

要求
Header ucxusbdevice.h (包括 Ucxclass.h)

另请参阅

EVT_UCX_USBDEVICE_RESET