PtInRegion function Null safety gdi32

int PtInRegion(
  1. int hrgn,
  2. int x,
  3. int y

The PtInRegion function determines whether the specified point is inside the specified region.

BOOL PtInRegion(
  HRGN hrgn,
  int  x,
  int  y


int PtInRegion(int hrgn, int x, int y) {
  final _PtInRegion = _gdi32.lookupFunction<
      Int32 Function(IntPtr hrgn, Int32 x, Int32 y),
      int Function(int hrgn, int x, int y)>('PtInRegion');
  return _PtInRegion(hrgn, x, y);