Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Copy the entire content to a specified file with optional asynchronous completion.
[local] HRESULT CopyContentToFileEx( [in] PFIO_CONTEXT pFIOCopy, [in] BOOL fDotStuffed, [in,unique] IMailMsgNotify *pNotify );
Value | Description |
---|---|
S_OK | Success. The method completed synchronously. |
MAILMSG_S_PENDING | Success. The operation will complete asynchronously. When it completes, you will be notified through the interface you passed using the pNotify parameter. The result of the operation will be returned with the notification callback method. |
This method is identical to the IMailMsgProperties::CopyContentToFile method except for the BOOL argument.
This method is marked with the [local] IDL attribute. This means no proxy/stub code is generated for the header file, and the method can only be called on an interface in the same apartment (i.e. no marshalling can occur).
IMailMsgNotify, IMailMsgNotify::Notify,
IMailMsgProperties::CopyContentToFile, IMailMsgProperties::CopyContentToFileAtOffset, IMailMsgProperties::CopyContentToStream, AssociateFile