Rechercher une page de manuel
SetLocaleInfoA.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
SetLocaleInfoA (KERNEL32.@)SYNOPSIS
BOOL SetLocaleInfoA(
LCID lcid,
LCTYPE lctype,
LPCSTR data
)
DESCRIPTION
Set information about an aspect of a locale.
PARAMS
lcid [In] LCID of the locale.lctype [In] LCTYPE_ flags from "winnls.h".
data [In] Information to set.
RETURNS
Success: TRUE. The information given will be returned by GetLocaleInfoA(3w) whenever it is called without LOCALE_NOUSEROVERRIDE.
Failure: FALSE. Use GetLastError(3w) to determine the cause.
NOTES
- Values are only be set for the current user locale; the system locale settings cannot be changed.
- Any settings changed by this call are lost when the locale is changed by the control panel (in Wine, this happens every time you change LANG).
- The native implementation of this function does not check that lcid matches the current user locale, and simply sets the new values. Wine warns you in this case, but behaves the same.
IMPLEMENTATION
Defined in "winnls.h".
Implemented in "dlls/kernel32/locale.c".
Debug channel "nls".
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre