CComPolyObject Members

Class Methods

CComPolyObject

The constructor.

~CComPolyObject

The destructor.

FinalConstruct

Performs final initialization of m_contained.

FinalRelease

Performs final destruction of m_contained.

IUnknown Methods

AddRef

Increments the object's reference count.

QueryInterface

Retrieves a pointer to the requested interface.

Release

Decrements the object's reference count.

Data Members

m_contained

Delegates IUnknown calls to the outer unknown if the object is aggregated or to the IUnknown of the object if the object is not aggregated.

Static Functions

CreateInstance

Allows you to create a new CComPolyObject< contained > object without the overhead of CoCreateInstance.

See Also

Concepts

CComPolyObject Class