ScreenToClient function user32

int ScreenToClient(
  1. int hWnd,
  2. Pointer<POINT> lpPoint
)

The ScreenToClient function converts the screen coordinates of a specified point on the screen to client-area coordinates.

BOOL ScreenToClient(
  HWND    hWnd,
  LPPOINT lpPoint
);

Implementation

int ScreenToClient(int hWnd, Pointer<POINT> lpPoint) =>
    _ScreenToClient(hWnd, lpPoint);