Debugging Tools for Windows

GetProcessOptions

The GetProcessOptions method retrieves the process options affecting the current process.

HRESULT
  IDebugClient::GetProcessOptions(
    OUT PULONG  Options
    );

Parameters

Options
Receives a set of flags representing the process options for the current process. For details on these options, see DEBUG_PROCESS_XXX.

Return Value

S_OK
The method was successful.

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

Interface Version

GetProcessOptions is available in all versions of IDebugClient.

Comments

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

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

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

Requirements

Headers: Defined in dbgeng.h. Include dbgeng.h.

See Also

SetProcessOptions, AddProcessOptions, RemoveProcessOptions, DEBUG_PROCESS_XXX

Build machine: CAPEBUILD