2.2.18 BinXmlVariant Structure

Some of the methods use the following structures for returning data. In particular, the BinXmlVariant structure is used for returning information about a channel or backup event log. This structure is custom-marshaled. The integer fields in this structure MUST be in little-endian byte order (that is, least significant byte first).


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

union

...

count

type

union (8 bytes): 8 bytes of data. Interpretation is based on type.

count (4 bytes): Not used. Can be set to any arbitrary value when sent and MUST be ignored on receipt.

type (4 bytes): Specifies the union type.

Value

Meaning

BinXmlVarUInt32

0x00000008

The union field contains an unsigned long int, followed by 4 bytes of arbitrary data that MUST be ignored.

BinXmlVarUInt64

0x0000000A

The union field contains an unsigned __int64.

BinXmlVarBool

0x0000000D

The union field contains an unsigned long int, followed by 4 bytes of arbitrary data that MUST be ignored.

BinXmlVarFileTime

0x00000011

The union field contains a FILETIME, as specified in [MS-DTYP] Appendix A.