共用方式為


CComApartment Class

This class provides support for managing an appartment in a thread-pooled EXE module.

class CComApartment

Remarks

CComApartment 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.

Requirements

Header: atlbase.h

See Also

Concepts

CComApartment Members

ATL Class Overview