2.2.4.5.6 XAUSER_XACT_MTAG_PREPARE

The XAUSER_XACT_MTAG_PREPARE message requests an attempt to prepare the XA Transaction Branch.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

MsgHeader (24 bytes)

...

...

fSinglePhase

MsgHeader (24 bytes): This field MUST contain a MESSAGE_PACKET structure:

  • The dwUserMsgType field MUST be 0x00004015.

  • The dwcbVarLenData field MUST be 4.

fSinglePhase (4 bytes): A value that indicates whether the XA Superior Transaction Manager wants to do Single-Phase Commit.

It MUST be one of the following values.

Value

Meaning

0x00000000

Single-Phase Commit is not allowed.

0x00000001

Single-Phase Commit is allowed. The transaction manager can do a Single-Phase Commit of the XA Transaction Branch.