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

IDebugDocumentText::GetText Method


Retrieves the characters or the character attributes of a range of characters.

Syntax

HRESULT GetText(
    ULONG cCharacterPosition,
    WCHAR *pcharText,
    SOURCE_TEXT_ATTR *pstaTextAttr,
    ULONG *pcNumChars,
    ULONG cMaxChars
);

Parameters

cCharacterPosition
[in] Integer that specifies the position of the first character in a character range.
pcharText
[in, out] Address of a character buffer.
pstaTextAttr
[in, out] Address of a character attribute buffer.
pcNumChars
[in, out] Address of an integer that specifies the number of characters and attributes retrieved.
cMaxChars
[in] Integer that specifies the maximum number of characters to retrieve.

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.