EqualRgn  16CGWWQ 

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.

BOOL EqualRgn(

    HRGN hSrcRgn1,

// handle to first region

    HRGN hSrcRgn2

// handle to second region

   );

 

 

Parameters

hSrcRgn1

Identifies a region.

hSrcRgn2

Identifies a region.

 

Return Values

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.

See Also

CreateRectRgn, CreateRectRgnIndirect