<!--
{
  "availability" : [
    "DriverKit: 19.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USBDriverKit",
  "identifier" : "/documentation/USBDriverKit/IOUSBGetEndpointUsageType",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "USBDriverKit"
    ],
    "preciseIdentifier" : "c:@F@IOUSBGetEndpointUsageType"
  },
  "title" : "IOUSBGetEndpointUsageType"
}
-->

# IOUSBGetEndpointUsageType

```
uint8_t IOUSBGetEndpointUsageType(const IOUSBEndpointDescriptor *descriptor);
```

## Parameters

`descriptor`

The descriptor to parse

## Return Value

tEndpointUsageType indicating the type found.

## Discussion\abstract Extract the usage type of an endpoint from an endpoint descriptor
\discussion This method parses an endpoint descriptor to determine its usage type. Only periodic endpoints have usage types

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)