CComCritSecLock::CComCritSecLock

 

The constructor.

Syntax

      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

CComCritSecLock Class
CComCritSecLock::~CComCritSecLock