MonitorFromWindow method

Pointer<HMONITOR__> MonitorFromWindow(
  1. Pointer<HWND__> hwnd,
  2. int dwFlags
)

Implementation

ffi.Pointer<HMONITOR__> MonitorFromWindow(
  ffi.Pointer<HWND__> hwnd,
  int dwFlags,
) {
  return (_MonitorFromWindow ??=
      _dylib.lookupFunction<_c_MonitorFromWindow, _dart_MonitorFromWindow>(
          'MonitorFromWindow'))(
    hwnd,
    dwFlags,
  );
}