Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Sets the states of the front panel lights.
Syntax
HRESULT XFrontPanelSetLightStates(
XFrontPanelLight lights
)
Parameters
lights _In_
Type: XFrontPanelLight
Value that specifies the new states of the front panel lights.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns an error code.
Remarks
The front panel of the Xbox One X dev kit includes five lights that correspond to the five programmable buttons.

For the lights parameter, combine values from the XFrontPanelLight enumeration by using the bitwise OR operator.
To get the current states of the front panel lights, use XFrontPanelGetLightStates.
For more information, see Xbox One X: Using the front panel display (NDA topic)Autorisierung erforderlich.
Requirements
Header: xfrontpaneldisplay.h
Library: xfrontpaneldisplay.lib
Supported platforms: Xbox One family consoles and Xbox Series consoles