Partager via


AM_SEEKING_SEEKING_CAPABILITIES (Windows Embedded Compact) (Compact 7)

3/12/2014

This enumeration specifies the seeking capabilities of a media stream.

Syntax

typedef enum AM_SEEKING_SeekingCapabilities {
    AM_SEEKING_CanSeekAbsolute   = 0x001,
    AM_SEEKING_CanSeekForwards   = 0x002,
    AM_SEEKING_CanSeekBackwards  = 0x004,
    AM_SEEKING_CanGetCurrentPos  = 0x008,
    AM_SEEKING_CanGetStopPos     = 0x010,
    AM_SEEKING_CanGetDuration    = 0x020,
    AM_SEEKING_CanPlayBackwards  = 0x040,
    AM_SEEKING_CanDoSegments     = 0x080,
    AM_SEEKING_Source            = 0x100,
    AM_SEEKING_CanSkipForwards   = 0x200,
    AM_SEEKING_CanSkipBackwards  = 0x400,
    AM_SEEKING_CanSkipValid      = 0x800,
    AM_SEEKING_CanResetPlaylist  = 0x1000
} AM_SEEKING_SEEKING_CAPABILITIES;

Members

  • AM_SEEKING_CanSeekAbsolute
    Stream can seek to an absolute position.
  • AM_SEEKING_CanSeekForwards
    Stream can seek forward.
  • AM_SEEKING_CanSeekBackwards
    Stream can seek backward.
  • AM_SEEKING_CanGetCurrentPos
    Stream can report its current position.
  • AM_SEEKING_CanGetStopPos
    Sstream can report its stop position.
  • AM_SEEKING_CanGetDuration
    Stream can report its duration.
  • AM_SEEKING_CanPlayBackwards
    Stream can play backward.
  • AM_SEEKING_Source
    Reserved.
  • AM_SEEKING_CanSkipForwards
    Stream can skip to the next item in a server-side playlist. Used with the IMediaSeeking2 Interface.
  • AM_SEEKING_CanSkipBackwards
    Stream can skip to the previous item in a server-side playlist. Used with the IMediaSeeking2 Interface.
  • AM_SEEKING_CanSkipValid
    Stream can skip an item in a server-side playlist. Used with the IMediaSeeking2 Interface.
  • AM_SEEKING_CanResetPlaylist
    Server-side playlist can be reset to start of the playlist.

Remarks

In certain server-side playlist (SSPL) scenarios, the application needs to know whether skipping is valid; for example, when skipping is not supported by the server, or if the SSPL is embedded in a client-side playlist that does not support skipping. In this case, the application can check the AM_SEEKING_CanSkipValid flag to determine if skipping is valid.

This enumeration is used by the IMediaSeeking::GetCapabilities method.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

DirectShow Enumerations
IMediaSeeking
IMediaSeeking2
IMediaSeeking::GetCapabilities
IMediaSeeking::CheckCapabilities