Gdi::CreateRectRgnIndirect_I
This method creates a rectangular region.
static WINGDIAPI HRGN WINAPI CreateRectRgnIndirect_I(
const RECT* lprc
);
Parameters
- lprc
[in] Long pointer to a RECT structure that contains the coordinates of the upper-left and lower-right corners of the rectangle that defines the region.
Return Values
The handle to the region indicates success. NULL indicates failure. To get extended error information, call GetLastError.
Remarks
This method is an internal version of the CreateRectRgnIndirect function.
The region is exclusive of the bottom and right edges.
Windows CE represents regions using 16-bit values.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.
See Also
CreateRectRgnIndirect | Gdi::CreateRectRgn_I | Gdi::DeleteObject_I | Gdi::SelectObject_I | RECT
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.