Share via


IMAPIViewAdviseSink::OnSubmitted

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Notifies the form viewer that the current message has been submitted to the MAPI spooler.

HRESULT OnSubmitted( void );

Parameters

None

Return Value

  • S_OK
    The notification succeeded.

Remarks

A form object calls the IMAPIViewAdviseSink::OnSubmitted method after a 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

Reference

IMAPIMessageSite::SubmitMessage

IMAPIViewAdviseSink : IUnknown