GET_USBD_INTERFACE_SIZE macro
The GET_USBD_INTERFACE_SIZE macro returns the number of bytes required to hold a USBD_INTERFACE_INFORMATION interface descriptor with its associated endpoint descriptors.
Syntax
ULONG GET_USBD_INTERFACE_SIZE(
[in] ULONG TotalEndpoints
);
Parameters
- TotalEndpoints [in]
Specifies the total number of endpoints (pipes) the interface has.
Return value
GET_USBD_INTERFACE_SIZE returns the number of bytes required to hold a USBD_INTERFACE_INFORMATION structure describing the interface and a USBD_PIPE_INFORMATION structure for each endpoint in the interface.
Requirements
Target platform |
Desktop |
Header |
Usbdlib.h (include Usbdlib.h) |
See also