IMailMsgLoggingPropertyBag::WriteToLog
[This is preliminary documentation and subject to change.]
Write to the log.
HRESULT WriteToLog(
[in] LPCSTR pszClientHostName,
[in] LPCSTR pszClientUserName,
[in] LPCSTR pszServerAddress,
[in] LPCSTR pszOperation,
[in] LPCSTR pszTarget,
[in] LPCSTR pszParameters,
[in] LPCSTR pszVersion,
[in] DWORD dwBytesSent,
[in] DWORD dwBytesReceived,
[in] DWORD dwProcessingTimeMS,
[in] DWORD dwWin32Status,
[in] DWORD dwProtocolStatus,
[in] DWORD dwPort,
[in] LPCSTR pszHTTPHeader
);
- pszClientHostName
- Specifies the Client Host Name. May be NULL.
- pszClientUserName
- Specifies the Client User Name. May be NULL.
- pszServerAddress
- Specifies the Server Address May be NULL.
- pszOperation
- Specifies the operation. May be NULL.
- pszTarget
- Specifies the target. May be NULL.
- pszParameters
- Specifies the parameters. May be NULL.
- pszVersion
Specifies the version. May be NULL.
- dwBytesSent
- Specifies the number of bytes sent.
- dwBytesReceived
- Specifies the number of bytes received.
- dwProcessingTimeMS
- Specifies the time spent processing, in milliseconds.
- dwWin32Status
- Specifies the Win32 status code.
- dwProtocolStatus
- Specifies the protocol status code.
- dwPort
- Specifies the port.
- pszHTTPHeader
- Specifies the HTTP header. May be NULL.
Return Values
S_OK
Success
E_FAIL
Failure.
E_NOTIMPL
Failure, not implemented.
See Also
ISMTPParams Interface