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
| Header | 
 | 
|---|
See also
Send comments about this topic to Microsoft
Build date: 12/5/2013
        Show:
        
        
    

