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.