IDebugFunctionObject::Evaluate
Applies to: Visual Studio Visual 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 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.