Developer

API Reference

ITRIGMLEXTENSION_ElementCreated()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
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.
Parameters
  • 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
Comment
None
  • Follow