GET_SELECT_INTERFACE_REQUEST_SIZE macro
The GET_SELECT_INTERFACE_REQUEST_SIZE macro returns the number of bytes required to create a select-interface URB.
Syntax
ULONG GET_SELECT_INTERFACE_REQUEST_SIZE(
[in] ULONG TotalPipes
);
Parameters
- TotalPipes [in]
Specifies the total number of endpoints (pipes) the interface has.
Return value
GET_SELECT_INTERFACE_REQUEST_SIZE returns the number of bytes required to hold an URB to select a new setting for an interface with the given number of pipes.
Requirements
Target platform |
Desktop |
Header |
Usbdlib.h (include Usbdlib.h) |
See also
UsbBuildSelectInterfaceRequest