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

# XFrontPanelGetScreenDimensions

> XFrontPanelGetScreenDimensions

# XFrontPanelGetScreenDimensions

フロント パネル ディスプレイのサイズを取得します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
HRESULT XFrontPanelGetScreenDimensions(  
         uint32_t* height,  
         uint32_t* width  
)  
```

<a id="parametersSection" />

### パラメーター

*height*   \_Out\_\
Type: uint32\_t\*

フロント パネル ディスプレイの高さ (ピクセル単位) を示す値へのポインター。

*width*   \_Out\_\
Type: uint32\_t\*

フロント パネル ディスプレイの幅 (ピクセル単位) を示す値へのポインター。

<a id="retvalSection" />

### 戻り値

Type: HRESULT

成功した場合は `S_OK` を返します。それ以外の場合はエラー コードを返します。

<a id="remarksSection" />

## 解説

現在の開発機では、返されるサイズは常に幅 256 ピクセル、高さ 64 ピクセルです。

この開発機にフロント パネル ディスプレイがあるかどうかを判定するには、[XFrontPanelIsSupported](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported) を使用してください。

詳細については、[XBOX One X: フロント パネル ディスプレイの使用 (NDA トピック)](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/dev-kits/concepts/scorpio-frontpanel) を参照してください。

<a id="requirementsSection" />

## 要件

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

**ライブラリ:** xfrontpaneldisplay.lib

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

<a id="seealsoSection" />

## 関連項目

[XFrontPanelDisplay](/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members)


## Related topics

- [XFrontPanelIsSupported](/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md)
- [XFrontPanelDisplay](/ja-jp/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)
- [XFrontPanelPresentBuffer](/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelpresentbuffer.md)
- [XFrontPanelGetScreenPixelFormat](/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetscreenpixelformat.md)
- [XFrontPanelGetButtonStates](/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetbuttonstates.md)
