WMT_OFFSET_FORMAT enumeration

The WMT_OFFSET_FORMAT enumeration type defines the types of offsets used in this SDK.

Syntax


typedef enum tagWMT_OFFSET_FORMAT { 
  WMT_OFFSET_FORMAT_100NS              = 0,
  WMT_OFFSET_FORMAT_FRAME_NUMBERS      = 1,
  WMT_OFFSET_FORMAT_PLAYLIST_OFFSET    = 2,
  WMT_OFFSET_FORMAT_TIMECODE           = 3,
  WMT_OFFSET_FORMAT_100NS_APPROXIMATE  = 4
} WMT_OFFSET_FORMAT;

Constants

WMT_OFFSET_FORMAT_100NS

An offset into a file is specified by presentation time in 100-nanosecond units.

WMT_OFFSET_FORMAT_FRAME_NUMBERS

An offset into a file is specified by frame number.

WMT_OFFSET_FORMAT_PLAYLIST_OFFSET

An offset of playlist entries.

WMT_OFFSET_FORMAT_TIMECODE

An offset into a file is specified by presentation time as identified by SMTPE time codes.

WMT_OFFSET_FORMAT_100NS_APPROXIMATE

Used to specify approximate seeking. This type of offset seeks to the closest key frame prior to the time specified.

Remarks

WMT_OFFSET_FORMAT is used as an input parameter to IWMReaderAdvanced3::StartAtPosition. The value passed specifies whether the reader should begin playback at a specified presentation time, frame number, or offset into a playlist.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 9 Series SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

See also

Enumeration Types

 

 

Show: