EqualRgn (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This 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.

BOOL EqualRgn(
  HRGN hSrcRgn1, 
  HRGN hSrcRgn2
); 

Parameters

hSrcRgn1
[in] Handle to a region.
hSrcRgn2
[in] Handle to a region.

Return Values

Nonzero indicates that the two regions are equal.

Zero indicates that the two regions are not equal.

ERROR indicates that at least one of the region handles is invalid.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.

See Also

CreateRectRgnIndirect | GDI Functions


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: