CComObjectGlobal::Release

CComObjectGlobal::Release

Decrements the reference count of the object by 1.

STDMETHOD_(ULONG, Release)( );

In debug builds, Release returns a value that may be useful for diagnostics and testing. In non-debug builds, Release always returns 0.

By default, Release calls _Module::Unlock, where _Module is the global instance of CComModule or a class derived from it.

Header: atlcom.h

Show:
© 2016 Microsoft