2.2.1.29 CDbColId

The CDbColId structure contains a column identifier.


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

eKind

paddingGuidAlign (variable)

...

GUID (16 bytes)

...

...

ulId

vString (variable)

...

eKind (4 bytes): MUST be set to one of the following values that indicates the contents of GUID and vValue.

Value

Meaning

DBKIND_GUID_NAME

0x00000000

vString contains a property name.

DBKIND_GUID_PROPID

0x00000001

ulId contains a 4-byte integer indicating the property ID.

paddingGuidAlign (variable): The length of this field MUST be such that the following field begins at the first offset that is a multiple of 8 bytes from the beginning of the message that contains this structure. If this field is present (that is, length nonzero), the value it contains is arbitrary. The content of this field MUST be ignored by the receiver.

GUID (16 bytes): The property GUID.

ulId (4 bytes): If eKind is DBKIND_GUID_PROPID, this field contains an unsigned integer specifying the property ID. If eKind is DBKIND_GUID_NAME, this field contains an unsigned integer specifying the number of Unicode characters contained in the vString field.

vString (variable): A non-null-terminated Unicode string representing the property name. It MUST be omitted unless the eKind field is set to DBKIND_GUID_NAME.