DECLARE_POLY_AGGREGATABLE

This macro specifies that an instance of CComPolyObject < x > is created when your object is created. During creation, the value of the outer unknown is checked. If it is NULL, IUnknown is implemented for a nonaggregated object.

At a Glance

Header file: Atlcom.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

DECLARE_POLY_AGGREGATABLE( x )

See Also

ATL Macros and Global Functions, CComPolyObject, CComAggObject, CComObject