2.9.85 FieldMapInfo

The FieldMapInfo structure specifies information about how fields from a mail merge data source are mapped to standard mail merge address fields, which are defined for ODSOPropertyBase.OdsoProp when ODSOPropertyBase.id is equal to 0x0016.


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

countMarker

cbCount

cFields

FieldMapListSizeMarker

cbFieldMapList

cbFieldMapListOverflow (optional)

FieldMappings (variable)

...

countMarker (2 bytes):  An unsigned integer that specifies that the count of FieldMappings follows. This value MUST be 0.

cbCount (2 bytes):  An unsigned integer that specifies the size, in bytes, of the following mapped field count. This value MUST be 0x0004.

cFields (4 bytes):  An unsigned integer that specifies the number of elements in the FieldMappings array. This value MUST be 30.

FieldMapListSizeMarker (2 bytes):  An unsigned integer that specifies that the size of the FieldMappings array that follows. This value MUST be 0x0001.

cbFieldMapList (2 bytes):  An unsigned integer that specifies the size, in bytes, of the FieldMappings array. If the size is greater than 0xFFFE, this value MUST be 0xFFFF.

cbFieldMapListOverflow (4 bytes): An unsigned integer that specifies the size in bytes of the FieldMappings array. This value is only present if cbFieldMapList is set to 0xFFFF.

FieldMappings (variable): An array of FieldMapBase. Each FieldMapBase element in this array maps a column in the mail merge data source to a corresponding standard mail merge address field. There are 30 standard mail merge address fields, which are defined for ODSOPropertyBase.OdsoProp when ODSOPropertyBase.id is equal to 0x0016.