Retrieves the view model associated with the widget. View models are used to provide the user with notifications of when important events such as extent changes occur.
int IWidget_GetViewModel(IWidget *pif, IModel **ppif)
AEE_SUCCESS - Successfully retrieved the view model AEE_EFAILED - Failed to retrieve the view model
The returned view model has its reference count incremented. Please ensure you decrement that count using IModel_Release when you are done.