Platform SDK: SMTP Server Events

ISmtpOutCommandContext::QueryNativeCommand

[This is preliminary documentation and subject to change.]

The ISmtpOutCommandContext::QueryNativeCommand method returns the current command string and string size.

HRESULT QueryNativeCommand(
  [out,size_is(*pdwSize)]  LPSTR  pszNativeCommand,
  [in,out]  DWORD  *pdwSize
);

Parameters

pszNativeCommand
On successful return, contains the current native command string.
pdwSize
On invocation, the size of the buffer pointed to by pszNativeCommand. On successful return. contains the size of the current command string.

Return Values

Remarks