RectInRegion function
The RectInRegion function determines whether any part of the specified rectangle is within the boundaries of a region.
Syntax
BOOL RectInRegion(
_In_ HRGN hrgn,
_In_ const RECT *lprc
);
Parameters
- hrgn [in]
-
Handle to the region.
- lprc [in]
-
Pointer to a RECT structure containing the coordinates of the rectangle in logical units. The lower and right edges of the rectangle are not included.
Return value
If any part of the specified rectangle lies within the boundaries of the region, the return value is nonzero.
If no part of the specified rectangle lies within the boundaries of the region, the return value is zero.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Build date: 10/25/2012
