MagGetWindowSource function magnification

bool MagGetWindowSource(
  1. HWND hwnd,
  2. Pointer<RECT> pRect
)

Gets the rectangle of the area that is being magnified.

To learn more, see learn.microsoft.com/windows/win32/api/magnification/nf-magnification-maggetwindowsource.

Implementation

@pragma('vm:prefer-inline')
bool MagGetWindowSource(HWND hwnd, Pointer<RECT> pRect) =>
    _MagGetWindowSource(hwnd, pRect) != FALSE;