Q3AttributeSet_Get
You can use theQ3AttributeSet_Getfunction to get the data associated with an attribute in an attribute set.
TQ3Status Q3AttributeSet_Get ( TQ3AttributeSet attributeSet, TQ3AttributeType type, void *data);
attributeSet- An attribute set.
type- An attribute type.
data- On entry, a pointer to a structure large enough to hold the attribute data associated with attributes of the specified type. On exit, a pointer to the attribute data of the attribute having the specified type.
DESCRIPTION
TheQ3AttributeSet_Getfunction returns, in thedataparameter, the data currently associated with the attribute whose type is specified by thetypeparameter in the attribute set specified by theattributeSetparameter. If no attribute of that type is in the attribute set,Q3AttributeSet_GetreturnskQ3Failureand posts the errorkQ3ErrorAttributeNotContained.If you pass the value
NULLin thedataparameter, no data is copied back to your application.ERRORS
kQ3ErrorAttributeNotContained