Platform SDK: SMTP Server Events

IMailMsgPropertyStream::EndWriteBlocks

[This is preliminary documentation and subject to change.]

End (commit) a block writing transaction.

HRESULT EndWriteBlocks([in] IMailMsgProperties *pMsg);
pMsg
A reference to the MailMsg object for which the transaction is to be committed.

Return Values

Value Description
S_OK Success. The operation completed synchronously.

Remarks

Store driver objects must support write transactions for properties. All property data written within the transaction, which begins with an invocation of the StartWriteBlocks method, must be committed to physical storage when the EndWriteBlocks method is invoked. The properties written during a transaction must not be committed directly to physical storage until the EndWriteBlocks method is received from the transport.

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).

See Also

IMailMsgPropertyStream.WriteBlocks

IMailMsgPropertyStream.StartWriteBlocks