CreateRectRgnIndirect (Compact 2013)

3/28/2014

This function creates a rectangular region.


HRGN CreateRectRgnIndirect(
  const RECT* lprc
); 

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.

The handle to the region indicates success.

NULL indicates failure.

To get extended error information, call GetLastError.

The region will be exclusive of the bottom and right edges.

Windows Embedded Compact represents regions using 16-bit values.

Header

windows.h

Library

coredll.lib

Show: