CSyncObject::Lock

This method gains access to the resource controlled by the synchronization object.

At a Glance

Header file: Afxmt.h
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual BOOL Lock( DWORD dwTimeout = INFINITE );