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

Developer

API Reference

ICALLMGR_REMOVEORIGOPT()

Brew Release
Brew MP 1.0.2
See Also
IWEBOPTS_RemoveOpt().
Description
Removes the option identified by nOptId at the index. The option identifier must be one of AEET_ORIGOPT_* values.
Params
po
[]:
the interface pointer.
nOptId
[]:
the option identifier.
nIndex
[]:
index to be used if there are multiple AEETOrigOpt of the same id to be removed. nIndex counts from most recently AddOpt()ed option
Interface
  • ICALLMGR
Prototype
  •    int ICALLMGR_RemoveOrigOpt( ICallMgr *po, int32 nOptId, int32 nIndex );
    
Return
  • SUCCESS : the option at the index cleared. EFAILED : specified option is not found.
Side Effect
  • None
Comments
To remove all values of an option : while( SUCCESS == ICALLMGR_RemoveOrigOpt( po, id, 0 ) ) {}