EqualRect function Null safety user32

int EqualRect(
  1. Pointer<RECT> lprc1,
  2. Pointer<RECT> lprc2
)

The EqualRect function determines whether the two specified rectangles are equal by comparing the coordinates of their upper-left and lower-right corners.

BOOL EqualRect(
  const RECT *lprc1,
  const RECT *lprc2
);

Implementation

int EqualRect(Pointer<RECT> lprc1, Pointer<RECT> lprc2) {
  final _EqualRect = _user32.lookupFunction<
      Int32 Function(Pointer<RECT> lprc1, Pointer<RECT> lprc2),
      int Function(Pointer<RECT> lprc1, Pointer<RECT> lprc2)>('EqualRect');
  return _EqualRect(lprc1, lprc2);
}