CComSafeDeleteCriticalSection::Term

Calls the base class implementation of CComCriticalSection::Term if the internal CRITICAL_SECTION object is valid.

HRESULT Term() throw();

Return Value

Returns the result of CComCriticalSection::Term, or S_OK if m_bInitialized was set to false upon entry.

Remarks

It is safe to call this method even if the internal CRITICAL_SECTION object is not valid. The destructor of this class calls this method if the m_bInitialized data member is set to true.

Requirements

Header: atlcore.h

See Also

Reference

CComSafeDeleteCriticalSection Class

Other Resources

CComSafeDeleteCriticalSection Members