HRGN CreateRectRgnIndirect(lprc) | |||||
CONST RECT *lprc; | /* address of the rectangle | */ |
The CreateRectRgnIndirect function creates a rectangular region.
lprc
Points to a RECT structure that contains the coordinates of the upper-left and lower-right corners of the rectangle that defines the region.
The return value identifies a new region if the function is successful. Otherwise, it is 0.
The region will be exclusive of the bottom and right edges.
DeleteObject, SelectObject