Developer

API Reference

ITRIGMLELEMENT_GetAttachedObject()

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
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.
Parameters
  • 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
Comment
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.
  • Follow