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

# XAppCaptureDiagnosticScreenshotResult

> 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](/reference/system/xappcapture/structs/xappcapturescreenshotfile)\[APPCAPTURE\_MAX\_CAPTURE\_FILES]

Diagnostic screenshot.

## Remarks

Output parameter for [XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot).\
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](/build/console-features/game-dvr/gamedvr-broadcast)\
[XAppCapture Members](/reference/system/xappcapture/xappcapture_members)\
[XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot)


## Related topics

- [XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
- [XAppCaptureScreenshotFile](/reference/system/xappcapture/structs/xappcapturescreenshotfile.md)
- [XAppCapture](/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureTakeScreenshotResult](/reference/system/xappcapture/structs/xappcapturetakescreenshotresult.md)
- [XAppCaptureScreenshotFormatFlag](/reference/system/xappcapture/enums/xappcapturescreenshotformatflag.md)
