Partager via


RemovePreprocessInfo

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Removes preprocessed information written by a PreprocessMessage based function from a message.

Header file:

Mapispi.h

Defined function implemented by:

Transport providers

Defined function called by:

MAPI spooler

HRESULT RemovePreprocessInfo(
  LPMESSAGE lpMessage
);

Parameters

  • lpMessage
    [in] Pointer to the preprocessed message from which information is to be removed.

Return Value

  • S_OK
    Preprocessed information was removed successfully.

Remarks

The MAPI spooler calls a function based on RemovePreprocessInfo. A transport provider registers the RemovePreprocessInfo based function at the same time it registers the parallel PreprocessMessage based function in a call to the IMAPISupport::RegisterPreprocessor method.

An image rendering suitable for fax transmission is an example of preprocessed information written by a function defined by the PreprocessMessagefunction prototype. The MAPI spooler usually calls a RemovePreprocessInfo function after sending a message that contains preprocessed information.