Debugging Tools for Windows

SetAssemblyOptions

The SetAssemblyOptions method sets the assembly and disassembly options that affect how the debugger engine assembles and disassembles processor instructions for the target.

HRESULT
  IDebugControl3::SetAssemblyOptions(
    IN ULONG  Options
    );

Parameters

Options
Specifies the new assembly and disassembly options to be used by the debugger engine. Options is a bit-set; it will replace the existing assembly and disassembly options. For possible values, see DEBUG_ASMOPT_XXX. DEBUG_ASMOPT_DEFAULT can be used to set the default options.

Return Value

S_OK
The method was successful.

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

Interface Version

SetAssemblyOptions is available in IDebugControl3 and later versions.

Comments

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

Requirements

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

See Also

GetAssemblyOptions, AddAssemblyOptions, RemoveAssemblyOptions, DEBUG_ASMOPT_XXX, Assemble, Disassemble, .asm (Change Disassembly Options)

Build machine: CAPEBUILD