SetRect function user32

int SetRect(
  1. Pointer<RECT> lprc,
  2. int xLeft,
  3. int yTop,
  4. int xRight,
  5. int yBottom,
)

The SetRect function sets the coordinates of the specified rectangle. This is equivalent to assigning the left, top, right, and bottom arguments to the appropriate members of the RECT structure.

BOOL SetRect(
  LPRECT lprc,
  int    xLeft,
  int    yTop,
  int    xRight,
  int    yBottom
);

Implementation

int SetRect(Pointer<RECT> lprc, int xLeft, int yTop, int xRight, int yBottom) =>
    _SetRect(lprc, xLeft, yTop, xRight, yBottom);