Share via


IDkmGPUSetMemoryAccessWarningOperation.SetGPUMemoryAccessWarning Method

Definition

Enables / disables a particular GPU memory access warning.

public:
 void SetGPUMemoryAccessWarning(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, int warningCode, bool enable);
public void SetGPUMemoryAccessWarning (Microsoft.VisualStudio.Debugger.DkmProcess process, int warningCode, bool enable);
abstract member SetGPUMemoryAccessWarning : Microsoft.VisualStudio.Debugger.DkmProcess * int * bool -> unit
Public Sub SetGPUMemoryAccessWarning (process As DkmProcess, warningCode As Integer, enable As Boolean)

Parameters

process
DkmProcess

[In] DkmProcess represents a target process which is being debugged. The debugger debugs processes, so this is the basic unit of debugging. A DkmProcess can represent a system process or a virtual process such as minidumps.

warningCode
Int32

[In] Warning code to set.

enable
Boolean

[In] True to set the warning, false to clear it.

Applies to