Debugging Tools for Windows

OutputSymbols

The OutputSymbols method prints the specified symbols to the debugger console.

HRESULT
  IDebugSymbolGroup::OutputSymbols(
    IN ULONG  OutputControl,
    IN ULONG  Flags,
    IN ULONG  Start,
    IN ULONG  Count
    );

Parameters

OutputControl
The output control to use when printing the symbols' information. For more information about possible values, see DEBUG_OUTCTL_XXX. For more information about output, see Input and Output.
Flags
Tthe flags that determine what information is printed for each symbol. By default, the output includes the symbol's name, offset, value, and type. The format for the output is as follows:

Name**NAME**Offset**OFF**Value**VALUE**Type**TYPE**

You can use the following bit flags to suppress the output of one of these pieces of information together with the corresponding marker.

Value Description
DEBUG_OUTPUT_SYMBOLS_NO_NAMES Suppress output of the symbol's name.
DEBUG_OUTPUT_SYMBOLS_NO_OFFSETS Suppress output of the symbol's offset.
DEBUG_OUTPUT_SYMBOLS_NO_VALUES Suppress output of the symbol's value.
DEBUG_OUTPUT_SYMBOLS_NO_TYPES Suppress output of the symbol's type.

Start
The index of the first symbol in the symbol group to print. The index of a symbol is an identification number. This number ranges from zero through the number of symbols in the symbol group minus one.
Count
The number of symbols to print.

Return Value

OutputSymbols might return one of the following values:

S_OK
The method was successful.

This method might also return error values. For more information about possible return values, see Return Values.

Comments

For more information about symbol groups, see Scopes and Symbol Groups.

Requirements

Versions: Available in all versions of IDebugSymbolGroup.

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

See Also

GetNumberSymbols

Build machine: CAPEBUILD