HRESULT GetCaretInfo([out] LONG* hwnd, [out] LONG* x, [out] LONG* y)
//This method returns caret coordinates on the screen.
E_INVALIDARG// an invalid argument is passed to “GetCarretInfo” method.