ReactOS  0.4.13-dev-235-g7373cb3
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 111 of file atlcore.h.

Constructor & Destructor Documentation

◆ CComAutoCriticalSection()

ATL::CComAutoCriticalSection::CComAutoCriticalSection ( )
inline

Definition at line 114 of file atlcore.h.

115  {
117 
118  hResult = CComCriticalSection::Init();
119  ATLASSERT(SUCCEEDED(hResult));
120  }
#define ATLASSERT(expr)
Definition: atlcore.h:42
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 121 of file atlcore.h.

122  {
124  }

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