AppendMenu function user32

int AppendMenu(
  1. int hMenu,
  2. int uFlags,
  3. int uIDNewItem,
  4. Pointer<Utf16> lpNewItem,
)

Appends a new item to the end of the specified menu bar, drop-down menu, submenu, or shortcut menu. You can use this function to specify the content, appearance, and behavior of the menu item.

BOOL AppendMenuW(
  HMENU    hMenu,
  UINT     uFlags,
  UINT_PTR uIDNewItem,
  LPCWSTR  lpNewItem
);

Implementation

int AppendMenu(
        int hMenu, int uFlags, int uIDNewItem, Pointer<Utf16> lpNewItem) =>
    _AppendMenu(hMenu, uFlags, uIDNewItem, lpNewItem);