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

# XAppCaptureScreenshotFile

> XAppCaptureScreenshotFile

# XAppCaptureScreenshotFile

キャプチャされたスクリーンショットとその説明情報。

## Syntax

```cpp theme={null}
typedef struct XAppCaptureScreenshotFile {  
    char path[MAX_PATH];  
    size_t fileSize;  
    uint32_t width;  
    uint32_t height;  
} XAppCaptureScreenshotFile  
```

### Members

*path*\
型: char\[MAX\_PATH]

キャプチャされたスクリーンショットへのパス。

*fileSize*\
型: size\_t

キャプチャされたスクリーンショットのサイズ (バイト単位)。

*width*\
型: uint32\_t

キャプチャされたスクリーンショットの幅 (ピクセル単位)。

*height*\
型: uint32\_t

キャプチャされたスクリーンショットの高さ (ピクセル単位)。

## Remarks

このスクリーンショット ファイルは、[XAppCaptureTakeDiagnosticScreenshot](/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot) 関数で取得された診断スクリーンショットを表します。診断スクリーンショットはゲームと同じパーティションに保存されるため、スクリーンショット ストリームを開かずに *path* パラメーターを使用してアクセスできます。この構造体は、[XAppCaptureDiagnosticScreenshotResult](/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult) のメンバーです。

## Requirements

**ヘッダー:** XAppCapture.h

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

## See also

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


## Related topics

- [XAppCaptureTakeDiagnosticScreenshot](/ja-jp/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
- [XAppCaptureDiagnosticScreenshotResult](/ja-jp/reference/system/xappcapture/structs/xappcapturediagnosticscreenshotresult.md)
- [XAppCapture](/ja-jp/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureTakeScreenshot](/ja-jp/reference/system/xappcapture/functions/xappcapturetakescreenshot.md)
- [XAppCaptureScreenshotStream](/ja-jp/reference/system/xappcapture/structs/xappcapturescreenshotstream.md)
