CCriticalSection::Lock

This member function gains access to the critical section object.

Syntax

BOOL Lock( );

BOOL Lock( DWORD dwTimeout );

At a Glance

Header file: Afxmt.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CCriticalSection Overview, CCriticalSection Member Functions, Synchronization Classes, CSingleLock::Lock