共用方式為


IDebugReturnValueEvent2::GetReturnValue

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

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

Reference

IDebugReturnValueEvent2

IDebugProperty2