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,
  WMT_OFFSET_FORMAT_FRAME_NUMBERS,
  WMT_OFFSET_FORMAT_PLAYLIST_OFFSET,
  WMT_OFFSET_FORMAT_TIMECODE,
  WMT_OFFSET_FORMAT_100NS_APPROXIMATE
} 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],Windows Media Format 9 Series SDK, or later versions of the SDK
Minimum supported server Windows 2000 Server [desktop apps only]
Header wmsdkidl.h (include Wmsdk.h)

See Also

Enumeration Types