SetRect function

bool SetRect(
  1. RECT rc,
  2. int xLeft,
  3. int yTop,
  4. int xRight,
  5. int yBottom,
)

Implementation

bool SetRect(RECT rc, int xLeft, int yTop, int xRight, int yBottom)
{
  rc.left = xLeft;
  rc.top = yTop;
  rc.right = xRight;
  rc.bottom = yBottom;
  return true;
}