共用方式為


IAMExtendedSeeking Interface

 
Microsoft DirectShow 9.0

IAMExtendedSeeking Interface

The IAMExtendedSeeking interface seeks to a marker in a Windows Media stream or changes the playback rate for a Windows Media file. This interface is implemented by the Windows Media Source filter and the WM ASF Reader filter.

In addition to the methods inherited from IDispatch, the IAMExtendedSeeking interface exposes the following methods.

Method Description
get_CurrentMarker Retrieves the current marker.
get_ExSeekCapabilities Retrieves the extended seeking capabilities of the filter.
get_MarkerCount Retrieves the number of markers in the current stream.
get_PlaybackSpeed Retrieves the current playback speed.
GetMarkerName Retrieves the name associated with the specified marker.
GetMarkerTime Retrieves the presentation time associated with the specified marker.
put_PlaybackSpeed Sets the playback speed.

Requirements

Header: Include Qnetwork.h.

Library: None.

To define the interface identifier, include the header file Initguid.h before Qnetwork.h, but after Dshow.h and other header files:

#include <dshow.h>
#include <initguid.h>
#include <qnetwork.h>
  • Note   Make sure that Initguid.h is included only once in your project. Otherwise, you will receive linker errors for duplicate GUID values.