The HrTextToRTFCompressed function converts ANSI text to RTF compressed text.
Header file: | EDKUTILS.H |
Library: | EDKUTILS.LIB |
HRESULT HrTextToRTFCompressed(
ULONG cchText,
LPSTREAM lpText,
ULONG cAttachments,
ULONG * rgiRendering,
LPMESSAGE lpMsg
);
Note The rendering positions must fall on a space in the text stream. If not, HrTextToRTFCompressed returns E_FAIL.
See Return Values.
For more information on this function, see Saving ANSI Text as a Message Property in RTF.
HrRTFCompressedToText, HrTextFromCompressedRTFStreamEx, RTFSYNCINFO