SetViewportExtEx function Null safety gdi32

int SetViewportExtEx(
  1. int hdc,
  2. int x,
  3. int y,
  4. Pointer<SIZE> lpsz

The SetViewportExtEx function sets the horizontal and vertical extents of the viewport for a device context by using the specified values.

BOOL SetViewportExtEx(
  HDC    hdc,
  int    x,
  int    y,
  LPSIZE lpsz


int SetViewportExtEx(int hdc, int x, int y, Pointer<SIZE> lpsz) {
  final _SetViewportExtEx = _gdi32.lookupFunction<
      Int32 Function(IntPtr hdc, Int32 x, Int32 y, Pointer<SIZE> lpsz),
      int Function(
          int hdc, int x, int y, Pointer<SIZE> lpsz)>('SetViewportExtEx');
  return _SetViewportExtEx(hdc, x, y, lpsz);