Function : MIME
MIMEConvertMIMEPartCC - Converts the input TYPE_MIME_PART item in an open note to a TYPE_COMPOSITE item.
#include <mime.h> STATUS LNPUBLIC MIMEConvertMIMEPartCC( NOTEHANDLE hNote, char *pszItemName, WORD wItemNameLen, BOOL bCanonical, CCHANDLE hCC);
This function converts the input TYPE_MIME_PART item in an open note to a TYPE_COMPOSITE item. It does not update the Domino database; to update the database, call NSFNoteUpdate.
You must specify as input the handle to the open note, a pointer to the item name (an ASCIIZ string), the length of the item name, a BOOLEAN value indicating if the note was opened in canonical format (TRUE) or host format (FALSE), and (optionally) a handle to the Conversion Controls settings. The Conversion Controls settings may be changed to override aspects of server-side or client-side configuration; see MMSet and MMGet functions below and see also the description of the CCHANDLE data type and the description of the MMConvDefaults function. If the hCC handle is NULL, MIMEConvertMIMEPartCC uses its internal default settings (same as those set by MMConvDefaults).
For the named TYPE_MIME_PART item (which may actually be several items -- e.g., 'Body'), MIMEConvertMIMEPartCC performs a conversion to Composite Document (CD) format.
(R6.x) Note that the conversion is not performed with 100% fidelity.
MIMEConvertMIMEPartCC supports HTML font effects specified as separate elements (e.g., to set bold face), but it does not support styles, whether specified as a CSS document, a