[DllImport("HCNetSDK.dll")] public static extern int NET_DVR_RealPlay_V30(int iUserID, ref NET_DVR_CLIENTINFO lpClientInfo, REALDATACALLBACK fRealDataCallBack_V30, IntPtr pUser, UInt32 bBlocked); PreviewDemo.CHCNetSDK.NET_DVR_CLIENTINFO lpClientInfo1 = new PreviewDemo.CHCNetSDK.NET_DVR_CLIENTINFO(); lpClientInfo.lChannel = 1; lpClientInfo.hPlayWnd = PictureBox1.Handle; lpClientInfo.lLinkMode = 0; lpClientInfo.sMultiCastIP = null; //Method to get video Stream m_lRealHandle = PreviewDemo.CHCNetSDK.NET_DVR_RealPlay_V30(f, ref lpClientInfo, null, pUser, 1); public struct NET_DVR_CLIENTINFO { public Int32 lChannel; public Int32 lLinkMode; public IntPtr hPlayWnd; public string sMultiCastIP; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)