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

Gets the dimensions of the front panel display.

<a id="syntaxSection" />

## Syntax

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

<a id="parametersSection" />

### Parameters

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

Pointer to a value indicating the height, in pixels, of the front panel display.

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

Pointer to a value indicating the width, in pixels, of the front panel display.

<a id="retvalSection" />

### Return value

Type: HRESULT

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

<a id="remarksSection" />

## Remarks

For current dev kits, the dimensions returned are always 256 pixels wide by 64 pixels high.

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

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

<a id="requirementsSection" />

## Requirements

**Header:** xfrontpaneldisplay.h

**Library:** xfrontpaneldisplay.lib

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

<a id="seealsoSection" />

## See also

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


## Related topics

- [XFrontPanelIsSupported](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md)
- [XFrontPanelPresentBuffer](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelpresentbuffer.md)
- [XFrontPanelDisplay](/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)
- [XFrontPanelGetScreenPixelFormat](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetscreenpixelformat.md)
- [View and manipulate the console's front panel (wdpanel.exe)](/tools/tools-console/console_commandlinetools/wdpanel.md)
