// udecxusbdevice.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
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.
SizeSize of this structure.
ConfigureTypeA UDECX_ENDPOINTS_CONFIGURE_TYPE-typed value that indicates whether the configuration, interface setting, or endpoint must be configured.
NewConfigurationValueIf ConfigureType is UdecxEndpointsConfigureTypeDeviceConfigurationChange, this value is bConfigurationValue of the new configuration descriptor (USB_CONFIGURATION_DESCRIPTOR).
InterfaceNumberIf ConfigureType is UdecxEndpointsConfigureTypeInterfaceSettingChange, this value is bInterfaceNumber of the current interface descriptor (USB_INTERFACE_DESCRIPTOR).
NewInterfaceSettingIf ConfigureType is UdecxEndpointsConfigureTypeInterfaceSettingChange, this value is bAlternateSetting of the interface descriptor (USB_INTERFACE_DESCRIPTOR) to set.
EndpointsToConfigureCountThe number entries in the array pointed to by EndpointsToConfigure. This value indicates number of endpoints that must be configured.
EndpointsToConfigureA 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.
ReleasedEndpointsCountThe number entries in the array pointed to by EndpointsToConfigure. This value indicates number of endpoints to release.
ReleasedEndpointsEVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE