Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
The ISMTPStoreDriver::PrepareForShutdown method is called by the dispatcher to notify the store driver object that the service is going to shut down. The store driver should release any interfaces it is holding on the server when this method executes. The store driver object should also return errors for any subsequent calls except ISMTPServer::Shutdown, indicating that the object is about to be released.
HRESULT PrepareForShutdown([in] DWORD dwReason);
Value | Description |
---|---|
E_NOTIMPL | Error. This method is not implemented. |
This function is normally used simply to block any subsequent calls to the store driver before the final shutdown command is given.
ISMTPStoreDriver::Shutdown