IQueryGuid Class

class IQueryGuid

This interface provides a method very similar to QueryInterface. The  QueryGuid function is more generic and can be used to query an object for any type of pointer based given a GUID. QueryInterface can be thought of as a subset of QueryGuid. QueryGuid is simply a replacement for compiler RTTI.

Defined in: GuidCast.h

Class Members

virtual bool  QueryGuid(REFGUID guid, void **ppvObj)

Cast object to a pointer type given a GUID.