Gets the current state of the front panel lights on an Xbox One X dev kit.
public:
HRESULT GetLightStates(
XBOX_FRONT_PANEL_LIGHTS *lights
)
lights
Type: XBOX_FRONT_PANEL_LIGHTSÂ *
[out] Pointer to a value indicating the current state of the front panel lights. See the XBOX_FRONT_PANEL_LIGHTS topic for valid values.
Type: HRESULTÂ
Returns S_OK if successful, or an error code otherwise.
Header: Declared in xboxfrontpanel.h.
Library: Use xboxfrontpanel.lib.