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.

EqualRgn function

The EqualRgn function checks the two specified regions to determine whether they are identical. The function considers two regions identical if they are equal in size and shape.

Syntax


BOOL EqualRgn(
  _In_  HRGN hSrcRgn1,
  _In_  HRGN hSrcRgn2
);

Parameters

hSrcRgn1 [in]

Handle to a region.

hSrcRgn2 [in]

Handle to a region.

Return value

If the two regions are equal, the return value is nonzero.

If the two regions are not equal, the return value is zero. A return value of ERROR means at least one of the region handles is invalid.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Regions Overview
Region Functions
CreateRectRgn
CreateRectRgnIndirect

 

 

Community Additions

Show:
© 2014 Microsoft