PtInRegion function Null safety gdi32
The PtInRegion function determines whether the specified point is inside the specified region.
BOOL PtInRegion(
HRGN hrgn,
int x,
int y
);
Implementation
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);
}