GetMenuStringW method

int GetMenuStringW(
  1. Pointer<HMENU__> hMenu,
  2. int uIDItem,
  3. Pointer<Uint16> lpString,
  4. int cchMax,
  5. int flags,
)

Implementation

int GetMenuStringW(
  ffi.Pointer<HMENU__> hMenu,
  int uIDItem,
  ffi.Pointer<ffi.Uint16> lpString,
  int cchMax,
  int flags,
) {
  return (_GetMenuStringW ??=
      _dylib.lookupFunction<_c_GetMenuStringW, _dart_GetMenuStringW>(
          'GetMenuStringW'))(
    hMenu,
    uIDItem,
    lpString,
    cchMax,
    flags,
  );
}