FlutterDesktopViewControllerHandleTopLevelWindowProc method

int FlutterDesktopViewControllerHandleTopLevelWindowProc(
  1. Pointer<FlutterDesktopViewControllerState> controller,
  2. int hwnd,
  3. int message,
  4. int wparam,
  5. int lparam,
  6. Pointer<LRESULT> result,
)

Allows the Flutter engine and any interested plugins an opportunity to handle the given message.

If the WindowProc was handled and further handling should stop, this returns true and result will be populated. result is not set if returning false.

Implementation

int FlutterDesktopViewControllerHandleTopLevelWindowProc(
  Pointer<FlutterDesktopViewControllerState> controller,
  int hwnd,
  int message,
  int wparam,
  int lparam,
  Pointer<LRESULT> result,
) =>
    _FlutterDesktopViewControllerHandleTopLevelWindowProc(
      controller,
      hwnd,
      message,
      wparam,
      lparam,
      result,
    );