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

Developer

API Reference

ITRIGMLEXTENSION_ELEMENTCREATED()

Brew Release
Brew MP 1.0.2
Description
Called by Trigplayer to notify the extension that it has created an element.
It the extension wishes to store state alongside the DOM node, it should use ITRIGMLELEMENT_AttachObject() or ITRIGMLELEMENT_AttachData(). ITRIGMLELEMENT_AttachObject() is reserved for use by the extension that defines the element.
Every loaded extension is notified for every element that is created. You should return SUCCESS if there is no action for your extension to take for this element.
Params
po
[]:
A pointer to an ITrigmlExtension object.
node
[]:
A pointer to the newly-created Trigml element.
Interface
  • ITRIGMLEXTENSION
Prototype
  •    int ITRIGMLEXTENSION_ElementCreated(ITrigmlExtension* po, ITrigmlElement* node);
    
Return
  •    A BREW error code.
    
Side Effect
  • None
Comments
None