MFORMATSLib Namespace > IMFReader Interface : ReaderDurationGet Method |
Sub ReaderDurationGet( _ ByRef _pdblDuration As Double _ )
void ReaderDurationGet( out double _pdblDuration )
procedure ReaderDurationGet( Out _pdblDuration: Double );
void ReaderDurationGet( [PARAMFLAG::Out] double _pdblDuration )
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);