/*===========================================================
        *  获取服务器视频列表相关接口
        *  ===========================================================*/
        /*===========================================================
        *  功  能:获取指定盘符下视频文件个数
        *  参  数:	ptSearch - 视频查询条件
        *       pdwQueryHandle - 检索句柄
        *  返回值:成功返回文件个数,失败返回-1
        *  ===========================================================*/
        public UInt32 RvodSdk_GetVideoResourceTotalNum(string ip, uint port, out UInt32 pdwQueryHandle)
        {
            TRVODSDK_SERVER_INFO ptServer = new TRVODSDK_SERVER_INFO()
            {
                szDevIp  = ip,
                wDevPort = (ushort)port,
            };

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXRVODSDKProtocol RvodSdk_GetVideoResourceTotalNum ip:" + ip + ",port:" + port);
            UInt32 retVal = IVXRVODSDKProtocol.RvodSdk_GetVideoResourceTotalNum(ref ptServer, out pdwQueryHandle);;

            if (pdwQueryHandle <= 0 || pdwQueryHandle == 0xffffffff)
            {
                RVOD_GetError();
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXRVODSDKProtocol RvodSdk_GetVideoResourceTotalNum ret count:" + retVal + ",handel:" + pdwQueryHandle);
            return(retVal);
        }
 public static extern UInt32 RvodSdk_GetVideoResourceTotalNum(ref TRVODSDK_SERVER_INFO ptServer, out UInt32 pdwQueryHandle);