IDebugControl3::AddAssemblyOptions method (dbgeng.h)

The AddAssemblyOptions method turns on some of the assembly and disassembly options.

Syntax

HRESULT AddAssemblyOptions(
  [in] ULONG Options
);

Parameters

[in] Options

Specifies the assembly and disassembly options to turn on. Options is a bit-set that will be combined with the existing engine options using the bitwise OR operator. For a description of the options, see DEBUG_ASMOPT_XXX.

Return value

Return code Description
S_OK
The method was successful.
 

These methods can also return error values. See Return Values for more details.

Remarks

For more information about using assembly with the debugger engine API, see Assembling and Disassembling Instructions.

Requirements

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

See also

.asm (Change Disassembly Options)

Assemble

DEBUG_ASMOPT_XXX

Disassemble

GetAssemblyOptions

IDebugControl3

RemoveAssemblyOptions

SetAssemblyOptions