# Function Reference

# _WinAPI_PtInRegion

Determines whether the specified point is inside the specified region

#include <WinAPIGdi.au3>
_WinAPI_PtInRegion ( $hRgn, $iX, $iY )

## Parameters

$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.

## Return Value

Success: | True - The specified point is in the region.
Failure: | False.

## See Also

Search PtInRegion in MSDN Library.