IDkmGPUEnvironmentFilter.GetGPUAdditionalEnvironmentVariables Method

Definition

Obtains any environment variables which the extension would like to add.

public:
 System::String ^ GetGPUAdditionalEnvironmentVariables(Microsoft::VisualStudio::Debugger::Start::DkmDebugLaunchSettings ^ debugLaunchSettings, Microsoft::VisualStudio::Debugger::Start::DkmProcessLaunchEnvironmentFilterScenario scenario);
public:
 Platform::String ^ GetGPUAdditionalEnvironmentVariables(Microsoft::VisualStudio::Debugger::Start::DkmDebugLaunchSettings ^ debugLaunchSettings, Microsoft::VisualStudio::Debugger::Start::DkmProcessLaunchEnvironmentFilterScenario scenario);
std::wstring GetGPUAdditionalEnvironmentVariables(Microsoft::VisualStudio::Debugger::Start::DkmDebugLaunchSettings const & debugLaunchSettings, Microsoft::VisualStudio::Debugger::Start::DkmProcessLaunchEnvironmentFilterScenario scenario);
public string GetGPUAdditionalEnvironmentVariables (Microsoft.VisualStudio.Debugger.Start.DkmDebugLaunchSettings debugLaunchSettings, Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchEnvironmentFilterScenario scenario);
abstract member GetGPUAdditionalEnvironmentVariables : Microsoft.VisualStudio.Debugger.Start.DkmDebugLaunchSettings * Microsoft.VisualStudio.Debugger.Start.DkmProcessLaunchEnvironmentFilterScenario -> string
Public Function GetGPUAdditionalEnvironmentVariables (debugLaunchSettings As DkmDebugLaunchSettings, scenario As DkmProcessLaunchEnvironmentFilterScenario) As String

Parameters

debugLaunchSettings
DkmDebugLaunchSettings

[In] Settings supplied during a start debugging operation from a project system or other caller of LaunchDebugTargets (or various other start debugging APIs).

scenario
DkmProcessLaunchEnvironmentFilterScenario

[In] Enumeration of the scenarios where IDkmProcessLaunchEnvironmentFilter implementations are invoked.

Returns

[Out,Optional] One or more environment variables which should be passed to the target process. Multiple variables are separated with an embedded null ('\0'). For example: "MyVariable1=1\0MyVariable2=12".

Null or empty string are returned if the caller doesn't want to customize the environment block for this launch.

Applies to