EqualRgn (Compact 2013)

3/28/2014

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
); 

hSrcRgn1

[in] Handle to a region.

hSrcRgn2

[in] Handle to a region.

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.

Header

windows.h

Library

coredll.lib

Show: