USB_DEVICE_CAPABILITY_FIRMWARE_STATUS_DESCRIPTOR 结构 (usbspec.h)

有关说明的信息,请参阅 USB 3.2 工程更改通知包含在 USB 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

要求

要求
Header usbspec.h