SetWindowExtEx function Null safety gdi32

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

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

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


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