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

# XAppCaptureTakeScreenshotResult

> XAppCaptureTakeScreenshotResult

# XAppCaptureTakeScreenshotResult

表示截取屏幕截图的结果。

## Syntax

```cpp theme={null}
typedef struct XAppCaptureTakeScreenshotResult {  
    char localId[APPCAPTURE_MAX_LOCALID_LENGTH];  
    XAppCaptureScreenshotFormatFlag availableScreenshotFormats;  
} XAppCaptureTakeScreenshotResult  
```

### Members

*localId*\
类型：char\[APPCAPTURE\_MAX\_LOCALID\_LENGTH]

屏幕截图结果的本地 ID。

*availableScreenshotFormats*\
类型：[XAppCaptureScreenshotFormatFlag](/reference/system/xappcapture/enums/xappcapturescreenshotformatflag)

截取屏幕截图后可用的图像格式。

## Remarks

关于生成的屏幕截图以及 HDR 和 SDR 格式是否都可用（或仅 SDR 格式可用）的信息。在调用 [XAppCaptureOpenScreenShotStream](/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream) 时，将使用 *localID* 访问正确的屏幕截图流。**XAppCaptureTakeScreenshotResult** 是 [XAppCaptureTakeScreenshot](/reference/system/xappcapture/structs/xappcapturetakescreenshotresult) 的输出参数。

## 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)\
[XAppCaptureOpenScreenShotStream](/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream)\
[XAppCaptureTakeScreenshot](/reference/system/xappcapture/structs/xappcapturetakescreenshotresult)


## Related topics

- [XAppCaptureTakeScreenshot](/zh-CN/reference/system/xappcapture/functions/xappcapturetakescreenshot.md)
- [XAppCaptureOpenScreenshotStream](/zh-CN/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream.md)
- [XAppCapture](/zh-CN/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureTakeDiagnosticScreenshot](/zh-CN/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
- [XAppCaptureDiagnosticScreenshotResult](/zh-CN/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult.md)
