CComSafeDeleteCriticalSection::Term
The document is archived and information here might be outdated

CComSafeDeleteCriticalSection::Term 

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


HRESULT Term() throw();

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

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.

Show:
© 2016 Microsoft