yPoint = "LED_GetBrightness", CharSet = CharSet.Ansi)] public static extern Int32 LED_GetBrightness(Int32 dev, byte Group, string Host, Int32 port); /// <summary> /// 调整显示屏亮度/// </summary> /// <param name= ” dev ”></param> /// <param name= ” Group ”></param> /// <param name= ” ScrNo ”></param> /// <param name= ” Host ”></param> /// <param name= ” port ”></param> /// <param name= ” Brightness ”></param> /// <returns></returns> [DllImport("LEDSender.dll", EntryPoint = "LED_SetBrightness", CharSet = CharSet.Ansi)] //public static extern Int32 LED_SetBrightness(Int32 dev, byte Group, byte ScrNo, ref char[] Host, Int32 port, byte Brightness); public static extern Int32 LED_SetBrightness(Int32 dev, byte Group, string host, Int32 port, byte Brightness); /// <summary> /// 调整显示屏 IP 地址/// </summary>