PWINDBG_GET_EXPRESSION callback function (wdbgexts.h)

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

Syntax

PWINDBG_GET_EXPRESSION PwindbgGetExpression;

ULONG_PTR PwindbgGetExpression(
  [in] PCSTR lpExpression
)
{...}

Parameters

[in] lpExpression

Specifies the expression to evaluate.

Return value

The value of the expression passed to GetExpression

Remarks

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.

If KDEXT_64BIT is defined, this function returns a value of type ULONG64. Otherwise, it returns a value of type ULONG.

Requirements

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