IDecorator_GetModel() inherits wholly from IWIDGET_GetModel().
int IDecorator_GetModel(IDecorator *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 decorator implementation is returned in 'ppm', or NULL if the decorator implementation does not utilize a model interface.