Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This class provides support for managing an appartment in a thread-pooled EXE module.
Important
This class and its members cannot be used in applications that execute in the Windows Runtime.
class CComApartment
Members
Public Constructors
Name |
Description |
---|---|
The constructor. |
Public Methods
Name |
Description |
---|---|
Marks the thread's starting address. |
|
Returns the thread's current lock count. |
|
Increments the thread's lock count. |
|
Decrements the thread's lock count. |
Public Data Members
Name |
Description |
---|---|
Contains the thread's identifier. |
|
Contains the thread's handle. |
|
Contains the thread's current lock count. |
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