/*===========================================================
        *  视频点播相关接口
        *  ===========================================================*/
        /*===========================================================
        *  功  能:点播视频
        *  参  数:ptVodInfo - 点播信息
        *       pfuncPlayPos - 进度回调函数,传Null标示不需要回调进度
        *       dwUserData - 用户数据
        *  返回值:-1表示失败,其他值表示返回的点播标示值。
        *  ===========================================================*/
        public UInt32 RvodSdk_PlayBackVideo(IntPtr hWnd, RVODFileInfo info)
        {
            TRVODSDK_PLAYBACK_VOD_INFO ptVodInfo = new TRVODSDK_PLAYBACK_VOD_INFO()
            {
                hPlayWnd    = (uint)hWnd.ToInt32(),
                szVideoPath = info.VodFileName,
                tServerInfo = new TRVODSDK_SERVER_INFO()
                {
                    szDevIp = info.ServerIP, wDevPort = (ushort)info.ServerPort,
                },
            };

            pfuncPlayPos = OnTfuncPlayPosCB;
            UInt32 dwUserData = 0;

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXRVODSDKProtocol RvodSdk_PlayBackVideo hWnd:" + hWnd.ToInt32() + ",VodFileName:" + info.VodFileName + ",VodFileSize:" + info.VodFileSize + ",ServerIP:" + info.ServerIP + ",ServerPort:" + info.ServerPort);
            uint retVal = IVXRVODSDKProtocol.RvodSdk_PlayBackVideo(ref ptVodInfo, pfuncPlayPos, dwUserData);

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

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXRVODSDKProtocol RvodSdk_PlayBackVideo ret :" + retVal);
            return(retVal);
        }
 public static extern UInt32 RvodSdk_PlayBackVideo(ref TRVODSDK_PLAYBACK_VOD_INFO ptVodInfo, TfuncPlayPosCB pfuncPlayPos, UInt32 dwUserData);