GetDefaultXboxFrontPanel

Returns an instance of IXboxFrontPanelControl representing the front panel display on an Xbox One X dev kit.

This API is supported only on Xbox One X dev kits that are running an exclusive app using the Xbox One XDK.

Syntax

HRESULT GetDefaultXboxFrontPanel(
         IXboxFrontPanelControl **control
)  

Parameters

control
Type: IXboxFrontPanelControl **

[out] Instance of an IXboxFrontPanelControl representing the front panel display on an Xbox One X dev kit. If this call is made on a console without a front panel, the control out-parameter will be null.

Return value

Type: HRESULT 

Returns S_OK on success. This function can return E_OUTOFMEMORY if there isn’t enough memory for the title to create the IXboxFrontPanelControl structure.

Remarks

Call IsXboxFrontPanelAvailable before calling IXboxFrontPanelControl to determine if the front panel control is available.

Requirements

Header: Declared in xboxfrontpanel.h.

Library: Use xboxfrontpanel.lib.

See also

IXboxFrontPanelControl Class

IsXboxFrontPanelAvailable