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

Developer

API Reference

IBATTERY_ADDREF()

Brew Release
Brew MP 1.0.2
See Also
IBATTERY_Release()
Description
This method increments the reference count of the IBattery Interface object. This allows the object to be shared by multiple callers. The object is freed when the reference count reaches 0 (zero).
Params
po
[in]:
Pointer to the IBattery Interface object
Interface
  • IBATTERY
Prototype
  •    uint32 IBATTERY_AddRef(IBattery *po)
    
Return
  • Incremented reference count for the object
Side Effect
  • None
Comments
A valid object returns a positive reference count.