fnGetAttributeCount


Prototype

size_t __cdecl fnGetAttributeCount ( unsigned long ulThemeKey ); 

Return value

The number of attributes associated with this theme.

Parameters

ulThemeKey

Theme specific data. This value was defined by the plugin in the fnLoadShapes function.

Remarks

This function should be implemented if the plugin supplies attribute data for a theme. It should return the number of columns to be displayed in the data view of ShapeUp.

Example

size_t __cdecl fnGetAttributeCount ( unsigned long ulThemeKey )
{
    MyThemeData *pData = (MyThemeData*) ulThemeKey;
    return pData->nAttributeCount;
} 

See Also

Loader API, fnLoadShapes