MFPKEY_MediaSource_DisableReadAhead property

Enables or disables read-ahead in a media source.

Data type PROPVARIANT type (vt) PROPVARIANT member
VARIANT_BOOL VT_BOOL boolVal

Syntax

DECLSPEC_SELECTANY PROPERTYKEY MFPKEY_MediaSource_DisableReadAhead = { {0x26366c14,0xc5bf,0x4c76,0x88,0x7b,0x9f,0x17,0x54,0xdb,0x5f,0x9}, 0x01 }  

Remarks

Applications can use this property to configure some media sources. To set the property, pass an IPropertyStore pointer to the source resolver. For more information, see Configuring a Media Source.

If the value is VARIANT_TRUE, the media source will not read ahead in the byte stream. This setting can optimize performance if you plan to read a limited amount of data from the media source—for example, to get a thumbnail image from a video file.

For typical audio/video playback, this property should be set to VARIANT_FALSE. The default value is VARIANT_FALSE.

Not every media source supports this property.

Requirements

Header: Declared in mfidl.h.