Platform SDK: SMTP Server Events

ISmtpServerResponseContext::QueryResponse

[This is preliminary documentation and subject to change.]

Returns the contents and length of the current response buffer.

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

Parameters

pszResponse
On return, a pointer to a string containing the response text.
pdwSize
On the return, the size of the response text string.

Return Values

Remarks