Gdi32PtInRegion(IntPtr, Int32, Int32) Method
Determines whether the specified point is inside the specified region.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("GDI32.dll", SetLastError = true)]
public static bool PtInRegion(
IntPtr hrgn,
int x,
int y
)
<DllImportAttribute("GDI32.dll", SetLastError := true>]
Public Shared Function PtInRegion (
hrgn As IntPtr,
x As Integer,
y As Integer
) As Boolean
Dim hrgn As IntPtr
Dim x As Integer
Dim y As Integer
Dim returnValue As Boolean
returnValue = Gdi32.PtInRegion(hrgn,
x, y)
public:
[DllImportAttribute(L"GDI32.dll", SetLastError = true)]
static bool PtInRegion(
IntPtr hrgn,
int x,
int y
)
[<DllImportAttribute("GDI32.dll", SetLastError = true)>]
static member PtInRegion :
hrgn : IntPtr *
x : int *
y : int -> bool
No code example is currently available or this language may not be supported.
- hrgn IntPtr
-
A Handle to the region to be examined.
- x Int32
-
The x-coordinate of the point in logical units.
- y Int32
-
The y-coordinate of the point in logical units.
Boolean
If the specified point is in the region, the return value is
.
If the specified point is not in the region, the return value is