Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CComCritSecLock::CComCritSecLock

 

The constructor.


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

cs

The critical section object.

bInitialLock

The initial lock state: true means locked.

Initializes the critical section object.

Requirements

Header: atlbase.h

Show: