.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SetLocaleInfoA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSetLocaleInfoA\fR (KERNEL32.@) .SH SYNOPSIS BOOL SetLocaleInfoA ( LCID \fIlcid\fR, LCTYPE \fIlctype\fR, LPCSTR \fIdata\fR ) .SH DESCRIPTION .PP Set information about an aspect of a locale. .SH PARAMS \fIlcid\fR \fB[In]\fR \fBLCID\fR of the locale. .PP \fIlctype\fR \fB[In]\fR \fBLCTYPE_\fR flags from \fB"winnls.h"\fR. .PP \fIdata\fR \fB[In]\fR Information to set. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR. The information given will be returned by \fBGetLocaleInfoA(3w)\fR whenever it is called without \fBLOCALE_NOUSEROVERRIDE\fR. .PP \fBFailure:\fR \fBFALSE\fR. Use \fBGetLastError(3w)\fR to determine the cause. .SH NOTES .PP \fB-\fR Values are only be set for the current user locale; the system locale settings cannot be changed. .PP \fB-\fR 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 \fBLANG\fR). .PP \fB-\fR The native implementation of this function does not check that \fIlcid\fR matches the current user locale, and simply sets the new values. Wine warns you in this case, but behaves the same. .SH IMPLEMENTATION .PP Declared in \fB"winnls.h"\fR. .PP Implemented in \fB"dlls/kernel32/locale.c"\fR. .PP Debug channel \fB"nls"\fR.