This function takes the following parameters:
Attribute of which you wish to get the type.
When you call this function, this parameter is set to a pointer to the type of the specified attribute. Do not free this attribute type; the type is part of the actual data in the attribute, not a copy of the data.