Edit

Share via


IDebugFunctionObject2::Evaluate

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

Syntax

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