Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function sets the locale identifier (LCID) for the current user's locale selection.
BOOL SetUserDefaultLCID(LCIDLocale);
- Locale
Locale identifier (LCID) to set for the user's default locale.
TRUE indicates success. FALSE indicates failure.
An application that calls SetUserDefaultLCID must send out a system-wide notification by calling the PostMessage function and passing the following parameters:
PostMessage(HWND_BROADCAST, WM_WININICHANGE, 0, INI_INTL);
OS Versions: Windows CE .NET 4.0 and later.
Header: Windows.h.
Link Library: Coreloc.lib.
PostMessage | Language Identifiers and Locales
Send Feedback on this topic to the authors