/// <summary>
 /// 功能:获取视频参数
 /// </summary>
 /// <param name="lRealHandle">RealPlay()的返回值.</param>
 /// <param name="pBrightValue">存放亮度值的指针(取值为1-10).</param>
 /// <param name="pContrastValue">存放对比度值的指针(取值为1-10).</param>
 /// <param name="pSaturationValue">存放饱和度值的指针(取值为1-10).</param>
 /// <param name="pHueValue">存放色度值的指针(取值为1-10).</param>
 /// <returns>返回值:TRUE 表示成功,FALSE 表示失败。</returns>
 public bool ClientGetVideoEffect(Int32 lRealHandle, ref int pBrightValue, ref int pContrastValue,
     ref int pSaturationValue, ref int pHueValue)
 {
     CHANNVIPARAM m_pGetPara = new CHANNVIPARAM();
     bool success = VSNET_ClientGetViparam(hashtable_sername[lRealHandle].ToString(), hashtable_ip[lRealHandle].ToString(), Convert.ToByte(hashtable_channel[lRealHandle]), hashtable_username[lRealHandle].ToString(), hashtable_password[lRealHandle].ToString(), ref m_pGetPara, (ushort.Parse(hashtable_port[lRealHandle].ToString())));
     pBrightValue = m_pGetPara.m_bri * 10 / 255;
     pContrastValue = m_pGetPara.m_con * 10 / 255;
     pSaturationValue = m_pGetPara.m_sat * 10 / 255;
     pHueValue = m_pGetPara.m_hue * 10 / 255;
     return success;
 }
 private static extern bool VSNET_ClientSetViparam(string m_sername, string m_url, byte m_ch, string m_username,
     string m_password, ref CHANNVIPARAM m_pGetPara, ushort wserport);