IDebugClient5::RemoveProcessOptions method

The RemoveProcessOptions method removes process options from those options that affect the current process.

Syntax

HRESULT RemoveProcessOptions(
  ULONG Options
);

Parameters

Options

Specifies the process options to remove from those affecting the current process. For details on these options, see DEBUG_PROCESS_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

This method is available only in live user-mode debugging.

Some of the process options are global options, others are specific to the current process.

If any process options are modified, the engine will notify the event callbacks by calling their IDebugEventCallbacks::ChangeEngineState method with the DEBUG_CES_PROCESS_OPTIONS flag set.

For more information about creating and attaching to live user-mode targets, see Live User-Mode Targets.

Requirements

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

See Also

AddProcessOptions

DEBUG_PROCESS_XXX

GetProcessOptions

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

SetProcessOptions