Retrieves the result of an expression evaluation as a string and an HRESULT value.
Syntax
HRESULT GetResultAsString( HRESULT *phrResult, BSTR *pbstrResult );
Parameters
- phrResult
- [out] Address of an HRESULT value that contains the result of an expression evaluation.
- pbstrResult
- [out] Address of a string that contains the result of an expression evaluation.
Return Value
Returns S_OK if successful, or an error code otherwise.