/// <summary> /// 按文件名回放录像文件 /// </summary> /// <param name="fileName"> 回放的文件名,长度不能超过100字节</param> /// <param name="hWnd">窗口句柄</param> /// <returns></returns> public bool PlayBackByName(string fileName, IntPtr hWnd) { _play_handle = HCNetSDK.NET_DVR_PlayBackByName(_user_id, fileName, hWnd); if (_play_handle < 0) { return(false); } return(true); }