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.
- pif:[in] Pointer to the IWidget interface object.
- ppif:[out] On successful termination, stores a pointer to the ViewModel currently being used by the widget (pif).
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.