IDebugFunctionObject2::Evaluate

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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

Calls the function and returns the resulting value as an object.

Syntax

HRESULT Evaluate (
   IDebugObject** ppParams,
   DWORD          dwParams,
   DWORD          dwEvalFlags,
   DWORD          dwTimeout,
   IDebugObject** ppResult
);
int Evaluate (
   IDebugObject     ppParams,
   uint             dwParams,
   uint             dwEvalFlags,
   uint             dwTimeout,
   out IDebugObject ppResult
);

Parameters

ppParams
[in] An array of IDebugObject objects that represents the input parameters. Each of these parameters was created by using one of the Create methods in this interface.

dwParams
[in] The number of parameters in the ppParams array.

dwEvalFlags
[in] A combination of flags from the EVALFLAGS enumeration that specify how the evaluation is to be performed.

dwTimeout
[in] Specifies the maximum time, in milliseconds, to wait before returning from this method. Use INFINITE to wait indefinitely.

ppResult
[out] Returns an IDebugObject that represents the value of the function as an object.

Return Value

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

See also