PhysicalToLogicalPointForPerMonitorDPI function user32

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

Converts a point in a window from physical coordinates into logical coordinates, regardless of the dots per inch (dpi) awareness of the caller.

BOOL PhysicalToLogicalPointForPerMonitorDPI(
  HWND    hWnd,
  LPPOINT lpPoint
);

Implementation

int PhysicalToLogicalPointForPerMonitorDPI(int hWnd, Pointer<POINT> lpPoint) =>
    _PhysicalToLogicalPointForPerMonitorDPI(hWnd, lpPoint);