IComObjectPool2Events::OnObjPoolGetFromTx2 method (comsvcs.h)

Generated when a transactional object is obtained from the pool.

Syntax

HRESULT OnObjPoolGetFromTx2(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] REFGUID          guidActivity,
  [in] REFGUID          guidObject,
  [in] REFGUID          guidTx,
  [in] ULONG64          objid,
  [in] REFGUID          guidPartition
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] guidActivity

The activity ID for which the object is created.

[in] guidObject

The CLSID for the objects in the pool.

[in] guidTx

The GUID representing the transaction identifier.

[in] objid

The unique identifier for this object.

[in] guidPartition

The partition identifier for this instance.

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

See also

IComObjectPool2Events