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

# ReportGpuHangX (famille XBOX One)

> Signale un blocage du GPU.

Signale un blocage du GPU.

Cette API est dépréciée sur XBOX Series X|S. Utilisez plutôt [ReportGpuHaltX](/fr-CA/reference/graphics/d3d12_xs/interfaces/ID3D12Device11/methods/id3d12device11_reportgpuhaltx), qui offre davantage d'options à utiliser après un arrêt du GPU.

## Syntaxe

```cpp theme={null}
void ReportGpuHangX(  
         D3D12XBOX_REPORT_GPU_HANG_FLAGS Flags  
)  
```

### Paramètres

*Flags*   \_In\_\
Type : [D3D12XBOX\_REPORT\_GPU\_HANG\_FLAGS](/fr-CA/reference/graphics/d3d12_x/enums/d3d12xbox_report_gpu_hang_flags)

Les options utilisées pour signaler le blocage du GPU, sous forme de combinaison par OR au niveau du bit de constantes d'énumération **D3D12XBOX\_REPORT\_GPU\_HANG\_FLAGS**.

### Valeur de retour

Type : void

## Configuration requise

**En-tête :** d3d12\_x.h

**Bibliothèque :** d3d12\_x.lib

**Plateformes prises en charge :** famille XBOX One

## Voir aussi

[ID3D12Device](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12device/id3d12device)

[ReportGpuHaltX](/fr-CA/reference/graphics/d3d12_xs/interfaces/ID3D12Device11/methods/id3d12device11_reportgpuhaltx)

[SetHangCallbacksX](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12device/methods/id3d12device_sethangcallbacksx)


## Related topics

- [XBOX Hang Investigation Tool (XHIT)](/tools/tools-console/xhit/index.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr/nda/nda-topic-directory.md)
- [Hang Investigation for XBOX (HIX) tool](/tools/tools-console/hix/index.md)
- [Hang Investigation for XBOX (HIX) 工具](/zh-CN/tools/tools-console/hix/index.md)
- [Hang Investigation for XBOX (HIX) 도구](/ko/tools/tools-console/hix/index.md)
