Q3AttributeSet_Add
You can use the Q3AttributeSet_Add function to add an attribute to an attribute set.
TQ3Status Q3AttributeSet_Add (
TQ3AttributeSet attributeSet,
TQ3AttributeType type,
const void *data);
attributeSet
- An attribute set.
type
- An attribute type.
data
- A pointer to the attribute's data.
DESCRIPTION
The Q3AttributeSet_Add function adds the attribute specified by the type and data parameters to the attribute set specified by the attributeSet parameter. The attribute set must already exist when you call Q3AttributeSet_Add. If that attribute set already contains an attribute of the specified type, Q3AttributeSet_Add replaces that attribute with the one specified by the type and data parameters. Note that the attribute data is copied into the attribute set. Accordingly, you can reuse the data parameter once you have called Q3AttributeSet_Add.