共用方式為


2.2.3.1.1.1 TransactionPropCallHeader

The TransactionPropCallHeader structure is used to pass the TSN of the current transaction to the server.


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

m_usMaxVer

m_usMinVer

m_ulSeq

m_usFlags

m_usVariant

m_usMaxVer (2 bytes): The major version number for this TransactionPropCallHeader format. This field MUST be set to 0x0001.

m_usMinVer (2 bytes): The minor version number for this TransactionPropCallHeader format; this field MUST be set to 0x0001.

m_ulSeq (4 bytes): The sequence number of the current transaction.

m_usFlags (2 bytes): This MUST contain one of the following values:

Value

Meaning

TransactionPropCallFlag_None

0x0000

A request that the server MUST return a TransactionPropRetHeader structure with the m_usVariant field set to TransactionPropCall_None, as specified in section 2.2.3.1.2.1.

TransactionPropCallFlag_NeedWhereabouts

0x0001

 A request that the server MUST return a TransactionPropRetHeader structure with the m_usVariant field set to TransactionPropRet_Whereabouts, as specified in section 2.2.3.1.2.1.

m_usVariant (2 bytes): This MUST contain one of the following values:

Value

Meaning

TransactionPropCall_None

0x0001

The TransactionPropCallHeader structure MUST NOT be contained within any larger structures.

TransactionPropCall_ExportCookie

0x0002

The TransactionPropCallHeader structure MUST be contained as part of the TransactionPropCallExportCookie (section 2.2.3.1.1.2) structure.

TransactionPropCall_TransmitterBuffer

0x0003

The TransactionPropCallHeader structure MUST be contained as part of the TransactionPropCallTransmitterBuffer (section 2.2.3.1.1.3) structure.