| 
EqualRgn 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. 
VB4-32,5,6 
Declare Function EqualRgn Lib "gdi32" (ByVal hSrcRgn1 As Long, ByVal hSrcRgn2 As Long) As Long | 
 
 
 
VB.NET 
System.Drawing.Region | 
 
 
 
| 
Operating Systems Supported | 
 
 
| 
Requires Windows NT 3.1 or later; Requires Windows 95 or later | 
 
 
 
 
- hSrcRgn1  
[in] Handle to a region.  
 
- hSrcRgn2  
[in] Handle to a region. | 
 
 
 
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.  | 
 
 
 
 |