Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMFClockStateSink::OnClockPause method

Called when the presentation clock pauses.

Syntax


HRESULT OnClockPause(
  [in]  MFTIME hnsSystemTime
);

Parameters

hnsSystemTime [in]

The system time when the clock was paused, in 100-nanosecond units.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

When the presentation clock's IMFPresentationClock::Pause method is called, the clock notifies the presentation time source by calling the time source's OnClockPause method. This call occurs synchronously within the Pause method. If the time source returns an error from OnClockPause, the presentation clock's Pause method returns an error and the state change does not take place.

For any object that is not the presentation time source, the OnClockPause method is called asynchronously, after the state change is completed. In that case, the return value from this method is ignored.

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

Presentation Clock
IMFClockStateSink
MFTIME

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.