Platform SDK: MAPI

IMAPIViewAdviseSink::OnSubmitted

The IMAPIViewAdviseSink::OnSubmitted method notifies the form viewer that the current message has been submitted to the MAPI spooler.

Quick Info

See IMAPIViewAdviseSink : IUnknown.

HRESULT OnSubmitted();

Parameters

None

Return Value

S_OK
The notification succeeded.

Remarks

A form object calls the IMAPIViewAdviseSink::OnSubmitted method after its call to IMAPIMessageSite::SubmitMessage has returned successfully.

Notes to Implementers

After OnSubmitted is called, you can continue on the assumption that the message has been updated. Update your windows to reflect any changes that have occurred.

For more information about form notifications, see Sending and Receiving Form Notifications.

See Also

IMAPIMessageSite::SubmitMessage