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

> 定义指定设备已移除的扩展数据 (DRED) 版本的常量，由 D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA 结构使用。

定义指定"设备已移除的扩展数据"(DRED) 版本的常量，由 [D3D12\_VERSIONED\_DEVICE\_REMOVED\_EXTENDED\_DATA 结构](/reference/graphics/d3d12/structs/d3d12_versioned_device_removed_extended_data_public)使用。

## 语法

```cpp theme={null}
typedef enum D3D12_DRED_VERSION
{
    D3D12_DRED_VERSION_1_0 (0x1) = 0,
    D3D12_DRED_VERSION_1_1 (0x2) = 0
} D3D12_DRED_VERSION
```

## 常量

| 常量                               | 说明              |
| -------------------------------- | --------------- |
| D3D12\_DRED\_VERSION\_1\_0 (0x1) | 指定 DRED 版本 1.0。 |
| D3D12\_DRED\_VERSION\_1\_1 (0x2) | 指定 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-enumerations)
* [使用 DRED 诊断 GPU 故障](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA](/zh-CN/reference/graphics/d3d12/structs/d3d12_versioned_device_removed_extended_data_public.md)
- [D3D12_DRED_ALLOCATION_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_dred_allocation_type_public.md)
- [D3D12_DRED_ENABLEMENT](/zh-CN/reference/graphics/d3d12/enums/d3d12_dred_enablement_public.md)
- [D3D12_DRED_FLAGS](/zh-CN/reference/graphics/d3d12/enums/d3d12_dred_flags_public.md)
- [D3D12_DRED_ALLOCATION_NODE](/zh-CN/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public.md)
