CSingleLock::Lock

Call this member function to gain access to the resource controlled by the synchronization object supplied to the CSingleLock constructor.

Syntax

BOOL Lock( DWORD dwTimeOut = INFINITE );

At a Glance

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

See Also

CSingleLock Overview, CSingleLock Member Functions, Synchronization Support