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

> Defines constants used in the D3D12_DEVICE_REMOVED_EXTENDED_DATA structure to specify control flags for the Direct3D runtime.

<Note>
  As of Windows 10, version 1903, **D3D12\_DRED\_FLAGS** is deprecated, and it may not be available in future versions of Windows.
</Note>

Defines constants used in the [D3D12\_DEVICE\_REMOVED\_EXTENDED\_DATA structure](/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data_public) to specify control flags for the Direct3D runtime. Values can be bitwise OR'd together.

## Syntax

```cpp theme={null}
typedef enum D3D12_DRED_FLAGS
{
    D3D12_DRED_FLAG_NONE (0x0) = 0,
    D3D12_DRED_FLAG_FORCE_ENABLE (0x1) = 0,
    D3D12_DRED_FLAG_DISABLE_AUTOBREADCRUMBS (0x2) = 0
} D3D12_DRED_FLAGS
```

## Constants

| Constant                                          | Description                                                                                                                                                                                                                                                          |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| D3D12\_DRED\_FLAG\_NONE (0x0)                     | Typically specifies that Device Removed Extended Data (DRED) is disabled, except for when user-initiated feedback is used to produce a repro, or when otherwise enabled by Windows via automatic detection of process-instability issues. This is the default value. |
| D3D12\_DRED\_FLAG\_FORCE\_ENABLE (0x1)            | Forces DRED to be enabled, regardless of the system state.                                                                                                                                                                                                           |
| D3D12\_DRED\_FLAG\_DISABLE\_AUTOBREADCRUMBS (0x2) | Disables DRED auto breadcrumbs.                                                                                                                                                                                                                                      |

## Remarks

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

* [Core enumerations](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-enumerations)
* [D3D12\_DEVICE\_REMOVED\_EXTENDED\_DATA structure](/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data_public)
* [Use DRED to diagnose GPU faults](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [D3D12_DEVICE_REMOVED_EXTENDED_DATA](/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data_public.md)
- [D3D12_DRED_ENABLEMENT](/reference/graphics/d3d12/enums/d3d12_dred_enablement_public.md)
- [D3D12_DRED_VERSION](/reference/graphics/d3d12/enums/d3d12_dred_version_public.md)
- [D3D12_DRED_ALLOCATION_TYPE](/reference/graphics/d3d12/enums/d3d12_dred_allocation_type_public.md)
- [D3D12_DRED_ALLOCATION_NODE](/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public.md)
