Share via


IDebugDocumentHelper::AddUnicodeText

Appends a Unicode string to the end of this document.

Syntax

HRESULT AddUnicodeText(  
   LPCOLESTR  pszText  
);  

Parameters

pszText
[in] Pointer to a null-terminated string containing the text.

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.
E_FAIL The method was unable to add the characters.

Remarks

This method generates IDebugDocumentTextEvents notifications.

Note

If this method is called after AddDeferredText has been called, E_FAIL is returned.

See also

IDebugDocumentHelper Interface
IDebugDocumentHelper::AddDeferredText
IDebugDocumentTextEvents Interface