Skip to main content

XAppCaptureScreenshotFile

Captured screenshot and descriptive information.

Syntax

Members

path
Type: char[MAX_PATH]
Path to the captured screenshot. fileSize
Type: size_t
Size of the captured screenshot in bytes. width
Type: uint32_t
Width of the captured screenshot in pixels. height
Type: uint32_t
Height of the captured screenshot in pixels.

Remarks

This screenshot file represents a diagnostic screenshot taken with the function XAppCaptureTakeDiagnosticScreenshot. The diagnostic screenshot is saved in the same partition as the game so it can be accessed using the path parameter instead of opening a screenshot stream. This structure is a member of XAppCaptureDiagnosticScreenshotResult.

Requirements

Header: XAppCapture.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

GameDVR Overview
XAppCapture Members
XAppCaptureDiagnosticScreenshotResult
XAppCaptureTakeDiagnosticScreenshot
Last modified on August 20, 2026