CComApartment

This class is used by CComAutoThreadModule to manage an apartment in a thread-pooled EXE module. CComApartment provides methods for incrementing and decrementing the lock count on a thread.

At a Glance

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

Syntax

class CcomApartment

Remarks

ATL for Windows CE does not support the CComApartment::Apartment method of the standard ATL CComApartment class.