IComTransaction2Events::OnTransactionPrepare2 method (comsvcs.h)

Generated when the transaction is in the prepare phase of the commit protocol.

Syntax

HRESULT OnTransactionPrepare2(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] REFGUID          guidTx,
  [in] BOOL             fVoteYes
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] guidTx

The transaction identifier.

[in] fVoteYes

The resource manager's result concerning the outcome of the prepare phase.

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

IComTransaction2Events