Call this member function to gain access to the resource controlled by the synchronization object supplied to the CSingleLock constructor.
BOOL Lock( DWORD dwTimeOut = INFINITE );
| Header file: | Afxmt.h | 
| Platforms: | |
| Versions: | 1.0 and later | 
| Complete documentation: | Visual C++ documentation | 
CSingleLock Overview, CSingleLock Member Functions, Synchronization Support