Partager via


2.2.10.2.2.11 TXUSER_ENLISTMENT_MTAG_PREPAREREQ

The TXUSER_ENLISTMENT_MTAG_PREPAREREQ message is used to request that the resource manager perform the actions that are needed to prepare the transaction to be committed.


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)

...

...

grfRM

fSinglePhase

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

  • The dwUserMsgType field MUST be 0x00001033.

  • The dwcbVarLenData field MUST be 8.

grfRM (4 bytes): The value of this field MUST be a 32-bit unsigned integer. This value SHOULD be ignored on receipt.

fSinglePhase (4 bytes): Indicates whether the sending transaction manager is willing to allow the single-phase commit optimization. If the value is zero, the resource manager receiving this message MUST NOT perform a single-phase commit. If the value is nonzero, the resource manager receiving this message SHOULD perform a single-phase commit.