---
title: IOUSBGetEndpointBurstSize
framework: usbdriverkit
role: symbol
role_heading: Function
path: usbdriverkit/iousbgetendpointburstsize
---

# IOUSBGetEndpointBurstSize

Extracts the burst size from endpoint descriptors.

## Declaration

```occ
uint32_t IOUSBGetEndpointBurstSize(uint32_t usbDeviceSpeed, const IOUSBEndpointDescriptor *descriptor, const IOUSBSuperSpeedEndpointCompanionDescriptor *companionDescriptor, const IOUSBSuperSpeedPlusIsochronousEndpointCompanionDescriptor *sspCompanionDescriptor);
```

## Parameters

- `usbDeviceSpeed`: The operational speed of the device.
- `descriptor`: The endpoint descriptor to parse.
- `companionDescriptor`: The SuperSpeed endpoint companion descriptor to parse, or NULL.
- `sspCompanionDescriptor`: The SuperSpeed Plus isochronous endpoint companion descriptor to parse, or NULL.

## Return Value

Return Value The burst size in bytes.

## Discussion

Discussion This method parses endpoint descriptors to determine burst size, which includes mult and burst factors as applicable. SuperSpeed Plus isochronous endpoints return the dwBytesPerInterval field from the IOUSBSuperSpeedPlusIsochronousEndpointCompanionDescriptor parameter.

## See Also

### Endpoint Descriptors

- [IOUSBGetNextEndpointDescriptor](usbdriverkit/iousbgetnextendpointdescriptor.md)
- [IOUSBGetEndpointAddress](usbdriverkit/iousbgetendpointaddress.md)
- [IOUSBGetEndpointDirection](usbdriverkit/iousbgetendpointdirection.md)
- [IOUSBGetEndpointIntervalEncodedMicroframes](usbdriverkit/iousbgetendpointintervalencodedmicroframes.md)
- [IOUSBGetEndpointIntervalFrames](usbdriverkit/iousbgetendpointintervalframes.md)
- [IOUSBGetEndpointIntervalMicroframes](usbdriverkit/iousbgetendpointintervalmicroframes.md)
- [IOUSBGetEndpointMaxPacketSize](usbdriverkit/iousbgetendpointmaxpacketsize.md)
- [IOUSBGetEndpointMaxStreams](usbdriverkit/iousbgetendpointmaxstreams.md)
- [IOUSBGetEndpointMaxStreamsEncoded](usbdriverkit/iousbgetendpointmaxstreamsencoded.md)
- [IOUSBGetEndpointMult](usbdriverkit/iousbgetendpointmult.md)
- [IOUSBGetEndpointNumber](usbdriverkit/iousbgetendpointnumber.md)
- [IOUSBGetEndpointType](usbdriverkit/iousbgetendpointtype.md)
