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

Developer

API Reference

ITRIGMLELEMENT_GETATTACHEDOBJECT()

Brew Release
Brew MP 1.0.2
See Also
ITRIGMLELEMENT_AttachObject() ITRIGMLELEMENT_AttachedObjectHandleEvent()
Description
Retrieves the BREW COM object that was previously attached to the element.
The returned pointer is NOT AddRef'd; the caller should not Release it.
Params
po
[]:
The element from which to retrieve the attached object.
Interface
  • ITRIGMLELEMENT
Prototype
  •    IQueryInterface* ITRIGMLELEMENT_GetAttachedObject(ITrigmlElement* po);
    
Return
  •    The object that was previously attached to the element, or NULL if no object
       has been attached.
    
Side Effect
  • None
Comments
If the intention is to pass an event to the attached object it is recommended that the ITRIGMLELEMENT_AttachedObjectHandleEvent() function be used instead; For and explanation of why see the documentation for the ITRIGMLELEMENT_AttachedObjectHandleEvent() function.