IDebugControl::SetRadix method (dbgeng.h)

The SetRadix method sets the default radix (number base) used by the debugger engine when it evaluates and displays MASM expressions, and when it displays symbol information.

Syntax

HRESULT SetRadix(
  [in] ULONG Radix
);

Parameters

[in] Radix

Specifies the new default radix. The following table contains the possible values for the radix.

Value Description
8 Octal
10 Decimal
16 Hexadecimal

Return value

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

Return code Description
S_OK
The method was successful.

Remarks

When the radix is changed, the engine notifies the event callbacks by passing the DEBUG_CES_RADIX flag to the IDebugEventCallbacks::ChangeEngineState callback method.

For more information about the default radix, see Using Input and Output.

Requirements

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

See also

GetRadix

IDebugControl

IDebugControl2

IDebugControl3

n (Set Number Base)