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

IDebugDocumentText::GetPositionOfContext Method


Retrieves the character position range of a document context.

Syntax

HRESULT GetPositionOfContext(
    IDebugDocumentContext *psc,
    ULONG *pcCharacterPosition,
    ULONG *cNumChars
);

Parameters

psc
[in] Address of an IDebugDocumentContext interface.
pcCharacterPosition
[out] Address of an integer that specifies the character position of the beginning of a document context.
cNumChars
[out] Address of an integer that specifies the number of characters in the document context.

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.