CComCriticalSection::Init
Calls the Win32 function InitializeCriticalSection, which initializes the critical section object contained in the m_sec data member.
HRESULT Init( ) throw( );
Return Value
Returns S_OK on success, E_OUTOFMEMORY or E_FAIL on failure.
Requirements
Header: atlcore.h