Platform SDK: SMTP Server Events

ISmtpInCommandContext::QueryResponse

[This is preliminary documentation and subject to change.]

The ISmtpInCommandContext::QueryResponse method retrieves the current command response string.

HRESULT QueryResponse(
  [out,size_is(*pdwSize)] LPSTR  pszResponse,
  [in,out]                DWORD  *pdwSize
);

Parameters

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

Return Values

Remarks