Public Function saveVideoFile(ByVal StrFileName As String) As Boolean If m_iPlayhandle <= 0 Then Return False End If If Me.m_bRecord = True Then If Camera.H264_DVR_StopLocalRecord(m_iPlayhandle) = True Then m_bRecord = False End If Else If Camera.H264_DVR_StartLocalRecord(m_iPlayhandle, StrFileName, MEDIA_FILE_TYPE.MEDIA_FILE_AVI) Then m_bRecord = True Else MsgBox("Record fail") End If End If Return m_bRecord End Function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)