MagSetWindowSource function magnification

bool MagSetWindowSource(
  1. HWND hwnd,
  2. RECT rect
)

Sets the source rectangle for the magnification window.

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

Implementation

@pragma('vm:prefer-inline')
bool MagSetWindowSource(HWND hwnd, RECT rect) =>
    _MagSetWindowSource(hwnd, rect) != FALSE;