XFrontPanelGetScreenDimensions

Gets the dimensions of the front panel display.

Syntax

HRESULT XFrontPanelGetScreenDimensions(  
         uint32_t* height,  
         uint32_t* width  
)  

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

Requirements

Header: xfrontpaneldisplay.h

Library: xfrontpaneldisplay.lib

Supported platforms: Xbox One family consoles and Xbox Series consoles

See also

XFrontPanelDisplay