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

> Récupère les données d'erreur de page DRED (Device Removed Extended Data).

Récupère les données d'erreur de page DRED (Device Removed Extended Data), y compris l'allocation correspondante pour les objets d'exécution actifs et récemment supprimés. L'objet dont l'adresse est passée reçoit les données.

## Syntaxe

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

### Paramètres

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

Un paramètre de sortie qui prend l'adresse d'un objet [D3D12\_DRED\_PAGE\_FAULT\_OUTPUT](/fr-CA/reference/graphics/d3d12/structs/d3d12_dred_page_fault_output_public).

### Valeur de retour

Type : HRESULT

Si la fonction réussit, elle retourne **S\_OK**. Sinon, elle retourne un [code d'erreur](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). Retourne **DXGI\_ERROR\_NOT\_CURRENTLY\_AVAILABLE** si le périphérique n'est *pas* dans un état supprimé. Retourne **DXGI\_ERROR\_UNSUPPORTED** si le signalement des erreurs de page n'a pas été activé avec [ID3D12DeviceRemovedExtendedDataSettings::SetPageFaultEnablement](/fr-CA/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/methods/id3d12deviceremovedextendeddatasettings_setpagefaultenablement_public).

## Configuration requise

**En-tête :** d3d12\_xs.h ou d3d12\_x.h\
**Bibliothèque :** d3d12\_xs.lib ou d3d12\_x.lib\
**Plateformes prises en charge :** consoles XBOX Series et famille XBOX One

## Voir aussi

* [Interface ID3D12DeviceRemovedExtendedData](/fr-CA/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/id3d12deviceremovedextendeddata_public)
* [Utiliser DRED pour diagnostiquer les erreurs GPU](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [D3D12_DRED_PAGE_FAULT_OUTPUT](/fr-CA/reference/graphics/d3d12/structs/d3d12_dred_page_fault_output_public.md)
- [SetPageFaultEnablement](/fr-CA/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/methods/id3d12deviceremovedextendeddatasettings_setpagefaultenablement_public.md)
- [D3D12_DEVICE_REMOVED_EXTENDED_DATA1](/fr-CA/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data1_public.md)
- [D3D12_DRED_ALLOCATION_NODE](/fr-CA/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public.md)
- [PartyXblManager::GetMemoryCallbacks](/fr-CA/services/playfab/multiplayer/networking/xblreference/classes/PartyXblManager/methods/partyxblmanager_getmemorycallbacks.md)
