EqualRgn

Syntax

BOOL EqualRgn(hSrcRgn1,hSrcRgn2)

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

Parameter Type/Description  

hSrcRgn1 HRGN Identifies a region.  
hSrcRgn2 HRGN Identifies a region.  

Return Value

The return value specifies whether the specified regions are equal. It is nonzero if the two regions are equal. Otherwise, it is zero.