Polyline function Null safety gdi32

int Polyline(
  1. int hdc,
  2. Pointer<POINT> apt,
  3. int cpt

The Polyline function draws a series of line segments by connecting the points in the specified array.

BOOL Polyline(
  HDC         hdc,
  const POINT *apt,
  int         cpt


int Polyline(int hdc, Pointer<POINT> apt, int cpt) {
  final _Polyline = _gdi32.lookupFunction<
      Int32 Function(IntPtr hdc, Pointer<POINT> apt, Int32 cpt),
      int Function(int hdc, Pointer<POINT> apt, int cpt)>('Polyline');
  return _Polyline(hdc, apt, cpt);