Sets the current state of the front panel lights on an Xbox One X dev kit.
public:
HRESULT SetLightStates(
XBOX_FRONT_PANEL_LIGHTS lights
)
lights
Type: XBOX_FRONT_PANEL_LIGHTS
[in] Value indicating the new state of the front panel lights. Pass one or more values from XBOX_FRONT_PANEL_LIGHTS or’d together to indicate the new light settings.
Type: HRESULT
Returns S_OK if successful, or an error code otherwise.
Header: Declared in xboxfrontpanel.h.
Library: Use xboxfrontpanel.lib.