MapWindowPoints function Null safety user32

int MapWindowPoints(
  1. int hWndFrom,
  2. int hWndTo,
  3. Pointer<POINT> lpPoints,
  4. int cPoints

The MapWindowPoints function converts (maps) a set of points from a coordinate space relative to one window to a coordinate space relative to another window.

int MapWindowPoints(
  HWND    hWndFrom,
  HWND    hWndTo,
  LPPOINT lpPoints,
  UINT    cPoints


int MapWindowPoints(
        int hWndFrom, int hWndTo, Pointer<POINT> lpPoints, int cPoints) =>
    _MapWindowPoints(hWndFrom, hWndTo, lpPoints, cPoints);