Partager via


SetUserDefaultUILanguage

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function sets the LANGID for the current user's UI language selection.

Syntax

BOOL SetUserDefaultUILanguage(
  LANGID langid
);

Parameters

  • langid
    Language identifier (LANGID) to set for the user's default UI language.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

The new LANGID will not take effect until the device is reset.

For more information about language identifiers, see Language Identifiers and Locales.

Requirements

Header windows.h
Library Coreloc.lib
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Concepts

Language Identifiers and Locales