[This is preliminary documentation and subject to change.]
The ISmtpInCommandContext::QueryCommandStatus method retrieves the current command status.
HRESULT QueryCommandStatus( [out] DWORD *pdwCommandStatus );