CComObjectRootEx::Lock

This method obtains ownership of a critical section object if the thread model is multithreaded.

At a Glance

Header file: Atlcom.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

void Lock( );

See Also

CComObjectRootEx::Unlock, CComObjectRootEx::m_critsec