IComThreadEvents::OnThreadUnBind method (comsvcs.h)
Generated when the lifetime of the configured component is over and the activity count on the apartment thread can be decremented.
Syntax
HRESULT OnThreadUnBind(
[in] COMSVCSEVENTINFO *pInfo,
[in] ULONG64 ThreadID,
[in] ULONG64 AptID,
[in] DWORD dwActCnt
);
Parameters
[in] pInfo
A pointer to a COMSVCSEVENTINFO structure.
[in] ThreadID
The unique thread identifier.
[in] AptID
The apartment identifier.
[in] dwActCnt
The number of current activities on the apartment thread.
Return value
The user verifies the return values from this method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | comsvcs.h |