CComCriticalSection::Term

Calls the Win32 function DeleteCriticalSection, which releases all resources used by the critical section object contained in the m_sec data member.

HRESULT Term( ) throw( );

Return Value

Returns S_OK.

Remarks

Once Term has been called, the critical section can no longer be used for synchronization.

Requirements

Header: atlcore.h

See Also

Reference

CComCriticalSection Class

Other Resources

CComCriticalSection Members