Share via


Gdi::PtInRegion_I (Windows Embedded CE 6.0)

1/6/2010

This method determines whether the specified point is inside the specified region.

Syntax

static WINGDIAPI BOOL WINAPI PtInRegion_I(
  HRGN hrgn, 
  int X, 
  int Y
);

Parameters

  • hrgn
    [in] Handle to the region to be examined.
  • X
    [in] Integer that specifies the x-coordinate of the point.
  • Y
    [in] Integer that specifies the y-coordinate of the point.

Return Value

Nonzero indicates that the specified point is in the region.

Zero indicates that the specified point is not in the region.

Remarks

This method is an internal version of the PtInRegion function.

Requirements

Header gdi.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Gdi
PtInRegion
Gdi::RectInRegion_I