IDebugClient::GetProcessOptions method (dbgeng.h)

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

Syntax

HRESULT GetProcessOptions(
  [out] PULONG Options
);

Parameters

[out] 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

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

Return code Description
S_OK
The method was successful.

Remarks

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

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

See also

AddProcessOptions

DEBUG_PROCESS_XXX

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

RemoveProcessOptions

SetProcessOptions