Platform SDK: SMTP Server Events

ISmtpOutCommandContext::QueryNativeCommandSize

[This is preliminary documentation and subject to change.]

The ISmtpOutCommandContext::QueryNativeResponse method returns the size, in bytes (chars), of the current native command buffer.

HRESULT QueryNativeCommandSize(
[out]  DWORD  *pdwSize
);

Parameters

pdwSize
On successful return, the size of the current command buffer.

Return Values

Remarks

The native command is stored as an ASCII character buffer. The QueryNativeCommandSize method returns the size of the buffers in char values, or bytes.