CTerminalEmulator::GetCursorPos Method  
 
BOOL GetCursorPos(
  LPINT lpnCursorX,  
  LPINT lpnCursorY  
);

The GetCursorPos method returns the current cursor column and row position on the virtual display.

Parameters

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 method succeeds, the return value is a non-zero value. If the handle to the virtual display is invalid, the method will return zero.

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csnvtv10.lib

See Also

ConvertPos, SetCursorPos