MFA File Structure
Docs
Powered by
Powered by
CMenuBar
What is CMenuBar?
CMenuBar is a format used to store data related to the Menu Bar.
Structure
Size
Type
Name
Description
4
UInt32
Size
Size of all of the following data, excluding itself
4
UInt32
Header Size
Size of the next 4 values and itself, always 20
4
UInt32
Menu Offset
Offset to the Menu Items data starting from the position of Header Size
4
UInt32
Menu Size
The size of the Menu Items data
4
UInt32
Accelerator Keys Offset
Offset to the Accelerator Keys data starting from the position of Header Size
4
UInt32
Accelerator Keys Size
The size of the Accelerator Keys data
...
CMenuItem
[]
Menu Items
An array of
CMenuItem
s, only stops when an entry's Footer flag is enabled
...
CAccel
[]
Accelerator Keys
An array of
CAccel
s, the length of which being the size divided by 8