Share via


IDtcLuRmEnlistmentFactory::Create

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The Create method creates a new subordinate LU 6.2 enlistment in a transaction.

Syntax

HRESULT RequestCommit (

[in] unsigned char *  pucLuPair  ,

[in] DWORD  cbLuPair  ,

[in] ITransaction *  pITransaction  ,

[in] unsigned char *  pTransId  ,

[in] DWORD  cbTransId  ,

[in] IDtcLuRmEnlistmentSink *  pRmEnlistmentSink  ,

[in,out] IDtcLuRmEnlistment **  ppRmEnlistment

);

Parameters

pucLuPair
[in] A pointer to the LU pair

cbLuPair
[in] The length (in bytes) of the LU pair described by pucLuPair.

pITransaction
[in] A pointer to the transaction.

pTransId
[in] A pointer to the transaction ID.

cbTransId
[in] The length (in bytes) of the transaction ID described by pTransId.

pRmEnlistmentSink
[in] The IDtcLuRmEnlistmentSink to be associated with this enlistment.

ppRmEnlistment
[in,out] A pointer to the IDtcLuRmEnlistment interface.

Return Values

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

S_OK
Method completed successfully.

Requirements

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in txdtc.h