Is it possible to create a custom menu?

I have some code from FSX/P3D which I’d like to port to MSFS2020. Most of the stuff is covered - except an ability to create custom menus:

SimConnect_MenuAddItem
SimConnect_MenuAddSubItem
SimConnect_MenuDeleteItem
SimConnect_MenuDeleteSubItem

SDK documentation has the state field specified as “No error, no effect”

Is there any way to create a custom menu in MSFS2020?

I just discovered that MSFS202 does have a way of creating and displaying custom panels and UI, however it, as I understand it, has only access to LVars?

more on this here