SetMenuInfo function Null safety user32

int SetMenuInfo(
  1. int param0,
  2. Pointer<MENUINFO> param1
)

Sets information for a specified menu.

BOOL SetMenuInfo(
  HMENU       hmenu,
  LPCMENUINFO lpmi
);

Implementation

int SetMenuInfo(int param0, Pointer<MENUINFO> param1) {
  final _SetMenuInfo = _user32.lookupFunction<
      Int32 Function(IntPtr param0, Pointer<MENUINFO> param1),
      int Function(int param0, Pointer<MENUINFO> param1)>('SetMenuInfo');
  return _SetMenuInfo(param0, param1);
}