Bagikan melalui


IWMReaderStreamClock 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 IWMReaderStreamClock interface provides access to the clock used by the reader.

This 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.

Inheritance

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

Methods

The IWMReaderStreamClock interface has these methods.

 
IWMReaderStreamClock::GetTime

The GetTime method retrieves the current value of the stream clock.
IWMReaderStreamClock::KillTimer

The KillTimer method cancels a timer that has been set on the clock.
IWMReaderStreamClock::SetTimer

The SetTimer method sets a timer on the clock.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

Interfaces

Reader Object