IsValidLocale
Functional Difference from WIN95
N/A
Functional Difference from SBCS Open32
New
Implementation
This API determines whether a specified locale is valid or not. Actually, Open32 determines whether language ID token from the specified locale is available or not. In Open32, the supported locales are always installed. LCID_INSTALLED and LCID_SUPPORTED will get the same result. The list of all available languages are initialized by Open32 constructor useNLS when the process begins. Open32 has the hard-coded locale tables. The ULS locale name in that table is the filename of ULS locale file. If Open32 searches the ULS locale file specified in all Open32 locale tables in "ULSPATH"/LOCALE. "ULSPATH" is the environment variable. If it is found, that table's Language ID is listed as available.