---
title: wTotalLength
framework: usbdriverkit
role: symbol
role_heading: Instance Property
path: usbdriverkit/iousbbosdescriptor/wtotallength
---

# wTotalLength

The length, in bytes, of the descriptor and all of its subdescriptors.

## Declaration

```occ
uint16_t wTotalLength;
```

## See Also

### Accessing the Descriptor Properties

- [bLength](usbdriverkit/iousbbosdescriptor/blength.md)
- [bDescriptorType](usbdriverkit/iousbbosdescriptor/bdescriptortype.md)
- [bNumDeviceCaps](usbdriverkit/iousbbosdescriptor/bnumdevicecaps.md)
