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

IDebugDocumentText::GetContextOfPosition Method


Creates a document context object corresponding to the specified character range.

Syntax

HRESULT GetContextOfPosition(
    ULONG cCharacterPosition,
    ULONG cNumChars,
    IDebugDocumentContext **ppsc
);

Parameters

cCharacterPosition
[in] Integer that specifies the beginning character position of a document context range.
cNumChars
[in] Integer that specifies the number of characters in the document context range.
ppsc
[out] Address of a pointer to an IDebugDocumentContext interface.

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.