UDECX_ENDPOINTS_CONFIGURE_PARAMS structure (udecxusbdevice.h)

Contains the configuration options specified by USB device emulation class extension (UdeCx) to the client driver when the class extension invokes EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE.

Syntax

typedef struct _UDECX_ENDPOINTS_CONFIGURE_PARAMS {
  ULONG                          Size;
  UDECX_ENDPOINTS_CONFIGURE_TYPE ConfigureType;
  UCHAR                          NewConfigurationValue;
  UCHAR                          InterfaceNumber;
  UCHAR                          NewInterfaceSetting;
  ULONG                          EndpointsToConfigureCount;
  UDECXUSBENDPOINT               *EndpointsToConfigure;
  ULONG                          ReleasedEndpointsCount;
  UDECXUSBENDPOINT               *ReleasedEndpoints;
} UDECX_ENDPOINTS_CONFIGURE_PARAMS, *PUDECX_ENDPOINTS_CONFIGURE_PARAMS;

Members

Size

Size of this structure.

ConfigureType

A UDECX_ENDPOINTS_CONFIGURE_TYPE-typed value that indicates whether the configuration, interface setting, or endpoint must be configured.

NewConfigurationValue

If ConfigureType is UdecxEndpointsConfigureTypeDeviceConfigurationChange, this value is bConfigurationValue of the new configuration descriptor (USB_CONFIGURATION_DESCRIPTOR).

InterfaceNumber

If ConfigureType is UdecxEndpointsConfigureTypeInterfaceSettingChange, this value is bInterfaceNumber of the current interface descriptor (USB_INTERFACE_DESCRIPTOR).

NewInterfaceSetting

If ConfigureType is UdecxEndpointsConfigureTypeInterfaceSettingChange, this value is bAlternateSetting of the interface descriptor (USB_INTERFACE_DESCRIPTOR) to set.

EndpointsToConfigureCount

The number entries in the array pointed to by EndpointsToConfigure. This value indicates number of endpoints that must be configured.

EndpointsToConfigure

A pointer to an array of UDECXUSBENDPOINT handles that indicates the endpoint objects to be configured.

A pointer to an array of UDECXUSBENDPOINT handles that indicates the endpoint objects that must be released.

ReleasedEndpointsCount

The number entries in the array pointed to by EndpointsToConfigure. This value indicates number of endpoints to release.

ReleasedEndpoints

Requirements

Requirement Value
Header udecxusbdevice.h (include Udecx.h)

See also

EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE