IDebugSymbols2::AddTypeOptions method (dbgeng.h)

The AddTypeOptions method turns on some type formatting options for output generated by the engine.

Syntax

HRESULT AddTypeOptions(
  [in] ULONG Options
);

Parameters

[in] Options

Specifies type formatting options to turn on. Options is a bit-set that will be ORed with the existing type formatting options. For a description of the bit flags, see DEBUG_TYPEOPTS_XXX.

Return value

Return code Description
S_OK
The method was successful.
 

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

Remarks

After the type options have been changed, for each client the engine sends out notification to that client's IDebugEventCallbacks by passing the DEBUG_CES_TYPE_OPTIONS flag to the IDebugEventCallbacks::ChangeSymbolState method.

For more information about types, see Types.

Requirements

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

See also

GetTypeOptions

IDebugSymbols2

IDebugSymbols3

RemoveTypeOptions

SetTypeOptions