コード例 #1
0
 public int QueryCallHistory(CallHistoryType _callType, int _fromIndex, int _toIndex, byte[] _result, int _size)
 {
     try
     {
         LogManager.SystemLog.Debug(string.Format("Start UC_SDK_QueryCallHistory"));
         int iRet = UCInterface.UC_SDK_QueryCallHistory(_callType, _fromIndex, _toIndex, _result, _size);
         if (iRet != 0)
         {
             LogManager.SystemLog.Error(string.Format("Start UC_SDK_QueryCallHistory error {0}", iRet));
             return(iRet);
         }
         LogManager.SystemLog.Debug(string.Format("End UC_SDK_QueryCallHistory"));
         return(iRet);
     }
     catch (System.Exception ex)
     {
         LogManager.SystemLog.Error(ex.ToString());
         return(-1);
     }
 }