IMFMediaSourceExtension::GetDuration method (mfmediaengine.h)

Gets the duration of the media source in 100-nanosecond units.

Syntax

double GetDuration();

Return value

The duration of the media source in 100-nanosecond units.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header mfmediaengine.h

See also

IMFMediaSourceExtension