Debugging Tools for Windows

SetRadix

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.

HRESULT
  IDebugControl::SetRadix(
    IN ULONG  Radix
    );

Parameters

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

S_OK
The method was successful.

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

Interface Version

SetRadix is available in all versions of IDebugControl.

Comments

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

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

See Also

GetRadix, n (Set Number Base)

Build machine: CAPEBUILD