Skip to content

Latest commit

 

History

History
62 lines (35 loc) · 1.72 KB

mf-sd-language-attribute.md

File metadata and controls

62 lines (35 loc) · 1.72 KB
description ms.assetid title ms.topic ms.date
Specifies the language for a stream.
b64a9554-a560-4212-8964-b68ebbadc046
MF_SD_LANGUAGE attribute (Mfidl.h)
reference
05/31/2018

MF_SD_LANGUAGE attribute

Specifies the language for a stream.

Data type

Wide-character string

Remarks

The value of this attribute is an RFC 1766-compliant language tag. This attribute applies to stream descriptors.

A media source (or any object that creates a stream descriptor) can set this attribute if the stream has a specified language. Applications can query this attribute to get the language. If the attribute is not set, the stream does not have a specified language.

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

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetString

IMFAttributes::SetString

IMFStreamDescriptor

Stream Descriptor Attributes