Brew MP 1.0.2
Resolves and returns the integer value of the given attribute on the given element.
The element for which to get the attribute.
The class ID of the attribute to get. This should be a
KTrigml*ExtensionClassId constant from an extension metadata header.
The attribute ID of the attribute to get. This should be a
KTrigml*Attr* constant from an extension metadata header.
A pointer to receive the address of the resolved integer.
The memory pointed to is owned by the Trigplayer; do not
int ITRIGMLELEMENT_GetIntAttribute(ITrigmlElement* po, AEECLSID classId, uint16 id, const int32** ppIntValue)
If the attribute exists on the element and its value was successfully
resolved, the function will return SUCCESS and *ppValue will point to the
resolved value of the attribute.
If the attribute does not exist on the element, the function will return
SUCCESS and *ppValue will be NULL.
If the attribute exists on the element but the return value is not an integer type,
the function will return ENOTYPE.
If the attribute exists on the element but could not be resolved, the
function will return an appropriate non-SUCCESS error code.
- Any observers of the attribute value will be notified with the new resolved
attribute value. Attribute resolution can therefore be an expensive
operation. Do not call ITRIGMLELEMENT_GetAttribute more often than is