Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Write a list of blocks from the stream with asynchronous completion.
HRESULT WriteBlocks( [in] IMailMsgProperties* pMsg, [in] DWORD dwCount, [in,size_is(dwCount),length_is(dwCount),unique] DWORD *pdwOffset, [in,size_is(dwCount),length_is(dwCount),unique] DWORD *pdwLength, [in,size_is(dwCount)] BYTE **ppbBlock, [in,unique] IMailMsgNotify *pNotify );
Value | Description |
---|---|
S_OK | Success. The operation completed synchronously. |
MAILMSG_S_PENDING | Success. The operation is pending, and pNotify->Notify will be called with the result of the operation when it completes. |
The store driver infers which property stream the method applies to using the MailMsg object's IUnknown address, which uniquely identifies the object in memory (COM Identity rules).
IMailMsgNotify Interface
IMailMsgNotify::Notify