PolyBezier function Null safety gdi32

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

The PolyBezier function draws one or more B├ęzier curves.

BOOL PolyBezier(
  HDC         hdc,
  const POINT *apt,
  DWORD       cpt
);

Implementation

int PolyBezier(int hdc, Pointer<POINT> apt, int cpt) {
  final _PolyBezier = _gdi32.lookupFunction<
      Int32 Function(IntPtr hdc, Pointer<POINT> apt, Uint32 cpt),
      int Function(int hdc, Pointer<POINT> apt, int cpt)>('PolyBezier');
  return _PolyBezier(hdc, apt, cpt);
}