CComApartment::Lock

This method performs an atomic increment on the thread’s lock count. Called by CComAutoThreadModule::Lock.

At a Glance

Header file: Atlbase.h
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

LONG Lock( );