|
|
| BOOL
NvtGetCursorPos(
|
|
|
HDISPLAY
hDisplay, |
|
|
|
|
LPINT
lpnCursorX, |
|
// address of variable for column position |
|
|
LPINT
lpnCursorY |
|
// address of variable for row position |
| );
|
The NvtGetCursorPos function returns the current cursor
column and row position on the virtual display.
Parameters
- hDisplay
- Handle to the virtual display.
- lpnCursorX
- Address of the variable that will be set to the column of the
current cursor position. If this argument is a NULL pointer, the
argument is ignored.
- lpnCursorY
- Address of the variable that will be set to the row of the
current cursor position. If this argument is a NULL pointer, the
argument is ignored.
Return Value
If the function succeeds, the return value is a non-zero value.
If the handle to the virtual display is invalid, the function will
return zero.
Requirements
Client: Requires Windows Vista, Windows XP or Windows
2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or
Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csnvtav6.lib.
See Also
NvtConvertDisplayPos,
NvtSetCursorPos
|
|