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);
Parameters
- Locale
Locale identifier (LCID) to set for the user's default locale.
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
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);
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Windows.h.
Link Library: Coreloc.lib.
See Also
PostMessage | Language Identifiers and Locales
Send Feedback on this topic to the authors