These macros provide ways of controlling aggregation and of declaring class factories.
| Declares that your object can be aggregated (the default). | |
| Declares the class factory to be CComClassFactory, the ATL default class factory. | |
| Declares your class factory object to be the class factory. | |
| Declares CComClassFactory2 to be the class factory. | |
| Declares CComClassFactoryAutoThread to be the class factory. | |
| Declares CComClassFactorySingleton to be the class factory. | |
| Declares a virtual GetControllingUnknown function. | |
| Declares that your object cannot be aggregated. | |
| Declares that your object must be aggregated. | |
| Checks the value of the outer unknown and declares your object aggregatable or not aggregatable, as appropriate. | |
| Protects the outer object from deletion during construction of an inner object. | |
| Specifies the VIEWSTATUS flags to the container. |