AppendMenu function user32
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);