Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Returns text and length of the current command keyword.
HRESULT QueryCommandKeyword( [out,size_is(*pdwSize)] LPSTR pszKeyword, [in,out] DWORD *pdwSize );
The command keyword is the initial portion of the protocol command. For example, the command
EHLO exchange.microsoft.com\r\n
Contains the command keyword "EHLO".
The QueryCommandKeyword method would return the ASCII string "EHLO" with size = 4 (bytes).