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

# XGameStreamingDisplayDetails

> XGameStreamingDisplayDetails

# XGameStreamingDisplayDetails

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

## 構文

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

### メンバー

*preferredWidth*\
Type: uint32\_t

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

*preferredHeight*\
Type: uint32\_t

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

*safeArea*\
Type: RECT

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

*maxPixels*\
Type: uint32\_t

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

*maxWidth*\
Type: uint32\_t

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

*maxHeight*\
Type: uint32\_t

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

*flags*\
Type: [XGameStreamingVideoFlags](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/enums/xgamestreamingvideoflags.md)

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

## 解説

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

## 要件

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

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

## 関連項目

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


## Related topics

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