ReaderDurationGet Method (MFReaderClass)
duration
Gets duration of a source file
Syntax
Public Overridable Sub ReaderDurationGet( _
   ByRef _pdblDuration As Double _
) 
public virtual void ReaderDurationGet( 
   out double _pdblDuration
)
public procedure ReaderDurationGet( 
   Out  _pdblDuration: Double
); virtual; 
public: virtual void ReaderDurationGet( 
   [PARAMFLAG::Out] double _pdblDuration
) 

Parameters

_pdblDuration
duration
Example

Here is an example of how to get a duration of a file:

                
m_objMFReader = new MFReaderClass();
m_objMFReader.ReaderOpen(sourceFileName, "");
double dblDur;
m_objMFReader.ReaderDurationGet(out dblDur);
See Also

Reference

MFReaderClass Class
MFReaderClass Members