_URB_CONTROL_GET_INTERFACE_REQUEST struttura (usb.h)

La struttura _URB_CONTROL_GET_INTERFACE_REQUEST viene usata dai driver client USB per recuperare l'impostazione dell'interfaccia alternativa corrente per un'interfaccia nella configurazione corrente.

Sintassi

struct _URB_CONTROL_GET_INTERFACE_REQUEST {
  struct _URB_HEADER   Hdr;
  PVOID                Reserved;
  ULONG                Reserved0;
  ULONG                TransferBufferLength;
  PVOID                TransferBuffer;
  PMDL                 TransferBufferMDL;
  struct _URB          *UrbLink;
  struct _URB_HCD_AREA hca;
  UCHAR                Reserved1[4];
  USHORT               Interface;
  USHORT               Reserved2;
};

Members

Hdr

Puntatore a una struttura _URB_HEADER che specifica le informazioni sull'intestazione DELL'AREA. Hdr.Function deve essere URB_FUNCTION_GET_INTERFACE e Hdr.Length deve essere uguale sizeof(_URB_CONTROL_GET_INTERFACE_REQUEST)a .

Reserved

Riservato. Non usare.

Reserved0

Riservato. Non usare.

TransferBufferLength

Deve essere 1. Questo membro specifica la lunghezza, in byte, del buffer specificato in TransferBuffer o descritto in TransferBufferMDL. Il driver del controller host restituisce il numero di byte inviati a o letti dalla pipe in questo membro.

TransferBuffer

Puntatore a un buffer residente per il trasferimento o null se viene fornito un MDL in TransferBufferMDL. Il driver del bus restituisce un singolo byte che specifica l'indice dell'impostazione alternativa corrente per l'interfaccia.

TransferBufferMDL

Puntatore a un MDL che descrive un buffer residente o è NULL se viene fornito un buffer in TransferBuffer. Il driver del bus restituisce un singolo byte che specifica l'indice dell'impostazione alternativa corrente per l'interfaccia. Questa MDL deve essere allocata dal pool non a pagina.

UrbLink

Riservato. Non usare.

hca

Riservato. Non usare.

Reserved1[4]

Riservato. Non usare.

Interface

Specifica l'indice definito dal dispositivo del descrittore dell'interfaccia recuperato.

Reserved2

Riservato. Non usare.

Commenti

I membri riservati di questa struttura devono essere considerati opachi e sono riservati per l'uso del sistema.

Requisiti

Requisito Valore
Intestazione usb.h (include Usb.h)

Vedi anche

URB

Strutture USB

_URB_HEADER