Exemplo n.º 1
0
        /// <summary>
        /// 该函数用于呼叫企业通讯录
        /// </summary>
        /// <param name="strSearchKey">查询关键字。为空时表示查询所有列表</param>
        /// <param name="_fromIndex">查询起始序列号。要求返回的数据</param>
        /// <param name="_toIndex">查询截止序列号。要求返回的数据,注意最多查询100</param>
        /// <param name="_pContactList">返回的数据STContactList*</param>
        /// <returns>0</returns>
        public int GetEntContactList(string strSearchKey, int _fromIndex, int _toIndex, byte[] _pContactList)
        {
            LogManager.SystemLog.Debug(string.Format("Start UC_SDK_GetEntContactList"));
            int iRet = UCInterface.UC_SDK_GetEntContactList(strSearchKey, _fromIndex, _toIndex, _pContactList);

            if (iRet != 0)
            {
                LogManager.SystemLog.Error(string.Format("UC_SDK_GetEntContactList = {0}", iRet));
            }
            LogManager.SystemLog.Debug(string.Format("End UC_SDK_GetEntContactList"));
            return(iRet);
        }