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

# XAppCaptureDiagnosticScreenshotResult

> XAppCaptureDiagnosticScreenshotResult

App capture screenshot and descriptive information.

## Syntax

```cpp theme={null}
typedef struct XAppCaptureDiagnosticScreenshotResult {  
    size_t fileCount;  
    XAppCaptureScreenshotFile files[APPCAPTURE_MAX_CAPTURE_FILES];  
} XAppCaptureDiagnosticScreenshotResult  
```

### Members

*fileCount*\
Type: size\_t

Size of the resulting diagnostic screenshot.

*files*\
Type: [XAppCaptureScreenshotFile](https://docs.xbox.com/reference/system/xappcapture/structs/xappcapturescreenshotfile.md)\[APPCAPTURE\_MAX\_CAPTURE\_FILES]

Diagnostic screenshot.

## Remarks

Output parameter for [XAppCaptureTakeDiagnosticScreenshot](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md).\
XAppCaptureScreenshotFile may contain more than one screenshot. If the game is running in HDR the XAppCaptureDiagnosticScreenshotResult will contain both and HDR and SDR formatted screenshot.

## Requirements

**Header:** XAppCapture.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[GameDVR Overview](https://docs.xbox.com/build/console-features/game-dvr/gamedvr-broadcast.md)\
[XAppCapture Members](https://docs.xbox.com/reference/system/xappcapture/xappcapture_members.md)\
[XAppCaptureTakeDiagnosticScreenshot](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)


## Related topics

- [XAppCaptureTakeDiagnosticScreenshot](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
- [XAppCaptureScreenshotFile](https://docs.xbox.com/reference/system/xappcapture/structs/xappcapturescreenshotfile.md)
- [XAppCapture (API contents)](https://docs.xbox.com/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureTakeScreenshotResult](https://docs.xbox.com/reference/system/xappcapture/structs/xappcapturetakescreenshotresult.md)
- [XAppCaptureScreenshotFormatFlag](https://docs.xbox.com/reference/system/xappcapture/enums/xappcapturescreenshotformatflag.md)
