---
title: IOUSBGetEndpointType
framework: usbdriverkit
role: symbol
role_heading: Function
path: usbdriverkit/iousbgetendpointtype
---

# IOUSBGetEndpointType

Extracts the type of an endpoint from an endpoint descriptor.

## Declaration

```occ
uint8_t IOUSBGetEndpointType(const IOUSBEndpointDescriptor *descriptor);
```

## Parameters

- `descriptor`: The descriptor to parse.

## Return Value

Return Value The endpoint type.

## Discussion

Discussion This method parses an endpoint descriptor to determine its type.

## See Also

### Endpoint Descriptors

- [IOUSBGetNextEndpointDescriptor](usbdriverkit/iousbgetnextendpointdescriptor.md)
- [IOUSBGetEndpointAddress](usbdriverkit/iousbgetendpointaddress.md)
- [IOUSBGetEndpointBurstSize](usbdriverkit/iousbgetendpointburstsize.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)
