Platform SDK: SMTP Server Events

ISmtpInCommandContext::QueryNativeResponse

[This is preliminary documentation and subject to change.]

The ISmtpInCommandContext::QueryNativeResponse method retrieves the current command native response string.

HRESULT QueryNativeResponse(
  [out,size_is(*pdwSize)] LPSTR  pszNativeResponse,
  [in,out]                DWORD  *pdwSize
);

Parameters

pszNativeResponse
On successful return, contains the native response text.
pdwSize
On successful return, contains the size of the response text pointed to by pszNativeResponse.

Return Values

Remarks