Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
PtVisible function (wingdi.h)
The PtVisible function determines whether the specified point is within the clipping region of a device context.
Syntax
BOOL PtVisible(
[in] HDC hdc,
[in] int x,
[in] int y
);
Parameters
[in] hdc
A handle to the device context.
[in] x
The x-coordinate, in logical units, of the point.
[in] y
The y-coordinate, in logical units, of the point.
Return value
If the specified point is within the clipping region of the device context, the return value is TRUE(1).
If the specified point is not within the clipping region of the device context, the return value is FALSE(0).
If the HDC is not valid, the return value is (BOOL)-1.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | wingdi.h (include Windows.h) |
| Library | Gdi32.lib |
| DLL | Gdi32.dll |
See also
Feedback
Was this page helpful?
