> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XAppCaptureScreenshotFile

> XAppCaptureScreenshotFile

# XAppCaptureScreenshotFile

Capture d'écran capturée et informations descriptives.

## Syntaxe

```cpp theme={null}
typedef struct XAppCaptureScreenshotFile {  
    char path[MAX_PATH];  
    size_t fileSize;  
    uint32_t width;  
    uint32_t height;  
} XAppCaptureScreenshotFile  
```

### Membres

*path*\
Type : char\[MAX\_PATH]

Chemin d'accès à la capture d'écran.

*fileSize*\
Type : size\_t

Taille de la capture d'écran, en octets.

*width*\
Type : uint32\_t

Largeur de la capture d'écran, en pixels.

*height*\
Type : uint32\_t

Hauteur de la capture d'écran, en pixels.

## Remarques

Ce fichier de capture d'écran représente une capture d'écran de diagnostic prise avec la fonction [XAppCaptureTakeDiagnosticScreenshot](https://docs.xbox.com/fr-CA/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md). La capture d'écran de diagnostic est sauvegardée dans la même partition que le jeu, de sorte qu'il est possible d'y accéder au moyen du paramètre *path* plutôt que d'ouvrir un flux de capture d'écran. Cette structure est un membre de [XAppCaptureDiagnosticScreenshotResult](https://docs.xbox.com/fr-CA/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult.md).

## Configuration requise

**En-tête :** XAppCapture.h

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[Vue d'ensemble de GameDVR](https://docs.xbox.com/fr-CA/build/console-features/game-dvr/gamedvr-broadcast.md)\
[Membres de XAppCapture](https://docs.xbox.com/fr-CA/reference/system/xappcapture/xappcapture_members.md)\
[XAppCaptureDiagnosticScreenshotResult](https://docs.xbox.com/fr-CA/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult.md)\
[XAppCaptureTakeDiagnosticScreenshot](https://docs.xbox.com/fr-CA/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)


## Related topics

- [XAppCaptureDiagnosticScreenshotResult](https://docs.xbox.com/fr-CA/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult.md)
- [XAppCaptureTakeDiagnosticScreenshot](https://docs.xbox.com/fr-CA/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
- [XAppCapture (contenu de l'API)](https://docs.xbox.com/fr-CA/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureTakeScreenshot](https://docs.xbox.com/fr-CA/reference/system/xappcapture/functions/xappcapturetakescreenshot.md)
- [XAppCaptureScreenshotStream](https://docs.xbox.com/fr-CA/reference/system/xappcapture/structs/xappcapturescreenshotstream.md)
