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).
Parameters
  • 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
Comment
A valid object returns a positive reference count.
  • Follow