From Tracker Software PDF SDK
Gets index of the command line in the command pane.
HRESULT GetLineIndex([in] IUIX_CmdLine* pLine, [out, retval] LONG* nIndex);
- [in] Pointer to IUIX_CmdLine containing the command line.
- [out, retval] Pointer to LONG containing the index of the command line in the command pane. If the command line is not in the current command pane then the -1 will be returned instead.
Returns S_OK if operation was successful or error code in other cases.