API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IUSBFUNCTION_GETNUMBEROFENDPOINTPORT1S()

Brew Release
Brew MP 1.0.2
See Also
IUSBFunction_GetEndpointInfo IUSBFunction_SetEndpointPort1
Description
Used to determine the number of IUSBEndpointPort1s that the interface will need. The IUSBEndpointPort1s can represent both an IN and an OUT endpoint. The control zero endpoint should not be represented in this list.
Params
pMe
[in]:
Pointer to an IUSBFunction object
pnEndpointPort1s
[out]:
Pointer to an integer that will contain the number of IUSBEndpointPort1s that are required.
Interface
Prototype
  •    AEEResult IUSBFunction_GetNumberOfEndpointPort1s(IUSBFunction* pMe,
                                                         int* pnEndpointPort1s)
    
Return

  • AEE_SUCCESS : if the operation was successful.
    Another appropriate error code if operation was not successful
Side Effect
  • None
Comments
None.