IComResourceEvents::OnResourceTrack method (comsvcs.h)
Generated when a resource is tracked.
Syntax
HRESULT OnResourceTrack(
[in] COMSVCSEVENTINFO *pInfo,
[in] ULONG64 ObjectID,
[in] LPCOLESTR pszType,
[in] ULONG64 resId,
[in] BOOL enlisted
);
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.
[in] enlisted
Indicates whether the resource is enlisted in a transaction.
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 |