IComResourceEvents::OnResourceRecycle method (comsvcs.h)
Generated when an object is finished with a resource.
Syntax
HRESULT OnResourceRecycle(
[in] COMSVCSEVENTINFO *pInfo,
[in] ULONG64 ObjectID,
[in] LPCOLESTR pszType,
[in] ULONG64 resId
);
Parameters
[in] pInfo
A pointer to a COMSVCSEVENTINFO structure.
[in] ObjectID
The just-in-time activated object.
[in] pszType
A description of the resource.
[in] resId
The unique identifier of the resource.
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 |