IDebugReturnValueEvent2::GetReturnValue

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the value returned on stepping out of or over a function.

Syntax

HRESULT GetReturnValue (   
   IDebugProperty2** ppReturnValue  
);  
int GetReturnValue (   
   out IDebugProperty2 ppReturnValue  
);  

Parameters

ppReturnValue
[out] Returns an IDebugProperty2 object that represents the value to be retrieved.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

IDebugReturnValueEvent2
IDebugProperty2