Interface BosDescriptor

A structure representing the Binary Device Object Store (BOS) descriptor

interface BosDescriptor {
    bDescriptorType: number;
    bLength: number;
    bNumDeviceCaps: number;
    capabilities: CapabilityDescriptor[];
    wTotalLength: number;
}

Properties

bDescriptorType: number

Descriptor type.

bLength: number

Size of this descriptor (in bytes)

bNumDeviceCaps: number

The number of separate device capability descriptors in the BOS.

capabilities: CapabilityDescriptor[]

Device Capability Descriptors

wTotalLength: number

Length of this descriptor and all of its sub descriptors.