Debugging Tools for Windows

GetExpressionEx

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

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:

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

Requirements

Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).

See Also

GetExpression

Build machine: CAPEBUILD