IsRectEmpty

Syntax

BOOL IsRectEmpty(lpRect)

This function determines whether or not the specified rectangle is empty. A rectangle is empty if the width and/or height are zero.

Parameter Type/Description  

lpRect LPRECT Points to a RECT data structure that contains the specified rectangle.  

Return Value

The return value specifies whether or not the given rectangle is empty. It is nonzero if the rectangle is empty. It is zero if the rectangle is not empty.