CComContainedObject Class Members

Class Methods

CComContainedObject Constructor. Initializes the member pointer to the owner object's IUnknown.
GetControllingUnknown Retrieves the owner object's Iunknown.

IUnknown Methods

AddRef Increments the reference count on the owner object.
QueryInterface Retrieves a pointer to the interface requested on the owner object.
Release Decrements the reference count on the owner object.

CComContainedObject Overview