Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AddProcessOptions

IDebugClient::AddProcessOptions method

The AddProcessOptions method adds the process options to those options that affect the current process.

Syntax


HRESULT AddProcessOptions(
  [in] ULONG Options
);

Parameters

Options [in]

Specifies the process options to add to those affecting the current process. For details on these process options, see DEBUG_PROCESS_XXX.

Return value

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

Return codeDescription
S_OK

The method was successful.

 

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

IDebugClient
IDebugClient2
IDebugClient3
IDebugClient4
IDebugClient5
GetProcessOptions
SetProcessOptions
RemoveProcessOptions
DEBUG_PROCESS_XXX

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft