IDebugClient5::SetProcessOptions method (dbgeng.h)
The SetProcessOptions method sets the process options affecting the current process.
Syntax
HRESULT SetProcessOptions(
[in] ULONG Options
);
Parameters
[in] Options
Specifies a set of flags that will become the new process options for the current process. For details on these options, see DEBUG_PROCESS_XXX.
Return value
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
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
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |