Export (0) Print
Expand All

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.

Community Additions

ADD
Show:
© 2015 Microsoft