GetExpressionEx function (wdbgexts.h)

The GetExpressionEx function evaluates an expression. The expression is evaluated using the MASM evaluator, and can contain aliases.

Syntax

BOOL GetExpressionEx(
  PCSTR   Expression,
  ULONG64 *Value,
  PCSTR   *Remainder
);

Parameters

Expression

Specifies the expression to evaluate. The expression uses the MASM syntax. For details of this syntax, see MASM Numbers and Operators.

Value

Receives the value of the expression.

Remainder

Receives a pointer to the first character in the expression Expression that was not used in the evaluation of the expression.

Return value

GetExpressionEx returns one of the following values:

Return code Description
TRUE
The expression was evaluated successfully.
FALSE
An error occurred while attempting to evaluate the expression.

Requirements

Requirement Value
Target Platform Desktop
Header wdbgexts.h (include Wdbgexts.h, Dbgeng.h)

See also

GetExpression