ISymUnmanagedDocument::GetSourceRange Method
Returns the specified range of the embedded source into the given buffer. The buffer must be large enough to hold the source.
Syntax
HRESULT GetSourceRange(
[in] ULONG32 startLine,
[in] ULONG32 startColumn,
[in] ULONG32 endLine,
[in] ULONG32 endColumn,
[in] ULONG32 cSourceBytes,
[out] ULONG32 *pcSourceBytes,
[out, size_is(cSourceBytes),
length_is(*pcSourceBytes)] BYTE source[]);
Parameters
startLine
[in] The starting line in the current document.
startColumn
[in] The starting column in the current document.
endLine
[in] The final line in the current document.
endColumn
[in] The final column in the current document.
cSourceBytes
[in] The size of the source, in bytes.
pcSourceBytes
[out] A pointer to a variable that receives the source size.
source
[out] The size and length of the specified range of the source document, in bytes.
Return Value
S_OK if the method succeeds.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for