IMAPISupport::CompleteMsg

The IMAPISupport::CompleteMsg method performs postprocessing on a message.

Quick Info

See IMAPISupport : IUnknownA6YDUA.

HRESULT CompleteMsg(

    ULONG ulFlags,

 

    ULONG cbEntryID,

 

    LPENTRYID lpEntryID

 

   )

 

 

Parameters

ulFlags

Reserved; must be zero.

cbEntryID

[in] Count of bytes in the entry identifier pointed to by the lpEntryID parameter.

lpEntryID

[in] Pointer to the entry identifier of the message to process.

 

Return Values

S_OK

The postprocessing was successful.

 

Remarks

The IMAPISupport::CompleteMsg method is implemented for message store provider support objects and is called only by message store providers that are tightly coupled with transport providers. Tightly-coupled store providers call IMAPISupport::CompleteMsg to instruct the MAPI spooler to postprocess a message.

Notes to Callers

Call CompleteMsg only when you are tightly-coupled with a transport provider, you can handle all of the message s recipients, and one of the following conditions exists:

    The message in question was preprocessed.

    The message in question requires postprocessing by the MAPI spooler, possibly causing messaging hook providers to be invoked.