IMFMetadata::SetLanguage method (mfidl.h)
Sets the language for setting and retrieving metadata.
Syntax
HRESULT SetLanguage(
[in] LPCWSTR pwszRFC1766
);
Parameters
[in] pwszRFC1766
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfuuid.lib |