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

> Define as configurações de habilitação do relatório de falhas de página do DRED (Device Removed Extended Data).

Define as configurações de habilitação do relatório de falhas de página do DRED (Device Removed Extended Data).

## Sintaxe

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

### Parâmetros

*Enablement*\
Tipo: D3D12\_DRED\_ENABLEMENT

Um valor [D3D12\_DRED\_ENABLEMENT](/pt-BR/reference/graphics/d3d12/enums/d3d12_dred_enablement_public). O padrão é **D3D12\_DRED\_ENABLEMENT\_SYSTEM\_CONTROLLED**.

### Valor retornado

Tipo: void

Nenhum.

## Requisitos

**Cabeçalho:** d3d12\_xs.h ou d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib ou d3d12\_x.lib\
**Plataformas com suporte**: consoles XBOX Series e família XBOX One

## Consulte também

* [Interface ID3D12DeviceRemovedExtendedDataSettings](/pt-BR/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/id3d12deviceremovedextendeddatasettings_public)
* [Usar o DRED para diagnosticar falhas de GPU](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

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