LogicalToPhysicalPoint function Null safety user32

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

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

BOOL LogicalToPhysicalPoint(
  HWND    hWnd,
  LPPOINT lpPoint


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