EqualRgn

  BOOL EqualRgn(hSrcRgn1, hSrcRgn2)    
  HRGN hSrcRgn1; /* handle of first region */
  HRGN hSrcRgn2; /* handle of second region */

The EqualRgn function checks the two given regions to determine whether they are identical.

Parameters

hSrcRgn1

Identifies a region.

hSrcRgn2

Identifies a region.

Return Value

The return value is TRUE if the two regions are equal. Otherwise, it is FALSE. A return value of ERROR means at least one of the region handles was invalid.