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

# SetHangCallbacksX (famille XBOX One)

> Définit les fonctions de rappel à appeler lorsque le GPU se bloque.

Définit les fonctions de rappel à appeler lorsque le GPU se bloque.

## Syntaxe

```cpp theme={null}
void SetHangCallbacksX(  
         D3D12XBOX_HANGBEGINCALLBACK pBeginCallback,  
         D3D12XBOX_HANGPRINTCALLBACK pPrintCallback,  
         D3D12XBOX_HANGDUMPCALLBACK pDumpCallback  
)  
```

### Paramètres

*pBeginCallback*   \_In\_\
Type : D3D12XBOX\_HANGBEGINCALLBACK

Pointeur vers la fonction de rappel à appeler au début du vidage de blocage. La valeur de retour du rappel détermine si le vidage de blocage est écrit; 1 indique qu'un fichier de vidage doit être écrit et 0 indique qu'un fichier de vidage ne doit pas être écrit.

*pPrintCallback*   \_In\_\
Type : D3D12XBOX\_HANGPRINTCALLBACK

Pointeur vers la fonction de rappel à appeler pour chaque ligne imprimée dans le cadre du vidage de blocage.

*pDumpCallback*   \_In\_\
Type : D3D12XBOX\_HANGDUMPCALLBACK

Pointeur vers la fonction de rappel à appeler à la fin du vidage de blocage.

### Valeur de retour

Type : void

### Remarques

Ces rappels peuvent être utilisés pour insérer des informations propres au titre ou pour vider la sortie pendant le processus d'assurance qualité.

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


## Related topics

- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr/nda/nda-topic-directory.md)
- [XBOX Hang Investigation Tool (XHIT)](/tools/tools-console/xhit/index.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)
