08-20-2023, 06:08 PM
TYPE MENUITEMINFO
AS _UNSIGNED LONG cbSize
AS _UNSIGNED LONG fMask << 8 bytes
AS _UNSIGNED LONG fType
AS _UNSIGNED LONG fState << 8 bytes
AS _UNSIGNED LONG wID
AS STRING * 4 __padding1 << 4 bytes + 4 bytes padding = 8 bytes
AS _UNSIGNED _OFFSET hSubMenu << *ALL* 64-bit OFFSET are 8 bytes
AS _UNSIGNED _OFFSET hbmpChecked
AS _UNSIGNED _OFFSET hbmpUnchecked
AS _UNSIGNED _OFFSET dwItemData
AS _UNSIGNED _OFFSET dwTypeData ' str ptr
AS _UNSIGNED LONG cch
AS STRING * 4 __padding2 << 4 bytes + 4 bytes padding = 8 bytes
AS _UNSIGNED _OFFSET hbmpItem
END TYPE
AS _UNSIGNED LONG cbSize
AS _UNSIGNED LONG fMask << 8 bytes
AS _UNSIGNED LONG fType
AS _UNSIGNED LONG fState << 8 bytes
AS _UNSIGNED LONG wID
AS STRING * 4 __padding1 << 4 bytes + 4 bytes padding = 8 bytes
AS _UNSIGNED _OFFSET hSubMenu << *ALL* 64-bit OFFSET are 8 bytes
AS _UNSIGNED _OFFSET hbmpChecked
AS _UNSIGNED _OFFSET hbmpUnchecked
AS _UNSIGNED _OFFSET dwItemData
AS _UNSIGNED _OFFSET dwTypeData ' str ptr
AS _UNSIGNED LONG cch
AS STRING * 4 __padding2 << 4 bytes + 4 bytes padding = 8 bytes
AS _UNSIGNED _OFFSET hbmpItem
END TYPE