> ## 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.

# D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA

> 代表已設定版本的裝置移除延伸資料 (DRED) 資料。

代表已設定版本的裝置移除延伸資料 (DRED) 資料，讓偵錯工具和偵錯工具延伸模組可以存取 DRED 資料。

## 語法

```cpp theme={null}
typedef struct D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA
{
    D3D12_DRED_VERSION Version;
    D3D12_DEVICE_REMOVED_EXTENDED_DATA Dred_1_0;
    D3D12_DEVICE_REMOVED_EXTENDED_DATA1 Dred_1_1;
} D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA
```

### 成員

*Version*\
類型：D3D12\_DRED\_VERSION

[D3D12\_DRED\_VERSION](/zh-TW/reference/graphics/d3d12/enums/d3d12_dred_version_public) 值，指定 DRED 版本。此值會決定 (等位的) 哪個內部資料成員為作用中。

*Dred\_1\_0*\
類型：D3D12\_DEVICE\_REMOVED\_EXTENDED\_DATA

[D3D12\_DEVICE\_REMOVED\_EXTENDED\_DATA](/zh-TW/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data_public) 值，包含 DRED 1.0 版資料。

*Dred\_1\_1*\
類型：D3D12\_DEVICE\_REMOVED\_EXTENDED\_DATA1

[D3D12\_DEVICE\_REMOVED\_EXTENDED\_DATA1](/zh-TW/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data1_public) 值，包含 DRED 1.1 版資料。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱

* [核心結構](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)
* [使用 DRED 診斷 GPU 錯誤](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [D3D12_DEVICE_REMOVED_EXTENDED_DATA1](/zh-TW/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data1_public.md)
- [D3D12_DRED_VERSION](/zh-TW/reference/graphics/d3d12/enums/d3d12_dred_version_public.md)
- [D3D12_DEVICE_REMOVED_EXTENDED_DATA](/zh-TW/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data_public.md)
- [ID3D12DeviceRemovedExtendedData](/zh-TW/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/id3d12deviceremovedextendeddata_public.md)
- [ID3D12DeviceRemovedExtendedDataSettings](/zh-TW/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/id3d12deviceremovedextendeddatasettings_public.md)
