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    = 1,
  WMT_IT_NEAREST_OBJECT       = 2,
  WMT_IT_NEAREST_CLEAN_POINT  = 3
} 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]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 7 SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

See also

Enumeration Types

 

 

Show: