Gdi32PtVisible(IntPtr, Int32, Int32) Method
Determines whether the specified point is within the clipping region of a device context.
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 int PtVisible(
IntPtr hdc,
int x,
int y
)
<DllImportAttribute("GDI32.dll", SetLastError := true>]
Public Shared Function PtVisible (
hdc As IntPtr,
x As Integer,
y As Integer
) As Integer
Dim hdc As IntPtr
Dim x As Integer
Dim y As Integer
Dim returnValue As Integer
returnValue = Gdi32.PtVisible(hdc,
x, y)
public:
[DllImportAttribute(L"GDI32.dll", SetLastError = true)]
static int PtVisible(
IntPtr hdc,
int x,
int y
)
[<DllImportAttribute("GDI32.dll", SetLastError = true)>]
static member PtVisible :
hdc : IntPtr *
x : int *
y : int -> int
No code example is currently available or this language may not be supported.
- hdc IntPtr
-
A handle to the device context (DC).
- x Int32
-
The x-coordinate, in logical units, of the point.
- y Int32
-
The y-coordinate, in logical units, of the point.
Int32
If the specified point is within the clipping region of the device context, the return value is
1.
If the specified point is not within the clipping region of the device context, the return value is
0.
If the HDC is not valid, the return value is
-1.