Esempio n. 1
0
            public static int GetRGBPinType()
            {
                int returns = GLedAPI.dllexp_GetRGBPinType();

                if (returns != 1)
                {
                    ConsoleColor def = Console.ForegroundColor;
                    Console.ForegroundColor = ConsoleColor.Red;
                    Console.WriteLine("GetRGBPinType: Program may not work correctly, expected '1' not '{0}'", returns);
                    Console.ForegroundColor = def;
                }
                return(returns);
            }