Determines whether the specified point is inside the specified region
#include <WinAPIGdi.au3>
_WinAPI_PtInRegion ( $hRgn, $iX, $iY )
| $hRgn | Handle to the region to be examined. |
| $iX | The x-coordinate of the point in logical units. |
| $iY | The y-coordinate of the point in logical units. |
| Success: | True - The specified point is in the region. |
| Failure: | False. |
Search PtInRegion in MSDN Library.