Share via


Gdi::PtInRegion_I

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

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.

See Also

PtInRegion | Gdi::RectInRegion_I

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.