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.