CRgn::CreateRectRgnIndirect

Syntax

BOOL CreateRectRgnIndirect( LPRECT lpRect );

Parameters

lpRect

Points to a RECT structure or CRect object that contains the coordinates of the upper-left and lower-right corners of the region.

Remarks

Creates a rectangular region that is stored in the CRgn object.

Return Value

TRUE if the operation succeeded; otherwise FALSE.

See Also

CRgn::CreateRectRgn, CRgn::CreateRoundRectRgn, ::CreateRectRgnIndirect