Windows apps
Collapse the table of content
Expand the table of content
Information
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.

MF_PD_PREFERRED_LANGUAGE attribute

Contains the preferred RFC 1766 language of the media source.

Data type

WCHAR

Get/set

To get this attribute, call IMFAttributes::GetString.

To set this attribute, call IMFAttributes::Settring.

Applies to

IMFPresentationDescriptor

Remarks

The MF_PD_PREFERRED_LANGUAGE attribute is optional. An application can set this attribute on a media source (such as a network source) to specify its preferred language.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Minimum supported client

Windows 7 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | UWP apps]

Header

Mfidl.h

See also

Alphabetical List of Media Foundation Attributes
Presentation Descriptor Attributes

 

 

Show:
© 2017 Microsoft