Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
The IMailTransportNotify::Notify method is called by transport event sinks to notify the event source that asynchronous processing has completed.
HRESULT Notify( [in] HRESULT hrCompletion, [in] PVOID pvContext );
Value | Description |
---|---|
S_OK | Success. Successful processing has been acknowledged. |
After asynchronous sink processing has completed, you notify the source, passing the HRESULT result as the first parameter for the method. Pass the context in the second parameter. The context reference is passed as a parameter by the event dispatcher when notifying event sinks of events that support asynchronous processing. The source receives the notification and will take appropriate action based upon the result.