2.2.1.16 CRowVariant

The CRowVariant structure contains the fixed-size portion of a variable-length data type stored in the CPMGetRowsOut message.


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

vType

reserved1

reserved2

Offset (variable)

...

vType (2 bytes): A type indicator, indicating the type of vValue. It MUST be set to VT_I4 or VT_LPWSTR, as specified in section 2.2.1.1.

reserved1 (2 bytes): Not used. MUST be ignored on receipt.

reserved2 (4 bytes): Not used. MUST be ignored on receipt.

Offset (variable): An offset to variable-length data (for example, a string). This MUST be a 32-bit value (4-bytes long) if 32-bit offsets are being used (per the rules in section 2.2.3.7), or a 64-bit value (8-bytes long) if 64-bit offsets are being used.