IComThreadEvents::OnThreadAssignApartment method (comsvcs.h)
Generated when an activity is assigned to an apartment thread.
HRESULT OnThreadAssignApartment( [in] COMSVCSEVENTINFO *pInfo, [in] REFGUID guidActivity, [in] ULONG64 AptID );
A pointer to a COMSVCSEVENTINFO structure.
The activity identifier for which the object is created.
The apartment identifier.
The user verifies the return values from this method.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|