USBDEVICE_RESET结构(ucxusbdevice.h)

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

语法

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

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

要求

要求 价值
标头 ucxusbdevice.h (include Ucxclass.h)

另请参阅

EVT_UCX_USBDEVICE_RESET