IDsDisplaySpecifier::SetLanguageID method (dsclient.h)
The IDsDisplaySpecifier::SetLanguageID method changes the locale used by the IDsDisplaySpecifier object to a specified language.
Syntax
HRESULT SetLanguageID(
[in] LANGID langid
);
Parameters
[in] langid
Contains the language identifier used by the IDsDisplaySpecifier object. If this parameter is zero, this method calls the GetUserDefaultUILanguage function to retrieve the current user language identifier and uses that locale.
Return value
This method always returns S_OK.
Remarks
During object creation, the IDsDisplaySpecifier object obtains the locale by calling GetUserDefaultUILanguage. This method enables the object user to change the locale used with the display specifiers.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | dsclient.h |
DLL | Dsadmin.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for