Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Cancels (aborts) the block write transaction. All properties written within the context of the transaction are discarded.
HRESULT CancelWriteBlocks([in] IMailMsgProperties *pMsg);
Value | Description |
---|---|
S_OK | Success. Block-write transaction has been aborted. |
All properties written by the transport within a write transaction (StartWriteBlocks) must be discarded when this method is called.
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).
IMailMsgPropertyStream::WriteBlocks
IMailMsgPropertyStream::StartWriteBlocks