SetRectEmpty

The SetRectEmpty function creates an empty rectangle in which all coordinates are set to zero.

BOOL SetRectEmpty(

LPRECT lprc // address of structure with rectangle set to empty
);  

Parameters

lprc

Points to the RECT structure that contains the coordinates of the rectangle.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

See Also

CopyRect, RECT, SetRect