Click to return to the Component Development home page    
IDebugDocumentText::GetPo...     IDebugDocumentText::GetSi...     IDebugDocumentText Interf...    
Web Workshop  |  Component Development

IDebugDocumentText::GetPositionOfLine Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.