IMAPISupport::CompleteMsg
Applies to: Outlook 2013 | Outlook 2016
Performs postprocessing on a message.
HRESULT CompleteMsg(
ULONG ulFlags,
ULONG cbEntryID,
LPENTRYID lpEntryID
);
Parameters
ulFlags
[in] Reserved; must be zero.
cbEntryID
[in] The byte count in the entry identifier pointed to by the lpEntryID parameter.
lpEntryID
[in] A pointer to the entry identifier of the message to process.
Return value
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 was preprocessed.
The message requires postprocessing by the MAPI spooler.