WMT_INDEX_TYPE Enumeration

The WMT_INDEX_TYPE enumeration type defines the type of object that will be associated with an index. Because the time specified by an index will not usually correspond exactly with an object in the file, the indexer must associate the index with an object in the bit stream close to the specified time.

Syntax

typedef enum tagWMT_INDEX_TYPE {
  WMT_IT_NEAREST_DATA_UNIT,
  WMT_IT_NEAREST_OBJECT,
  WMT_IT_NEAREST_CLEAN_POINT
} WMT_INDEX_TYPE;

Constants

WMT_IT_NEAREST_DATA_UNIT The index will associate indexes with the nearest data unit, or packet, in the Windows Media file.
WMT_IT_NEAREST_OBJECT The index will associate indexes with the nearest data object, or compressed sample, in the Windows Media file.
WMT_IT_NEAREST_CLEAN_POINT The index will associate indexes with the nearest cleanpoint, or video key frame, in the Windows Media file. This is the default index type.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only],Windows Media Format 7 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