Platform SDK: SMTP Server Events

ISmtpServerResponseContext::QueryCommand

[This is preliminary documentation and subject to change.]

Returns the text and size of the current command buffer.

HRESULT QueryCommand(
  [out,size_is(*pdwSize)]  LPSTR  pszCommand,
  [in,out]  DWORD  *pdwSize
;)

Parameters

pszCommand
On successful return, a string containing the current command buffer.
pdwSize
On successful return, the size of the current command buffer.

Return Values

Remarks