UDECX_USB_ENDPOINT_INIT_AND_METADATA structure (udecxusbdevice.h)

Contains the descriptors supported by an endpoint of a virtual USB device.

Syntax

typedef struct _UDECX_USB_ENDPOINT_INIT_AND_METADATA {
  PUDECXUSBENDPOINT_INIT                        UdecxUsbEndpointInit;
  ULONG                                         EndpointDescriptorBufferLength;
  PUSB_ENDPOINT_DESCRIPTOR                      EndpointDescriptor;
  PUSB_SUPERSPEED_ENDPOINT_COMPANION_DESCRIPTOR SuperSpeedEndpointCompanionDescriptor;
} UDECX_USB_ENDPOINT_INIT_AND_METADATA, *PUDECX_USB_ENDPOINT_INIT_AND_METADATA;

Members

UdecxUsbEndpointInit

A pointer to a UDECXUSBDEVICE_INIT structure that contains initialization parameters for the virtual USB device. The client driver retrieved this pointer in the previous call to UdecxUsbDeviceInitAllocate.

EndpointDescriptorBufferLength

The length of the endpoint descriptor.

EndpointDescriptor

Required. A buffer containing the endpoint descriptor. The descriptor is described in a USB_ENDPOINT_DESCRIPTOR structure.

SuperSpeedEndpointCompanionDescriptor

Optional. A USB-defined SuperSpeed Endpoint Companion descriptor. For more information, see section 9.6.7 and Table 9-20 in the official USB 3.0 specification. The descriptor is described in a USB_SUPERSPEED_ENDPOINT_COMPANION_DESCRIPTOR structure.

Requirements

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

See also

EVT_UDECX_USB_DEVICE_ENDPOINT_ADD