SetRectEmpty

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

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

BOOL SetRectEmpty(LPRECT lpr);

Parameters

lprc

Long pointer to the RECT structure that contains the coordinates of the rectangle.

Return Values

Nonzero indicates success. Zero indicates failure.

To get extended error information, call GetLastError.

See Also

CopyRect, RECT, SetRect