Once the draw decorator implementation has associated itself with a given model interface, it should register as a listener for that model. As a listener, the draw decorator implementation will receive notifications each time the model's data changes, thereby providing the opportunity for the draw decorator implementation to update its display or act in some other meaningful way to reflect the current data.
IDrawDecorator_SetModel() inherits wholly from IDecorator_SetModel().
int IDrawDecorator_SetModel(IDrawDecorator *pif, IModel *pm)
AEE_SUCCESS - The function was able to successfully associate the draw decorator with the specified model interface. AEE_ECLASSNOTSUPPORT - The model interface passed to the function does not support a model interface class ID that is known to the draw decorator.