Partager via


IMAPIViewAdviseSink::OnSubmitted

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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