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

Developer

API Reference

IUSERCODEMANAGER_FREE()

Brew Release
Brew MP 1.0.2
See Also
IUSERCODEMANAGER_Allocate()
Description
This function returnes a 16 bit unsigned user code for allocation by other clients in the applet
Interface
  • IUSERCODEMANAGER
Prototype
  •    int IUSERCODEMANAGER_Free (IUserCodeManager* po, uint16 nUserCode)
    
    Parameters
    
       po :         poiner to the IUserCodeManager interface object
       nUserCode :  the address of where to store the user code
    
Return
  •    SUCCESS - nUserCode pointed to a previously allocated user code which has now been freed
       Any other value is an error code, eg ENOMEMORY
    

    Comments :
    Side Effects : Set of currently allocated user codes re-persisted using IPersistentStorage