StopVideo (DVR version only)
Top  Previous  Next

Description

Stops the playback of a video file or memory sequence that has been initiated by PlayVideo.


Syntax


[VB]
objActiveGige.StopVideo

[C/C++]
HRESULT StopVideo( );



Parameters [C/C++]

None


Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB example shows how to stop and resume the video playback using push buttons.

Private Sub Form_Load()  
ActiveGige1.OpenVideo "C:\\video1.avi"  
End Sub  

Private Sub Play_Click()  
ActiveGige1.PlayVideo -1  
End Sub  
 
Private Sub StopButton_Click()  
ActiveGige1.StopVideo  
End Sub  



Remarks

When this method is called, the PlayCompleted event will be fired.