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

应用捕获屏幕截图及描述性信息。

## Syntax

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

### Members

*fileCount*\
类型：size\_t

生成的诊断屏幕截图的大小。

*files*\
类型：[XAppCaptureScreenshotFile](/reference/system/xappcapture/structs/xappcapturescreenshotfile)\[APPCAPTURE\_MAX\_CAPTURE\_FILES]

诊断屏幕截图。

## Remarks

[XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot) 的输出参数。\
XAppCaptureScreenshotFile 可能包含多个屏幕截图。如果游戏以 HDR 运行，XAppCaptureDiagnosticScreenshotResult 将同时包含 HDR 和 SDR 格式的屏幕截图。

## Requirements

**头文件：** XAppCapture.h

**受支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

## See also

[GameDVR 概述](/build/console-features/game-dvr/gamedvr-broadcast)\
[XAppCapture Members](/reference/system/xappcapture/xappcapture_members)\
[XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot)
