> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetWatsonDumpEnablement

> Device Removed Extended Data (DRED) の Watson ダンプ作成の有効化設定を構成します。

[Windows エラー報告 (WER)](https://learn.microsoft.com/en-us/windows/desktop/wer/windows-error-reporting) (Watson とも呼ばれます) 用の Device Removed Extended Data (DRED) ダンプ作成の有効化設定を構成します。

## 構文

```cpp theme={null}
void SetWatsonDumpEnablement(
    D3D12_DRED_ENABLEMENT Enablement
)
```

### パラメーター

*Enablement*\
型: D3D12\_DRED\_ENABLEMENT

[D3D12\_DRED\_ENABLEMENT](/reference/graphics/d3d12/enums/d3d12_dred_enablement_public) の値。既定値は **D3D12\_DRED\_ENABLEMENT\_SYSTEM\_CONTROLLED** です。

### 戻り値

型: void

なし。

## 要件

**ヘッダー:** d3d12\_xs.h または d3d12\_x.h\
**ライブラリ:** d3d12\_xs.lib または d3d12\_x.lib\
**サポートされるプラットフォーム**: XBOX Series 本体および XBOX One ファミリ

## 関連項目

* [ID3D12DeviceRemovedExtendedDataSettings インターフェイス](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/id3d12deviceremovedextendeddatasettings_public)
* [DRED を使用して GPU 障害を診断する](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [xbWatson](/ja-jp/tools/tools-console/xbWatson/xbwatson.md)
- [SetPageFaultEnablement](/ja-jp/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/methods/id3d12deviceremovedextendeddatasettings_setpagefaultenablement_public.md)
- [D3D12_DRED_ENABLEMENT](/ja-jp/reference/graphics/d3d12/enums/d3d12_dred_enablement_public.md)
- [IXtfConsoleControlClient::GenerateStackDump](/ja-jp/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_generatestackdump.md)
- [XBOX 向けの xbWatson デバッグ出力モニター](/ja-jp/tools/tools-console/xbWatson/index.md)
