InsertMenuItemW method

int InsertMenuItemW(
  1. Pointer<HMENU__> hmenu,
  2. int item,
  3. int fByPosition,
  4. Pointer<LPMENUITEMINFOW> lpmi,
)

Implementation

int InsertMenuItemW(
  ffi.Pointer<HMENU__> hmenu,
  int item,
  int fByPosition,
  ffi.Pointer<LPMENUITEMINFOW> lpmi,
) {
  return (_InsertMenuItemW ??=
      _dylib.lookupFunction<_c_InsertMenuItemW, _dart_InsertMenuItemW>(
          'InsertMenuItemW'))(
    hmenu,
    item,
    fByPosition,
    lpmi,
  );
}