Debugging Tools for Windows

GetExpressionSyntax

The GetExpressionSyntax method returns the current syntax that the engine is using for evaluating expressions.

HRESULT
  IDebugControl3::GetExpressionSyntax(
    OUT PULONG  Flags
    );

Parameters

Flags
Receives the expression syntax. It is set to one of the following values:
DEBUG_EXPR_MASM
Expressions will be evaluated according to MASM syntax. For details of this syntax, see MASM Numbers and Operators.
DEBUG_EXPR_CPLUSPLUS
Expressions will be evaluated according to C++ syntax. For details of this syntax, see C++ Numbers and Operators.

Return Value

S_OK
The method was successful.

This method may also return error values. See Return Values for more details.

Interface Version

GetExpressionSyntax is available in IDebugControl3 and later versions.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

SetExpressionSyntax, SetExpressionSyntaxByName, Evaluate

Build machine: CAPEBUILD