Skip to main content

XFrontPanelGetScreenDimensions

Gets the dimensions of the front panel display.

Syntax

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.

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an error code.

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. For more information, see XBOX One X: Using the front panel display (NDA topic).

Requirements

Header: xfrontpaneldisplay.h Library: xfrontpaneldisplay.lib Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

XFrontPanelDisplay
Last modified on August 20, 2026