ENDPOINTS_CONFIGURE structure (ucxendpoint.h)

Describes endpoints to enable or disable endpoints. This structure is passed by UCX in the EVT_UCX_USBDEVICE_ENDPOINTS_CONFIGURE callback function.

Syntax

typedef struct _ENDPOINTS_CONFIGURE {
  USBDEVICE_MGMT_HEADER             Header;
  ULONG                             EndpointsToEnableCount;
  UCXENDPOINT                       *EndpointsToEnable;
  ULONG                             EndpointsToDisableCount;
  UCXENDPOINT                       *EndpointsToDisable;
  ULONG                             EndpointsEnabledAndUnchangedCount;
  UCXENDPOINT                       *EndpointsEnabledAndUnchanged;
  ENDPOINTS_CONFIGURE_FAILURE_FLAGS FailureFlags;
  ULONG                             ExitLatencyDelta;
  UCHAR                             ConfigurationValue;
  UCHAR                             InterfaceNumber;
  UCHAR                             AlternateSetting;
  ULONG                             Reserved1;
  PVOID                             Reserved2;
} ENDPOINTS_CONFIGURE, *PENDPOINTS_CONFIGURE;

Members

Header

A USBDEVICE_MGMT_HEADER structure that stores handles to the USB hub or device whose endpoints.

EndpointsToEnableCount

The number of endpoints to configure.

EndpointsToEnable

A pointer to the first endpoint handle in the array of endpoints to enable.

EndpointsToDisableCount

The number of endpoints to configure.

EndpointsToDisable

A pointer to the first endpoint handle in the array of endpoints to enable.

EndpointsEnabledAndUnchangedCount

The number of endpoints that were enabled and unchanged.

EndpointsEnabledAndUnchanged

A pointer to the first endpoint handle in the array of endpoints that have not been changed.

FailureFlags

The errors, if any, that might occur when attempting to configure endpoints for the USB device or hub.

ExitLatencyDelta

The Exit Latency Delta (ELD) value. For more information see section 4.6.6.1 of the eXtensible Host Controller Interface specification.

ConfigurationValue

The configuration number of the USB configuration that contains the endpoints.

InterfaceNumber

The interface number of the USB interface that contains the endpoints.

AlternateSetting

The setting number of the alternate setting that contains the endpoints.

Reserved1

Reserved2

Requirements

Requirement Value
Header ucxendpoint.h (include Ucxclass.h, Ucxendpoint.h)

See also

EVT_UCX_USBDEVICE_ENDPOINTS_CONFIGURE