---
title: USBmakebmRequestType
framework: IOKit
role: symbol
role_heading: Macro
platforms: [Mac Catalyst 13.0+, macOS 10.0+]
path: iokit/usbmakebmrequesttype
---

# USBmakebmRequestType

## Declaration

```occ
#define USBmakebmRequestType(direction, type, recipient)
```

## Discussion

Macro to encode the bRequest field of a Device Request. It is used when constructing an IOUSBDevRequest.

## See Also

### Miscellaneous

- [EncodeRequest](encoderequest.md)
