CComObjectRootEx::Lock

If the thread model is multi-threaded, this function obtains ownership of a critical section object.

Syntax

void Lock( );

At a Glance

Header file: Atlcom.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComObjectRootEx Overview, CComObjectRootEx Methods, CComObjectRootEx::Unlock, CComObjectRootEx::m_critsec