Expand Minimize

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Mfidl.h

See also

Presentation Descriptor Attributes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft