IDebugControl3::GetExpressionSyntax method (dbgeng.h)

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

Syntax

HRESULT GetExpressionSyntax(
  [out] PULONG Flags
);

Parameters

[out] 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

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

Return code Description
S_OK
The method was successful.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

Evaluate

IDebugControl3

SetExpressionSyntax

SetExpressionSyntaxByName