共用方式為


USB_DEVICE_CAPABILITY_FIRMWARE_STATUS_DESCRIPTOR 結構 (usbspec.h)

如需描述的相關信息,請參閱 USB 3.2 規格中包含的 3.2 工程變更通知。

語法

typedef struct _USB_DEVICE_CAPABILITY_FIRMWARE_STATUS_DESCRIPTOR {
  UCHAR bLength;
  UCHAR bDescriptorType;
  UCHAR bDevCapabilityType;
  UCHAR bcdDescriptorVersion;
  union {
    ULONG AsUlong;
    struct {
      ULONG GetFirmwareImageHashSupport : 1;
      ULONG DisallowFirmwareUpdateSupport : 1;
      ULONG Reserved : 30;
    };
  } bmAttributes;
} USB_DEVICE_CAPABILITY_FIRMWARE_STATUS_DESCRIPTOR, *PUSB_DEVICE_CAPABILITY_FIRMWARE_STATUS_DESCRIPTOR;

成員

bLength

bDescriptorType

bDevCapabilityType

bcdDescriptorVersion

bmAttributes

bmAttributes.AsUlong

bmAttributes.GetFirmwareImageHashSupport

bmAttributes.DisallowFirmwareUpdateSupport

bmAttributes.Reserved

規格需求

需求
標頭 usbspec.h