ILITParserHost::Text

The Text method accepts notification of text in the content stream.

Syntax

HRESULT Text (
[in] const wchar_t* pwchText
[in] ULONG cwchText
);

Parameters

pwchText

Pointer to the text

cwchText

Count of characters at pwchText that are part of the text. Note: Embedded NULLs are not allowed.

Return Values

S_OK

E_INVALIDARG

E_OUTOFMEMORY

E_UNEXPECTED

E_FAIL

Remarks

Text need not be null-terminated, or complete; a text run can be broken up into several sequential calls to Text(), if necessary.

See Also

© 2000 Microsoft Corporation. All rights reserved. Terms of use.