次の方法で共有


IMAPIMessageSite::SaveMessage

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Requests that the current message be saved.

HRESULT SaveMessage( void );

Parameters

None.

Return Value

  • S_OK
    The call succeeded and has returned the expected value or values.

Remarks

Forms call the IMAPIMessageSite::SaveMessage method to request that a message be saved.

For a list of interfaces related to form servers, see MAPI Form Interfaces.

MFCMAPI Reference

For MFCMAPI sample code, see the following table.

File

Function

Comment

MyMAPIFormViewer.cpp

CMyMAPIFormViewer::SaveMessage

MFCMAPI uses the IMAPIMessageSite::SaveMessage method to save the message.

See Also

Reference

IMAPIMessageSite : IUnknown

Concepts

MFCMAPI as a Code Sample

MAPI Form Interfaces