This member function gains access to the critical section object.
BOOL Lock( );
BOOL Lock( DWORD dwTimeout );
| Header file: | Afxmt.h |
| Platforms: | |
| Versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
CCriticalSection Overview, CCriticalSection Member Functions, Synchronization Classes, CSingleLock::Lock