GetCaretInfo method

Syntax

HRESULT GetCaretInfo([out] LONG* hwnd, [out] LONG* x, [out] LONG* y)

//This method returns caret coordinates on the screen.

Errors

E_INVALIDARG
// an invalid argument is passed to “GetCarretInfo” method.