.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH IsValidLocale 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBIsValidLocale\fR (KERNEL32.@) .SH SYNOPSIS BOOL IsValidLocale ( LCID \fIlcid\fR, DWORD \fIflags\fR ) .SH DESCRIPTION .PP Determine if a locale is valid. .SH PARAMS \fIlcid\fR \fB[In]\fR \fBLCID\fR of the locale to check. .PP \fIflags\fR \fB[In]\fR \fBLCID_SUPPORTED\fR = Valid, \fBLCID_INSTALLED\fR = Valid and installed on the system. .PP .SH RETURNS .PP \fBTRUE\fR, if \fIlcid\fR is valid, \fBFALSE\fR, otherwise. .SH NOTES .PP Wine does not currently make the distinction between supported and installed. All languages supported are installed by default. .SH IMPLEMENTATION .PP Declared in \fB"winnls.h"\fR. .PP Implemented in \fB"dlls/kernel32/locale.c"\fR. .PP Debug channel \fB"nls"\fR.