Nui
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Microsoft::WRL::Wrappers::CriticalSection Class Reference

#include <corewrappers.h>

Public Types

typedef Details::SyncLockCriticalSection SyncLock
 

Public Member Functions

 CriticalSection (ULONG spincount=0) throw ()
 
 ~CriticalSection () throw ()
 
_Acquires_lock_ return _Post_same_lock_ return SyncLock Lock () throw ()
 
_Acquires_lock_ return _Post_same_lock_ return SyncLock TryLock () throw ()
 
bool IsValid () const throw ()
 

Static Public Member Functions

_Acquires_lock_ return _Post_same_lock_ static return SyncLock Lock (_In_ CRITICAL_SECTION *cs) throw ()
 
_Acquires_lock_ return _Post_same_lock_ static return SyncLock TryLock (_In_ CRITICAL_SECTION *cs) throw ()
 

Protected Attributes

CRITICAL_SECTION cs_
 

Member Typedef Documentation

◆ SyncLock

Constructor & Destructor Documentation

◆ CriticalSection()

Microsoft::WRL::Wrappers::CriticalSection::CriticalSection ( ULONG  spincount = 0)
throw (
)
inlineexplicit

◆ ~CriticalSection()

Microsoft::WRL::Wrappers::CriticalSection::~CriticalSection ( )
throw (
)
inline

Member Function Documentation

◆ IsValid()

bool Microsoft::WRL::Wrappers::CriticalSection::IsValid ( ) const
throw (
)
inline

◆ Lock() [1/2]

_Acquires_lock_ return _Post_same_lock_ return SyncLock Microsoft::WRL::Wrappers::CriticalSection::Lock ( )
throw (
)
inline

◆ Lock() [2/2]

_Acquires_lock_ return _Post_same_lock_ static return SyncLock Microsoft::WRL::Wrappers::CriticalSection::Lock ( _In_ CRITICAL_SECTION *  cs)
throw (
)
inlinestatic

◆ TryLock() [1/2]

_Acquires_lock_ return _Post_same_lock_ return SyncLock Microsoft::WRL::Wrappers::CriticalSection::TryLock ( )
throw (
)
inline

◆ TryLock() [2/2]

_Acquires_lock_ return _Post_same_lock_ static return SyncLock Microsoft::WRL::Wrappers::CriticalSection::TryLock ( _In_ CRITICAL_SECTION *  cs)
throw (
)
inlinestatic

Member Data Documentation

◆ cs_

CRITICAL_SECTION Microsoft::WRL::Wrappers::CriticalSection::cs_
protected

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