ReactOS  0.4.12-dev-57-g7050ac4
ATL::CComAutoCriticalSection Class Reference

#include <atlcore.h>

Inheritance diagram for ATL::CComAutoCriticalSection:
Collaboration diagram for ATL::CComAutoCriticalSection:

Public Member Functions

 CComAutoCriticalSection ()
 
 ~CComAutoCriticalSection ()
 
- Public Member Functions inherited from ATL::CComCriticalSection
 CComCriticalSection ()
 
virtual ~CComCriticalSection ()
 
HRESULT Lock ()
 
HRESULT Unlock ()
 
HRESULT Init ()
 
HRESULT Term ()
 

Additional Inherited Members

- Public Attributes inherited from ATL::CComCriticalSection
CRITICAL_SECTION m_sec
 

Detailed Description

Definition at line 107 of file atlcore.h.

Constructor & Destructor Documentation

◆ CComAutoCriticalSection()

ATL::CComAutoCriticalSection::CComAutoCriticalSection ( )
inline

Definition at line 110 of file atlcore.h.

111  {
113 
114  hResult = CComCriticalSection::Init();
115  ATLASSERT(SUCCEEDED(hResult));
116  }
#define ATLASSERT(expr)
Definition: atlcore.h:38
LONG HRESULT
Definition: typedefs.h:77
#define __MINGW_ATTRIB_UNUSED
Definition: _mingw.h:122
#define SUCCEEDED(hr)
Definition: intsafe.h:57

◆ ~CComAutoCriticalSection()

ATL::CComAutoCriticalSection::~CComAutoCriticalSection ( )
inline

Definition at line 117 of file atlcore.h.

118  {
120  }

The documentation for this class was generated from the following file: