Share via


DECLARE_GET_CONTROLLING_UNKNOWN

 

Declares a virtual function GetControllingUnknown.

Syntax

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

Aggregation and Class Factory Macros
ATL Macros
DECLARE_AGGREGATABLE