Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMFClockStateSink interface

Receives state-change notifications from the presentation clock.

Members

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

Methods

The IMFClockStateSink interface has these methods.

MethodDescription
OnClockPause

Called when the presentation clock pauses.

OnClockRestart

Called when the presentation clock restarts from the same position while paused.

OnClockSetRate

Called when the rate changes on the presentation clock.

OnClockStart

Called when the presentation clock starts.

OnClockStop

Called when the presentation clock stops.

 

Remarks

To receive state-change notifications from the presentation clock, implement this interface and call IMFPresentationClock::AddClockStateSink on the presentation clock.

This interface must be implemented by:

  • Presentation time sources. The presentation clock uses this interface to request change states from the time source.

  • Media sinks. Media sinks use this interface to get notifications when the presentation clock changes.

Other objects that need to be notified can implement this interface.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFPresentationTimeSource
Media Foundation Interfaces
Presentation Clock

 

 

Show:
© 2017 Microsoft