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

# XAppCaptureTakeScreenshotResult

> XAppCaptureTakeScreenshotResult

Represents the results of taking a screenshot.

## Syntax

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

### Members

*localId*\
Type: char\[APPCAPTURE\_MAX\_LOCALID\_LENGTH]

Local ID of the screenshot result.

*availableScreenshotFormats*\
Type: [XAppCaptureScreenshotFormatFlag](https://docs.xbox.com/reference/system/xappcapture/enums/xappcapturescreenshotformatflag.md)

Image formats available resulting from the taking the screenshot.

## Remarks

Information about the resulting screenshot and whether both HDR and SDR formats are available, or only SDR format is available. You will use the *localID* to access the correct screenshot stream when calling [XAppCaptureOpenScreenShotStream](https://docs.xbox.com/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream.md). **XAppCaptureTakeScreenshotResult** is an output parameter for [XAppCaptureTakeScreenshot](https://docs.xbox.com/reference/system/xappcapture/structs/xappcapturetakescreenshotresult.md).

## 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)\
[XAppCaptureOpenScreenShotStream](https://docs.xbox.com/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream.md)\
[XAppCaptureTakeScreenshot](https://docs.xbox.com/reference/system/xappcapture/structs/xappcapturetakescreenshotresult.md)


## Related topics

- [XAppCaptureTakeScreenshot](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturetakescreenshot.md)
- [XAppCaptureOpenScreenshotStream](https://docs.xbox.com/reference/system/xappcapture/functions/xappcaptureopenscreenshotstream.md)
- [XAppCapture (API contents)](https://docs.xbox.com/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureTakeDiagnosticScreenshot](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
- [XAppCaptureDiagnosticScreenshotResult](https://docs.xbox.com/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult.md)
