2.6.3 CTB
The CTB record specifies a custom toolbar.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tb (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
rVisualData (60 bytes, optional) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
ectbid |
|||||||||||||||||||||||||||||||
rTBC (variable) |
|||||||||||||||||||||||||||||||
... |
tb (variable): Structure of type TB, as specified in [MS-OSHARED] section 2.3.1.6, that contains toolbar information.
rVisualData (60 bytes): A zero-based index array of TBVisualData structures, specified in [MS-OSHARED] section 2.3.1.9. The number of elements in this array MUST be equal to the value of the ctbViews field of the CTBS structure contained by the CTBWRAPPER structure that contains this structure. The index of each structure in the array corresponds to a view mode number. Refer to the following table for the meaning of each TBVisualData, specified in [MS-OSHARED] section 2.3.1.9, structure according to its position in this array:
-
Index of structure in array
Meaning of TBVisualData, specified in [MS-OSHARED] section 2.3.1.9, structure
0
Contains the visual information for this toolbar to be used when the application is in Normal view.
1
Contains the visual information for this toolbar to be used when the application is in Full screen view.
2
Contains the visual information for this toolbar to be used when the application is in Web-only view.
ectbid (4 bytes): A signed integer that specifies the application’s specific custom toolbar identifier. Value MUST be 0x00000FFF.
rTBC (variable): Number of elements in the array MUST be equal to tb.cCL.