Windows Dev Center

ITransactionResourceAsync::CommitRequest

The DTC proxy calls this method to commit a transaction (phase two of the two-phase commit protocol).

HRESULT CommitRequest( 
  DWORD grfRM,  XACTUOW * pNewUOW);

grfRM
[in] Values from XACTRM.

pNewUOW
[in] Always NULL

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK
Success: the resource manager's transaction object has started committing.

The resource manager needs to return from this call as soon as it has asynchronously started a request to commit its enlistment object. After the enlistment object is committed, the resource manager needs to call ITransactionEnlistmentAsync::CommitRequestDone.

For an explanation of the requirement values, see Requirements.

Platforms: Windows 2000, Windows XP, Windows Server 2003

Header: Declared in txcoord.h

Show:
© 2015 Microsoft