Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 internal static extern bool NLedSetDevice(short nId, ref NLED_SETTINGS_INFO pOutput);