IWMReaderTimecode interface (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMReaderTimecode interface provides access to information about SMPTE (Society of Motion Picture and Television Engineers) time code ranges. A range of SMPTE time code is a series of samples with time codes that are contiguous and in increasing order. An individual video stream can contain more than one range.

An IWMReaderTimecode interface exists for every reader object. You can obtain a pointer to an instance of this interface by calling the QueryInterface method of any other interface of the reader object.


The IWMReaderTimecode interface inherits from the IUnknown interface. IWMReaderTimecode also has these types of members:


The IWMReaderTimecode interface has these methods.


The GetTimecodeRangeBounds method retrieves the starting and ending time codes for a specified SMPTE time code range.

The GetTimecodeRangeCount method retrieves the total number of SMTPE time code ranges in a specified stream.


Target Platform Windows
Header wmsdkidl.h

See also


Reader Object