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

Sets the name of the front panel display.

## Syntax

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

### Parameters

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

The name of the display.

### Return value

Type: HRESULT

Returns `S_OK` if successful; otherwise, returns an error code.

## Remarks

Currently, *displayName* is not used by the front panel display.

To determine whether this dev kit has a front panel display, use [XFrontPanelIsSupported](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md).

For more information, see [XBOX One X: Using the front panel display (NDA topic)](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/dev-kits/concepts/scorpio-frontpanel).

## Requirements

**Header:** xfrontpaneldisplay.h

**Library:** xfrontpaneldisplay.lib

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

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


## Related topics

- [XFrontPanelDisplay (API contents)](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)
- [XFrontPanelLight](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/enums/xfrontpanellight.md)
- [XFrontPanelSetLightStates](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelsetlightstates.md)
- [XFrontPanelGetLightStates](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetlightstates.md)
- [XFrontPanelIsSupported](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md)
