GetVideoFrameCount (DVR version only)
Top  Previous  Next

Description

Returns the number of frames in the currently open video file.


Syntax


[VB]
Value=objActiveUSB.GetVideoFrameCount()


[C/C++]
HRESULT GetVideoFrameCount(long* pValue );


Data Types
[VB]

Return value: Long


Parameters
[C/C++]

pValue [out,retval]  
Pointer to the number of frames  


Return Values


S_OK  
Success  
E_FAIL  
Failure  
 

Example


This VB example displays the number of frames in a TIFF video file.

ActiveUSB1.OpenVideo "c:\\sequence.tif"
value=ActiveUSB1.GetVideoFrameCount()
MsgBox value