SetUserDefaultLCID

SetUserDefaultLCID (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function sets the locale identifier (LCID) for the current user's locale selection.

BOOL SetUserDefaultLCID(
  LCID Locale
);

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2016 Microsoft