Partager via


structure DEVICE_DESCRIPTOR (usbscan.h)

La structure DEVICE_DESCRIPTOR est utilisée comme paramètre pour DeviceIoControl, lorsque le code de contrôle d’E/S spécifié est IOCTL_GET_DEVICE_DESCRIPTOR.

Syntaxe

typedef struct _DEVICE_DESCRIPTOR {
  USHORT usVendorId;
  USHORT usProductId;
  USHORT usBcdDevice;
  USHORT usLanguageId;
} DEVICE_DESCRIPTOR, *PDEVICE_DESCRIPTOR;

Membres

usVendorId

Identificateur du fournisseur.

usProductId

Identificateur de produit de l’appareil.

usBcdDevice

Numéro de version de l’appareil encodé en BCD.

usLanguageId

Non utilisé.

Exigences

Exigence Valeur
d’en-tête usbscan.h (include Usbscan.h)