Platform SDK: SMTP Server Events

ISmtpOutCommandContext::QueryCommand

[This is preliminary documentation and subject to change.]

The ISmtpOutCommandContext::QueryCommand method teturns the current SMTP command.

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

Parameters

pszCommand
On successful return, contains the current command.
pdwSize
On successful return, contains the size in bytes of the current command.

Return Values

Remarks