InflateRect function Null safety user32

int InflateRect (
  1. Pointer<RECT> lprc,
  2. int dx,
  3. int dy

The InflateRect function increases or decreases the width and height of the specified rectangle. The InflateRect function adds -dx units to the left end and dx to the right end of the rectangle and -dy units to the top and dy to the bottom. The dx and dy parameters are signed values; positive values increase the width and height, and negative values decrease them.

BOOL InflateRect(
  LPRECT lprc,
  int    dx,
  int    dy


int InflateRect(Pointer<RECT> lprc, int dx, int dy) {
  final _InflateRect = _user32.lookupFunction<
      Int32 Function(Pointer<RECT> lprc, Int32 dx, Int32 dy),
      int Function(Pointer<RECT> lprc, int dx, int dy)>('InflateRect');
  return _InflateRect(lprc, dx, dy);