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

# XGameStreamingDisplayDetails

> XGameStreamingDisplayDetails

# XGameStreamingDisplayDetails

ストリーミング クライアント デバイスのディスプレイに関する詳細。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
struct XGameStreamingDisplayDetails
{
    uint32_t preferredWidth;
    uint32_t preferredHeight;
    RECT safeArea;
    uint32_t maxPixels;
    uint32_t maxWidth;
    uint32_t maxHeight;
    XGameStreamingVideoFlags flags;
};
```

<a id="membersSection" />

### メンバー

*preferredWidth*\
Type: uint32\_t

クライアント デバイスで最適なエクスペリエンスを提供するために、ゲームの解像度をレンダリングする際に推奨される幅。

*preferredHeight*\
Type: uint32\_t

クライアント デバイスで最適なエクスペリエンスを提供するために、ゲームの解像度をレンダリングする際に推奨される高さ。

*safeArea*\
Type: RECT

推奨解像度のうち、レンダリングを行っても安全なサブエリア。安全ではないエリアとは、カメラ ノッチのように画面が遮られている領域や、一部のデバイスの端のように操作できない領域です。四角形の値は `preferredWidth` および `preferredHeight` を基準としています。

*maxPixels*\
Type: uint32\_t

サポートされる最大ピクセル数。これは、ストリーミング システムでサポートされる最大ピクセル数と、[XGameStreamingGetDisplayDetails](/reference/system/xgamestreaming/functions/xgamestreaminggetdisplaydetails) API に渡された maxPixels のうち小さい方の値です。

*maxWidth*\
Type: uint32\_t

ストリーミング システムがサポートする最大幅。

*maxHeight*\
Type: uint32\_t

ストリーミング システムがサポートする最大高さ。

*flags*\
Type: [XGameStreamingVideoFlags](/reference/system/xgamestreaming/enums/xgamestreamingvideoflags)

ストリーミング クライアントでサポートされるビデオ関連の機能のセット。

<a id="remarksSection" />

## 解説

この構造体は [XGameStreamingGetDisplayDetails](/reference/system/xgamestreaming/functions/xgamestreaminggetdisplaydetails) API によって返されます。その結果、*preferredWidth*、*preferredHeight*、*safeArea* などの一部のプロパティは、この API に渡されるパラメーターによって異なる結果を返す場合があります。

<a id="requirementsSection" />

## 要件

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

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

<a id="seealsoSection" />

## 関連項目

[XGameStreaming](/reference/system/xgamestreaming/xgamestreaming_members)\
[XGameStreamingVideoFlags](/reference/system/xgamestreaming/enums/xgamestreamingvideoflags)\
[XGameStreamingGetDisplayDetails](/reference/system/xgamestreaming/functions/xgamestreaminggetdisplaydetails)\
[カスタム解像度の概要](/build/core-features/common/game-streaming/game-streaming-custom-resolution-overview)


## Related topics

- [XGameStreamingGetDisplayDetails](/ja-jp/reference/system/xgamestreaming/functions/xgamestreaminggetdisplaydetails.md)
- [XGameStreamingVideoFlags](/ja-jp/reference/system/xgamestreaming/enums/xgamestreamingvideoflags.md)
- [XGameStreamingSetResolution](/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingsetresolution.md)
- [XGameStreaming](/ja-jp/reference/system/xgamestreaming/xgamestreaming_members.md)
- [ゲーム ストリーミングにおけるカスタム解像度のベスト プラクティス](/ja-jp/build/core-features/common/game-streaming/game-streaming-custom-resolution-best-practices.md)
