Debugging Tools for Windows

GetExpression

The GetExpression function returns the value of expression. The expression is evaluated using the current expression evaluator, and can contain aliases.

ULONG 
  GetExpression (
    PCSTR expression
    );

Parameters

expression
Specifies the expression to evaluate.

Return Value

The value of the expression passed to GetExpression.

Comments

The expression is evaluated by the current expression evaluator (either the MASM or C++ expression evaluator); see Numerical Expression Syntax for details. Aliases will be properly understood; see Using Aliases for details.

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).

Build machine: CAPEBUILD