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

# XFrontPanelSetDisplayName

> XFrontPanelSetDisplayName

# XFrontPanelSetDisplayName

フロント パネル ディスプレイの名前を設定します。

## 構文

```cpp theme={null}
HRESULT XFrontPanelSetDisplayName(  
         const char* displayName  
)  
```

### パラメーター

*displayName*   \_In\_\
Type: char\*

ディスプレイの名前。

### 戻り値

Type: HRESULT

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

## 解説

現在、*displayName* はフロント パネル ディスプレイでは使用されていません。

この開発キットにフロント パネル ディスプレイがあるかどうかを判定するには、[XFrontPanelIsSupported](https://docs.xbox.com/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md) を使用してください。

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

## 要件

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

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

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

## 関連項目

[XFrontPanelDisplay](https://docs.xbox.com/ja-jp/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)


## Related topics

- [XFrontPanelDisplay (API の内容)](https://docs.xbox.com/ja-jp/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)
- [XFrontPanelSetLightStates](https://docs.xbox.com/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelsetlightstates.md)
- [XFrontPanelLight](https://docs.xbox.com/ja-jp/reference/devkit/xfrontpaneldisplay/enums/xfrontpanellight.md)
- [XFrontPanelIsSupported](https://docs.xbox.com/ja-jp/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md)
- [XFrontPanelButton](https://docs.xbox.com/ja-jp/reference/devkit/xfrontpaneldisplay/enums/xfrontpanelbutton.md)
