ModifyMenu function user32
Changes an existing menu item. This function is used to specify the content, appearance, and behavior of the menu item.
BOOL ModifyMenuW(
HMENU hMnu,
UINT uPosition,
UINT uFlags,
UINT_PTR uIDNewItem,
LPCWSTR lpNewItem
);
Implementation
int ModifyMenu(int hMnu, int uPosition, int uFlags, int uIDNewItem,
Pointer<Utf16> lpNewItem) =>
_ModifyMenu(hMnu, uPosition, uFlags, uIDNewItem, lpNewItem);