EncodeRequest
Declaration
#define EncodeRequest(request, direction, type, recipient)Discussion
Macro that encodes the bRequest and bRequestType fields of a IOUSBDevRequest into a single value. It is useful when one needs to know what type of request the IOUSBDevRequest encodes and simplifies comparisons.