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

# GetPageFaultAllocationOutput

> Recupera los datos de errores de página de Device Removed Extended Data (DRED).

Recupera los datos de errores de página de Device Removed Extended Data (DRED), incluida la asignación coincidente tanto para los objetos de tiempo de ejecución activos como para los eliminados recientemente. El objeto cuya dirección se pasa recibe los datos.

## Sintaxis

```cpp theme={null}
HRESULT GetPageFaultAllocationOutput(
    D3D12_DRED_PAGE_FAULT_OUTPUT  pOutput
)
```

### Parámetros

*pOutput*\
Tipo: D3D12\_DRED\_PAGE\_FAULT\_OUTPUT \*

Un parámetro de salida que toma la dirección de un objeto [D3D12\_DRED\_PAGE\_FAULT\_OUTPUT](/reference/graphics/d3d12/structs/d3d12_dred_page_fault_output_public).

### Valor devuelto

Tipo: HRESULT

Si la función se ejecuta correctamente, devuelve **S\_OK**. De lo contrario, devuelve un [código de error](https://learn.microsoft.com/en-us/windows/desktop/com/com-error-codes-10) [HRESULT](https://learn.microsoft.com/en-us/windows/desktop/com/structure-of-com-error-codes). Devuelve **DXGI\_ERROR\_NOT\_CURRENTLY\_AVAILABLE** si el dispositivo *no* está en estado de eliminado. Devuelve **DXGI\_ERROR\_UNSUPPORTED** si los informes de errores de página no se han habilitado con [ID3D12DeviceRemovedExtendedDataSettings::SetPageFaultEnablement](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/methods/id3d12deviceremovedextendeddatasettings_setpagefaultenablement_public).

## Requisitos

**Encabezado:** d3d12\_xs.h o d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib o d3d12\_x.lib\
**Plataformas compatibles**: consolas XBOX Series y familia XBOX One

## Consulte también

* [Interfaz ID3D12DeviceRemovedExtendedData](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/id3d12deviceremovedextendeddata_public)
* [Uso de DRED para diagnosticar errores de GPU](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [D3D12_DRED_PAGE_FAULT_OUTPUT](/es/reference/graphics/d3d12/structs/d3d12_dred_page_fault_output_public.md)
- [SetPageFaultEnablement](/es/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/methods/id3d12deviceremovedextendeddatasettings_setpagefaultenablement_public.md)
- [D3D12_DEVICE_REMOVED_EXTENDED_DATA1](/es/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data1_public.md)
- [GetResourceAllocationInfo](/es/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getresourceallocationinfo_public.md)
- [GetResourceAllocationInfo1 (consolas XBOX Series)](/es/reference/graphics/d3d12/interfaces/id3d12device4/methods/id3d12device4_getresourceallocationinfo1_public.md)
