다음을 통해 공유


CreateRectRgnIndirect (Compact 2013)

3/28/2014

This function creates a rectangular region.

Syntax

HRGN CreateRectRgnIndirect(
  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 Value

The handle to the region indicates success.

NULL indicates failure.

To get extended error information, call GetLastError.

Remarks

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

Windows Embedded Compact represents regions using 16-bit values.

Requirements

Header

windows.h

Library

coredll.lib

See Also

Reference

GDI Functions
DeleteObject
SelectObject
RECT