BOOL IsRectEmpty(lprc) | |||||
CONST RECT *lprc; | /* address of structure with rectangle | */ |
The IsRectEmpty function determines whether or not the specified rectangle is empty. A rectangle is empty if the width and/or height are zero.
lprc
Points to a RECT structure that contains the specified rectangle.
The RECT structure has the following form:
typedef struct tagRECT { /* rc */
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECT;
The return value specifies whether or not the given rectangle is empty. It is TRUE if the rectangle is empty. It is FALSE if the rectangle is not empty.