Enables you to obtain the following information about the apartment and thread that the caller is executing in: apartment type, thread type, and thread GUID. It also allows you to specify a thread GUID.
The IComThreadingInfo interface has these methods.
|IComThreadingInfo::GetCurrentApartmentType||Retrieves the type of apartment in which the caller is executing.|
|IComThreadingInfo::GetCurrentLogicalThreadId||Retrieves the GUID of the thread in which the caller is executing.|
|IComThreadingInfo::GetCurrentThreadType||Retrieves the type of thread in which the caller is executing.|
|IComThreadingInfo::SetCurrentLogicalThreadId||Sets the GUID of the thread in which the caller is executing.|
An instance of this interface for the current context can be obtained using CoGetObjectContext.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||objidl.h (include ObjIdl.h)|