IDrawDecorator_GetModel() inherits wholly from IDecorator_GetModel().
- p:Pointer to the IDrawDecorator object.
- i:The class id of the model the draw decorator will use as a source for data.
- ppm:Pointer to an IModel pointer into which the function will return a pointer to the IModel interface that supports the passed class id.
int IDrawDecorator_GetModel(IDrawDecorator *p, AEECLSID i, IModel **ppm);
AEE_SUCCESS - The function was able to successfully locate the model interface identified by the 'i' parameter. AEE_EFAILED - The requested model interface is not currently declared.
A pointer to the model interface associated with the draw decorator implementation is returned in 'ppm', or NULL if the draw decorator implementation does utilize a model interface.