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

Developer

API Reference

IUSBDEVICE_GETSTATE()

Brew Release
Brew MP 1.0.2
See Also
IUSBDevice_SetState IUSBDevice_StateChangeNotification
Description
Used to retrieve the state of the USB device.
Params
me
[in]:
Pointer to an IUSBDevice object
pnState
[out]:
Pointer to an AEEUSBDeviceState that will contain the current state of the device
Interface
Prototype
  •    int IUSBDevice_GetState(IUSBDevice* me, AEEUSBDeviceState *pnState)
    
Return

  • AEE_SUCCESS : if the current state has been returned. AEE_EBADPARM : if pnState is not a valid pointer
    Another appropriate error code if operation was not successful
Side Effect
  • None
Comments
None.