CMSPCallBase::MSPCallRelease method (mspcall.h)

The MSPCallRelease method is the private Release method for the call object. MSP objects that keep references to the call object must call this method instead of the normal COM Release method so that the reference is kept on the MSP call object instead of on the aggregate TAPI call object. This is crucial to ensure correct object lifetimes. A template helper function, MSPReleaseHelper, is provided to help the derived MSP implement this method. All the derived MSP has to do in its implementation of this method is call "MSPReleaseHelper(this)". This is needed simply to provide the type of the derived class to the template helper function.

Syntax

ULONG MSPCallRelease();

Parameters

This method has no parameters.

Return value

None

Requirements

   
Target Platform Windows
Header mspcall.h

See also

CMSPCallBase