void CComAutoCriticalSection( );
Remarks
The constructor. Calls the Win32 function InitializeCriticalSection, which initializes the critical section object contained in the m_sec data member.
The destructor calls DeleteCriticalSection, which releases all system resources used by the critical section object.