Share via


IDebugFunctionObject::Evaluate

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

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

Parameters

  • ppParams
    [in] An array of IDebugObject objects representing the input parameters. Each of these parameters was created with one of the Create methods in the IDebugFunctionObject interface.

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

  • 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 representing the value of the function as an object.

Return Value

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

Remarks

This method sets up and executes a call to the function represented by the IDebugFunctionObject object.

See Also

Reference

IDebugFunctionObject