Partager via


CComCritSecLock::CComCritSecLock

The constructor.

CComCritSecLock( 
   TLock& cs, 
   bool bInitialLock = true  
);

Parameters

  • cs
    The critical section object.

  • bInitialLock
    The initial lock state: true means locked.

Remarks

Initializes the critical section object.

Requirements

Header: atlbase.h

See Also

Reference

CComCritSecLock Class

CComCritSecLock::~CComCritSecLock