Platform SDK: Exchange Server

HrRTFCompressedToText

The HrRTFCompressedToText function converts the body of a message from compressed RTF to its ANSI equivalent.

Quick Info

Header file: EDKUTILS.H
Library: EDKUTILS.LIB

HRESULT HrRTFCompressedToText(
  LPMESSAGE lpMsg, 
  LPSTREAM pText,  
  ULONG * pcb      
);
 

Parameters

lpMsg
Input parameter. Points to a MAPI IMessage interface containing the MAPI message.
pText
Input parameter. Points to an open Win32 IStream interface where the text is copied.
pcb
Output parameter. Number of bytes copied to stream.

Return Values

See Return Values.

Remarks

For more information on this function, see the HrRTFCompressedToText function in EDKRTF.C under the EDKUTILS code sample in theCode Samples folder.

See Also

HrTextFromCompressedRTFStreamEx, HrTextToRTFCompressed, RTFSYNCINFO