Retrieves the character position of the first character of a line.
Syntax
HRESULT GetPositionOfLine(
ULONG cLineNumber,
ULONG *pcCharacterPosition
);
Parameters
- cLineNumber
- [in] Integer that specifies the line number whose position is needed.
- pcCharacterPosition
- [out] Address of an integer that specifies the position of the first character of a line.
Return Value
Returns S_OK if successful, or an error code otherwise.