MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetRgnBox

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function retrieves the bounding rectangle of the specified region.


int GetRgnBox(
  HRGN hrgn, 
  LPRECT lprc
); 

hrgn

[in] Handle to the region.

lprc

[out] Long pointer to a RECT structure that receives the bounding rectangle.

The return value specifies the region's complexity.

NULLREGION indicates that the region is empty.

SIMPLEREGION indicates that the region is a single rectangle.

COMPLEXREGION indicates that the region is more than a single rectangle.

Zero indicates that the hrgn parameter does not identify a valid region

Headerwindows.h
Librarycoredll.lib
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2016 Microsoft