Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a document context object corresponding to the provided character position range.
Syntax
HRESULT GetContextOfPosition(
ULONG cCharacterPosition,
ULONG cNumChars,
IDebugDocumentContext** ppsc
);
Parameters
cCharacterPosition
[in] Start location of the character position range.
cNumChars
[in] Number of characters in the range.
ppsc
[out] The document context object corresponding to the specified character position range.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Value | Description |
|---|---|
S_OK |
The method succeeded. |
Remarks
This method creates a document context object corresponding to the provided character position range.