Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MFPKEY_MediaSource_DisableReadAhead property

Enables or disables read-ahead in a media source.

Data typePROPVARIANT type (vt)PROPVARIANT member


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.



Windows 7



See also

Media Foundation Properties



© 2018 Microsoft