Platform SDK: TAPI

CMSPAddress::MSPAddressRelease

This is the private Release method for the address. MSP objects that keep references to the address must call this method instead of the normal COM Release so that the reference is kept on the MSP address object instead of on the aggregate TAPI address 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.

virtual ULONG MSPAddressRelease() = 0;

Parameters

This method has no parameters.

See Also

CMSPAddress