PhysicalToLogicalPoint function Null safety user32

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

Converts the physical coordinates of a point in a window to logical coordinates.

BOOL PhysicalToLogicalPoint(
  HWND    hWnd,
  LPPOINT lpPoint


int PhysicalToLogicalPoint(int hWnd, Pointer<POINT> lpPoint) {
  final _PhysicalToLogicalPoint = _user32.lookupFunction<
      Int32 Function(IntPtr hWnd, Pointer<POINT> lpPoint),
      int Function(int hWnd, Pointer<POINT> lpPoint)>('PhysicalToLogicalPoint');
  return _PhysicalToLogicalPoint(hWnd, lpPoint);