RectInRegion function
Applies to: desktop apps only
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 |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012