|
||
The interface definition's destructor must call the static function
REComSession::DestroyedImplementation()
to signal the
object's destruction to ECom, passing the initialised instance identifier key.
Note that you must not call
REComSession::FinalClose()
in the interface destructor, or
elsewhere in the interface. This must be done by the client: see
How to clean up with FinalClose().
inline CExampleInterfaceDefinition::~CExampleInterfaceDefinition()
{
REComSession::DestroyedImplementation(iDtor_ID_Key);
}