CComObjectGlobal::Release
Decrements the reference count of the object by 1.
STDMETHOD_(ULONG, Release)( );
Return Value
In debug builds, Release returns a value that may be useful for diagnostics and testing. In non-debug builds, Release always returns 0.
Remarks
By default, Release calls _Module::Unlock, where _Module is the global instance of CComModule or a class derived from it.
Requirements
Header: atlcom.h