IMFMetadata::SetLanguage method

Sets the language for setting and retrieving metadata.

Syntax


HRESULT SetLanguage(
  [in] LPCWSTR pwszRFC1766
);

Parameters

pwszRFC1766 [in]

Pointer to a null-terminated string containing an RFC 1766-compliant language tag.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For more information about language tags, see RFC 1766, "Tags for the Identification of Languages".

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mfuuid.lib

See also

Media Metadata
IMFMetadata

 

 

Show: