public int ConnectRealPlay(ref DEV_INFO pDev, int nChannel) { H264_DVR_CLIENTINFO playstru = new H264_DVR_CLIENTINFO(); playstru.nChannel = nChannel; playstru.nStream = 0; playstru.nMode = 0; playstru.hWnd = this.Handle; m_iPlayhandle = XMSDK.H264_DVR_RealPlay(pDev.lLoginID, ref playstru); return(m_iPlayhandle); }
public static extern int H264_DVR_RealPlay(int lLoginID, ref H264_DVR_CLIENTINFO lpClientInfo);