Exemplo n.º 1
0
        public void hm_pu_start_videoTest()
        {
            UInt32 iResult = 0;

            Init();
            if (!GetNode_ByIndex(iRootNode, 3))
            {
                Release();
                Assert.Fail();
            }
            if (!LoginDev())
            {
                Release();
                Assert.Fail();
            }
            if (!OpenRealVideo())
            {
                Release();
                Assert.Fail();
            }
            videoRes = new OPEN_VIDEO_RES();
            iResult  = SDK_HuaMai.hm_pu_start_video(iOpenVideo, ref videoRes);
            Thread.Sleep(100000);
            Release();
            Assert.AreEqual(Convert.ToUInt32(0), iResult);
        }
Exemplo n.º 2
0
        public bool StartOpenVideo()
        {
            UInt32 iResult = 0;

            videoRes = new OPEN_VIDEO_RES();
            iResult  = SDK_HuaMai.hm_pu_start_video(iOpenVideo, ref videoRes);
            if (Convert.ToUInt32(0) == iResult)
            {
                return(true);
            }
            return(false);
        }
Exemplo n.º 3
0
 public static extern UInt32 hm_pu_start_video(IntPtr iOpenVideo, ref OPEN_VIDEO_RES videoRes);