CComApartment Class Members

Methods

Apartment Marks the starting address of the thread.
GetLockCount Returns the current lock count on the thread.
Lock Increments the lock count on the thread.
Unlock Decrements the lock count on the thread.

Data Members

m_dwThreadID Contains the identifier of the thread.
m_hThread Contains the handle to the thread.
m_nLockCnt Contains the current lock count on the thread.

CComApartment Overview