struttura UDECX_ENDPOINTS_CONFIGURE_PARAMS (udecxusbdevice.h)

Contiene le opzioni di configurazione specificate dall'estensione della classe di emulazione del dispositivo USB (UdeCx) al driver client quando l'estensione della classe richiama EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE.

Sintassi

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

Dimensioni di questa struttura.

ConfigureType

Valore tipizzato UDECX_ENDPOINTS_CONFIGURE_TYPE che indica se è necessario configurare la configurazione, l'impostazione dell'interfaccia o l'endpoint.

NewConfigurationValue

Se ConfigureType è UdecxEndpointsConfigureTypeDeviceConfigurationChange, questo valore è bConfigurationValue del nuovo descrittore di configurazione (USB_CONFIGURATION_DESCRIPTOR).

InterfaceNumber

Se ConfigureType è UdecxEndpointsConfigureTypeInterfaceSettingChange, questo valore è bInterfaceNumber del descrittore di interfaccia corrente (USB_INTERFACE_DESCRIPTOR).

NewInterfaceSetting

Se ConfigureType è UdecxEndpointsConfigureTypeInterfaceSettingChange, questo valore è bAlternateSetting del descrittore di interfaccia (USB_INTERFACE_DESCRIPTOR) da impostare.

EndpointsToConfigureCount

Voci di numero nella matrice a cui punta EndpointsToConfigure. Questo valore indica il numero di endpoint che devono essere configurati.

EndpointsToConfigure

Puntatore a una matrice di handle UDECXUSBENDPOINT che indica gli oggetti endpoint da configurare.

Puntatore a una matrice di handle UDECXUSBENDPOINT che indica gli oggetti endpoint che devono essere rilasciati.

ReleasedEndpointsCount

Voci di numero nella matrice a cui punta EndpointsToConfigure. Questo valore indica il numero di endpoint da rilasciare.

ReleasedEndpoints

Requisiti

Requisito Valore
Intestazione udecxusbdevice.h (include Udecx.h)

Vedi anche

EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE