2.9.50 Customization

The Customization structure specifies either a custom toolbar or toolbar delta values.


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

tbidForTBD

reserved1

ctbds

customizationData (variable)

...

tbidForTBD (4 bytes): A signed integer that specifies if customizationData contains a CTB structure or an array of TBDelta structures. This value MUST be greater than or equal to 0x00000000. If this value equals 0x00000000, customizationData MUST contain a CTB structure. If this value does not equal 0x00000000, customizationData MUST contain an array of TBDelta structures and the value of this field specifies the toolbar identifier of the toolbar affected by the TBDelta structures contained in the array.

reserved1 (2 bytes): This MUST be 0x0000 and MUST be ignored.

ctbds (2 bytes): A signed integer that specifies, if tbidForTBD is not equal to 0x00000000, the number of TBDelta structures that are contained in the customizationData array. This MUST be 0x0000 if tbidForTBD equals 0x00000000.

customizationData (variable): The type of this structure depends on the value of tbidForTBD. The types of this structure are shown following.

Value of tbidForTBD

Type of customizationData

0x00000000

CTB

not 0x00000000

A zero-based index array of TBDelta structures. The number of elements in the array MUST be equal to ctbds.