共用方式為


CComApartment Members

Methods

Apartment

Marks the thread's starting address.

CComApartment

The constructor.

GetLockCount

Returns the thread's current lock count.

Lock

Increments the thread's lock count.

Unlock

Decrements the thread's lock count.

Data Members

m_dwThreadID

Contains the thread's identifier.

m_hThread

Contains the thread's handle.

m_nLockCnt

Contains the thread's current lock count.

See Also

Reference

CComApartment Class