CMvcComponent::QueryGuid

virtual boolCMvcComponent::QueryGuid(REFGUIDguid, void **ppvObj)

Cast object to a pointer type given a GUID.

Defined in: MvcComponent.h

Return Value

true if object is successfully cast to the new data type, otherwise false.

Parameters

guid

Input GUID that determines the data type to cast to.

ppvObj

Output parameter to receive the result of the cast.

Comments

This implementation of QueryGuid delegates to the model, viewport, and controller objects. This means that the component can be cast to any type support by any of the three aggregrate objects.