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

# SetPageFaultEnablement

> Configures the enablement settings for Device Removed Extended Data (DRED) page fault reporting.

Configures the enablement settings for Device Removed Extended Data (DRED) page fault reporting.

## Syntax

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

### Parameters

*Enablement*\
Type: D3D12\_DRED\_ENABLEMENT

A [D3D12\_DRED\_ENABLEMENT](/reference/graphics/d3d12/enums/d3d12_dred_enablement_public) value. The default is **D3D12\_DRED\_ENABLEMENT\_SYSTEM\_CONTROLLED**.

### Return value

Type: void

None.

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

* [ID3D12DeviceRemovedExtendedDataSettings interface](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/id3d12deviceremovedextendeddatasettings_public)
* [Use DRED to diagnose GPU faults](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [GetPageFaultAllocationOutput](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/methods/id3d12deviceremovedextendeddata_getpagefaultallocationoutput_public.md)
- [SetWatsonDumpEnablement](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/methods/id3d12deviceremovedextendeddatasettings_setwatsondumpenablement_public.md)
- [D3D12_DRED_ENABLEMENT](/reference/graphics/d3d12/enums/d3d12_dred_enablement_public.md)
- [D3D12_DRED_PAGE_FAULT_OUTPUT](/reference/graphics/d3d12/structs/d3d12_dred_page_fault_output_public.md)
- [D3D12_DRED_ALLOCATION_NODE](/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public.md)
