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