IComTransactionEvents::OnTransactionStart method (comsvcs.h)

Generated when a Microsoft Distributed Transaction Coordinator (DTC) transaction starts.

Syntax

HRESULT OnTransactionStart(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] REFGUID          guidTx,
  [in] REFGUID          tsid,
  [in] BOOL             fRoot
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] guidTx

The transaction identifier.

[in] tsid

The transaction stream identifier; a unique identifier for correlation to objects.

[in] fRoot

Indicates whether this is a root 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

See also

IComTransactionEvents