How can I use USBmakebmRequestType with DriverKit

I'm building a driver in C++ for my iPad using DriverKit.

I'm trying to make a request to a control endpoint, so I'm trying to use DeviceRequesthttps://developer.apple.com/documentation/usbdriverkit/iousbhostinterface/3182582-devicerequest

But the first parameter ask for USBmakebmRequestType which it's a macro defined in IOKit > USB.h I tried to #include <IOKit/USB.h> and #include <IOKit/usb/USB.h> and  but it doesn't find the header.

Any idea? thanks.

In USBDriverKit.framework/Headers/AppleUSBDefinitions.h


enum tIOUSBDeviceRequest
{
    kIOUSBDeviceRequestSize               = 8,
    kIOUSBDeviceRequestDirectionMask      = IOUSBBit(7),
    kIOUSBDeviceRequestDirectionPhase     = IOUSBBitRangePhase(7, 7),
    kIOUSBDeviceRequestDirectionOut       = (kIOUSBDeviceRequestDirectionValueOut << kIOUSBDeviceRequestDirectionPhase),
    kIOUSBDeviceRequestDirectionIn        = (kIOUSBDeviceRequestDirectionValueIn << kIOUSBDeviceRequestDirectionPhase),
    kIOUSBDeviceRequestTypeMask           = IOUSBBitRange(5, 6),
    kIOUSBDeviceRequestTypePhase          = IOUSBBitRangePhase(5, 6),
    kIOUSBDeviceRequestTypeStandard       = (kIOUSBDeviceRequestTypeValueStandard << kIOUSBDeviceRequestTypePhase),
    kIOUSBDeviceRequestTypeClass          = (kIOUSBDeviceRequestTypeValueClass << kIOUSBDeviceRequestTypePhase),
    kIOUSBDeviceRequestTypeVendor         = (kIOUSBDeviceRequestTypeValueVendor << kIOUSBDeviceRequestTypePhase),
    kIOUSBDeviceRequestRecipientMask      = IOUSBBitRange(0, 4),
    kIOUSBDeviceRequestRecipientPhase     = IOUSBBitRangePhase(0, 4),
    kIOUSBDeviceRequestRecipientDevice    = (kIOUSBDeviceRequestRecipientValueDevice << kIOUSBDeviceRequestRecipientPhase),
    kIOUSBDeviceRequestRecipientInterface = (kIOUSBDeviceRequestRecipientValueInterface << kIOUSBDeviceRequestRecipientPhase),
    kIOUSBDeviceRequestRecipientEndpoint  = (kIOUSBDeviceRequestRecipientValueEndpoint << kIOUSBDeviceRequestRecipientPhase),
    kIOUSBDeviceRequestRecipientOther     = (kIOUSBDeviceRequestRecipientValueOther << kIOUSBDeviceRequestRecipientPhase),
};

should be what you are looking for.
How can I use USBmakebmRequestType with DriverKit
 
 
Q