Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Get the number of bytes in the stream with asynchronous completion.
HRESULT GetSize( [in] IMailMsgProperties* pMsg, [out] DWORD *pdwSize, [in,unique] IMailMsgNotify *pNotify );
Value | Description |
---|---|
S_OK | Success. Operation completed synchronously. |
|
Success. The operation is pending and running asynchronously (on a separate thread), and that thread will call the notify callback method when the operation completes. |
Store driver objects do not report blocks that have not been committed to physical storage when calculating the stream size.
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