CComObjectGlobal::Release

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

Decrements the reference count of the object by 1. By default, Release calls _Module::Unlock, where _Module is the global instance of CComModule or a class derived from it.

CComObjectGlobal OverviewClass Members

See Also   CComObjectGlobal::AddRef, CComModule::Unlock