IDebugFunctionObject::EvaluateIDebugFunctionObject::Evaluate
Chama a função e retorna o valor resultante como um objeto.Calls the function and returns the resulting value as an object.
SintaxeSyntax
HRESULT Evaluate(
IDebugObject** ppParams,
DWORD dwParams,
DWORD dwTimeout,
IDebugObject** ppResult
);
int Evaluate(
IDebugObject[] ppParams,
IntPtr dwParams,
uint dwTimeout,
out IDebugObject ppResult
);
ParâmetrosParameters
ppParams
no Uma matriz de objetos IDebugObject que representa os parâmetros de entrada.[in] An array of IDebugObject objects representing the input parameters. Cada um desses parâmetros foi criado com um dos Create
métodos na interface IDebugFunctionObject .Each of these parameters was created with one of the Create
methods in the IDebugFunctionObject interface.
dwParams
no O número de parâmetros na ppParams
matriz.[in] The number of parameters in the ppParams
array.
dwTimeout
no Especifica o tempo máximo, em milissegundos, a aguardar antes de retornar desse método.[in] Specifies the maximum time, in milliseconds, to wait before returning from this method. Use INFINITE
para aguardar indefinidamente.Use INFINITE
to wait indefinitely.
ppResult
fora Retorna um IDebugObject que representa o valor da função como um objeto.[out] Returns an IDebugObject representing the value of the function as an object.
Valor retornadoReturn Value
Se for bem-sucedido, retornará S_OK; caso contrário, retorna um código de erro.If successful, returns S_OK; otherwise, returns an error code.
ComentáriosRemarks
Esse método configura e executa uma chamada para a função representada pelo objeto IDebugFunctionObject .This method sets up and executes a call to the function represented by the IDebugFunctionObject object.