Condividi tramite


DECLARE_GET_CONTROLLING_UNKNOWN

Declares a virtual function GetControllingUnknown.

DECLARE_GET_CONTROLLING_UNKNOWN( )

Remarks

Add this macro to your object if you get the compiler error message that GetControllingUnknown is undefined (for example, in CComAggregateCreator).

Requirements

Header: atlcom.h

See Also

Reference

DECLARE_AGGREGATABLE

Other Resources

Aggregation and Class Factory Macros

ATL Macros