/// <summary> /// /// </summary> /// <param name="led"></param> /// <param name="status"></param> public static void SetLedStatus(int led, LedStatus status) { var output = new NLED_SETTINGS_INFO { LedNum = led, OffOnBlink = (int)status }; NativeMethods.NLedSetDevice(NLED_SETTINGS_INFO_ID, ref output); }
internal static extern bool NLedSetDevice(short nId, ref NLED_SETTINGS_INFO pOutput);