Changeset 10421 for trunk/include/win/winnls.h
- Timestamp:
- Jan 29, 2004, 3:12:09 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/include/win/winnls.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/winnls.h
r9973 r10421 172 172 #define WC_DEFAULTCHECK 0x00000100 173 173 174 #define MAKELCID(l, s) (MAKELONG(l, s))175 176 #define LANGIDFROMLCID(lcid) ((WORD)(lcid))177 #define SORTIDFROMLCID(lcid) ((WORD)((((DWORD)(lcid)) >> 16) & 0x0f))178 179 #define MAKELANGID(p, s) ((((WORD)(s))<<10) | (WORD)(p))180 #define PRIMARYLANGID(l) ((WORD)(l) & 0x3ff)181 #define SUBLANGID(l) ((WORD)(l) >> 10)182 183 #define LANG_SYSTEM_DEFAULT (MAKELANGID(LANG_NEUTRAL, SUBLANG_SYS_DEFAULT))184 #define LANG_USER_DEFAULT (MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT))185 #define LOCALE_SYSTEM_DEFAULT (MAKELCID(LANG_SYSTEM_DEFAULT, SORT_DEFAULT))186 #define LOCALE_USER_DEFAULT (MAKELCID(LANG_USER_DEFAULT, SORT_DEFAULT))187 #define LOCALE_NEUTRAL (MAKELCID(MAKELANGID(LANG_NEUTRAL,SUBLANG_NEUTRAL),SORT_DEFAULT))188 189 190 /* Language IDs (were in winnt.h, for some reason) */191 192 193 /* Language IDs */194 195 /* FIXME: are the symbolic names correct for LIDs: 0x17, 0x20, 0x28,196 * 0x2a, 0x2b, 0x2c, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35,197 * 0x37, 0x39, 0x3a, 0x3b, 0x3c, 0x3e, 0x3f, 0x41, 0x43, 0x44,198 * 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e,199 * 0x4f, 0x57200 */201 #define LANG_NEUTRAL 0x00202 #define LANG_AFRIKAANS 0x36203 #define LANG_ALBANIAN 0x1c204 #define LANG_ARABIC 0x01205 #define LANG_ARMENIAN 0x2b206 #define LANG_ASSAMESE 0x4d207 #define LANG_AZERI 0x2c208 #define LANG_BASQUE 0x2d209 #define LANG_BENGALI 0x45210 #define LANG_BULGARIAN 0x02211 #define LANG_BYELORUSSIAN 0x23212 #define LANG_CATALAN 0x03213 #define LANG_CHINESE 0x04214 #define LANG_SERBO_CROATIAN 0x1a215 #define LANG_CROATIAN LANG_SERBO_CROATIAN216 #define LANG_SERBIAN LANG_SERBO_CROATIAN217 #define LANG_CZECH 0x05218 #define LANG_DANISH 0x06219 #define LANG_DUTCH 0x13220 #define LANG_ENGLISH 0x09221 #define LANG_ESTONIAN 0x25222 #define LANG_FAEROESE 0x38223 #define LANG_FARSI 0x29224 #define LANG_FINNISH 0x0b225 #define LANG_FRENCH 0x0c226 #define LANG_GAELIC 0x3c227 #define LANG_GEORGIAN 0x37228 #define LANG_GERMAN 0x07229 #define LANG_GREEK 0x08230 #define LANG_GUJARATI 0x47231 #define LANG_HEBREW 0x0D232 #define LANG_HINDI 0x39233 #define LANG_HUNGARIAN 0x0e234 #define LANG_ICELANDIC 0x0f235 #define LANG_INDONESIAN 0x21236 #define LANG_ITALIAN 0x10237 #define LANG_JAPANESE 0x11238 #define LANG_KANNADA 0x4b239 #define LANG_KAZAKH 0x3f240 #define LANG_KONKANI 0x57241 #define LANG_KOREAN 0x12242 #define LANG_LATVIAN 0x26243 #define LANG_LITHUANIAN 0x27244 #define LANG_MACEDONIAN 0x2f245 #define LANG_MALAY 0x3e246 #define LANG_MALAYALAM 0x4c247 #define LANG_MALTESE 0x3a248 #define LANG_MAORI 0x28249 #define LANG_MARATHI 0x4e250 #define LANG_NORWEGIAN 0x14251 #define LANG_ORIYA 0x48252 #define LANG_POLISH 0x15253 #define LANG_PORTUGUESE 0x16254 #define LANG_PUNJABI 0x46255 #define LANG_RHAETO_ROMANCE 0x17256 #define LANG_ROMANIAN 0x18257 #define LANG_RUSSIAN 0x19258 #define LANG_SAAMI 0x3b259 #define LANG_SANSKRIT 0x4f260 #define LANG_SLOVAK 0x1b261 #define LANG_SLOVENIAN 0x24262 #define LANG_SORBIAN 0x2e263 #define LANG_SPANISH 0x0a264 #define LANG_SUTU 0x30265 #define LANG_SWAHILI 0x41266 #define LANG_SWEDISH 0x1d267 #define LANG_TAMIL 0x49268 #define LANG_TATAR 0x44269 #define LANG_TELUGU 0x4a270 #define LANG_THAI 0x1e271 #define LANG_TSONGA 0x31272 #define LANG_TSWANA 0x32273 #define LANG_TURKISH 0x1f274 #define LANG_UKRAINIAN 0x22275 #define LANG_URDU 0x20276 #define LANG_UZBEK 0x43277 #define LANG_VENDA 0x33278 #define LANG_VIETNAMESE 0x2a279 #define LANG_XHOSA 0x34280 #define LANG_ZULU 0x35281 /* non standard; keep the number high enough (but < 0xff) */282 #define LANG_ESPERANTO 0x8f283 #define LANG_WALON 0x90284 #define LANG_CORNISH 0x91285 #define LANG_WELSH 0x92286 #define LANG_BRETON 0x93287 288 /* Sublanguage definitions */289 #define SUBLANG_NEUTRAL 0x00 /* language neutral */290 #define SUBLANG_DEFAULT 0x01 /* user default */291 #define SUBLANG_SYS_DEFAULT 0x02 /* system default */292 293 #define SUBLANG_ARABIC 0x01294 #define SUBLANG_ARABIC_SAUDI_ARABIA 0x01295 #define SUBLANG_ARABIC_IRAQ 0x02296 #define SUBLANG_ARABIC_EGYPT 0x03297 #define SUBLANG_ARABIC_LIBYA 0x04298 #define SUBLANG_ARABIC_ALGERIA 0x05299 #define SUBLANG_ARABIC_MOROCCO 0x06300 #define SUBLANG_ARABIC_TUNISIA 0x07301 #define SUBLANG_ARABIC_OMAN 0x08302 #define SUBLANG_ARABIC_YEMEN 0x09303 #define SUBLANG_ARABIC_SYRIA 0x0a304 #define SUBLANG_ARABIC_JORDAN 0x0b305 #define SUBLANG_ARABIC_LEBANON 0x0c306 #define SUBLANG_ARABIC_KUWAIT 0x0d307 #define SUBLANG_ARABIC_UAE 0x0e308 #define SUBLANG_ARABIC_BAHRAIN 0x0f309 #define SUBLANG_ARABIC_QATAR 0x10310 #define SUBLANG_CHINESE_TRADITIONAL 0x01311 #define SUBLANG_CHINESE_SIMPLIFIED 0x02312 #define SUBLANG_CHINESE_HONGKONG 0x03313 #define SUBLANG_CHINESE_SINGAPORE 0x04314 #define SUBLANG_CHINESE_MACAU 0x05315 #define SUBLANG_DUTCH 0x01316 #define SUBLANG_DUTCH_BELGIAN 0x02317 #define SUBLANG_DUTCH_SURINAM 0x03318 #define SUBLANG_ENGLISH_US 0x01319 #define SUBLANG_ENGLISH_UK 0x02320 #define SUBLANG_ENGLISH_AUS 0x03321 #define SUBLANG_ENGLISH_CAN 0x04322 #define SUBLANG_ENGLISH_NZ 0x05323 #define SUBLANG_ENGLISH_EIRE 0x06324 #define SUBLANG_ENGLISH_SAFRICA 0x07325 #define SUBLANG_ENGLISH_JAMAICA 0x08326 #define SUBLANG_ENGLISH_CARRIBEAN 0x09327 #define SUBLANG_ENGLISH_BELIZE 0x0a328 #define SUBLANG_ENGLISH_TRINIDAD 0x0b329 #define SUBLANG_ENGLISH_ZIMBABWE 0x0c330 #define SUBLANG_ENGLISH_PHILIPPINES 0x0d331 #define SUBLANG_FRENCH 0x01332 #define SUBLANG_FRENCH_BELGIAN 0x02333 #define SUBLANG_FRENCH_CANADIAN 0x03334 #define SUBLANG_FRENCH_SWISS 0x04335 #define SUBLANG_FRENCH_LUXEMBOURG 0x05336 #define SUBLANG_FRENCH_MONACO 0x06337 #define SUBLANG_GERMAN 0x01338 #define SUBLANG_GERMAN_SWISS 0x02339 #define SUBLANG_GERMAN_AUSTRIAN 0x03340 #define SUBLANG_GERMAN_LUXEMBOURG 0x04341 #define SUBLANG_GERMAN_LIECHTENSTEIN 0x05342 #define SUBLANG_ITALIAN 0x01343 #define SUBLANG_ITALIAN_SWISS 0x02344 #define SUBLANG_KOREAN 0x01345 #define SUBLANG_KOREAN_JOHAB 0x02346 #define SUBLANG_NORWEGIAN_BOKMAL 0x01347 #define SUBLANG_NORWEGIAN_NYNORSK 0x02348 #define SUBLANG_PORTUGUESE 0x02349 #define SUBLANG_PORTUGUESE_BRAZILIAN 0x01350 #define SUBLANG_SPANISH 0x01351 #define SUBLANG_SPANISH_MEXICAN 0x02352 #define SUBLANG_SPANISH_MODERN 0x03353 #define SUBLANG_SPANISH_GUATEMALA 0x04354 #define SUBLANG_SPANISH_COSTARICA 0x05355 #define SUBLANG_SPANISH_PANAMA 0x06356 #define SUBLANG_SPANISH_DOMINICAN 0x07357 #define SUBLANG_SPANISH_VENEZUELA 0x08358 #define SUBLANG_SPANISH_COLOMBIA 0x09359 #define SUBLANG_SPANISH_PERU 0x0a360 #define SUBLANG_SPANISH_ARGENTINA 0x0b361 #define SUBLANG_SPANISH_ECUADOR 0x0c362 #define SUBLANG_SPANISH_CHILE 0x0d363 #define SUBLANG_SPANISH_URUGUAY 0x0e364 #define SUBLANG_SPANISH_PARAGUAY 0x0f365 #define SUBLANG_SPANISH_BOLIVIA 0x10366 #define SUBLANG_SPANISH_EL_SALVADOR 0x11367 #define SUBLANG_SPANISH_HONDURAS 0x12368 #define SUBLANG_SPANISH_NICARAGUA 0x13369 #define SUBLANG_SPANISH_PUERTO_RICO 0x14370 /* FIXME: I don't know the symbolic names for those */371 #define SUBLANG_ROMANIAN 0x01372 #define SUBLANG_ROMANIAN_MOLDAVIA 0x02373 #define SUBLANG_RUSSIAN 0x01374 #define SUBLANG_RUSSIAN_MOLDAVIA 0x02375 #define SUBLANG_CROATIAN 0x01376 #define SUBLANG_SERBIAN 0x02377 #define SUBLANG_SERBIAN_LATIN 0x03378 #define SUBLANG_SWEDISH 0x01379 #define SUBLANG_SWEDISH_FINLAND 0x02380 #define SUBLANG_LITHUANIAN 0x01381 #define SUBLANG_LITHUANIAN_CLASSIC 0x02382 #define SUBLANG_AZERI 0x01383 #define SUBLANG_AZERI_CYRILLIC 0x02384 #define SUBLANG_GAELIC 0x01385 #define SUBLANG_GAELIC_SCOTTISH 0x02386 #define SUBLANG_GAELIC_MANX 0x03387 #define SUBLANG_MALAY 0x01388 #define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02389 #define SUBLANG_UZBEK 0x01390 #define SUBLANG_UZBEK_CYRILLIC 0x02391 #define SUBLANG_URDU_PAKISTAN 0x01392 393 /* Sort definitions */394 #define SORT_DEFAULT 0x0395 #define SORT_JAPANESE_XJIS 0x0396 #define SORT_JAPANESE_UNICODE 0x1397 #define SORT_CHINESE_BIG5 0x0398 #define SORT_CHINESE_UNICODE 0x1399 #define SORT_KOREAN_KSC 0x0400 #define SORT_KOREAN_UNICODE 0x1401 402 403 174 /* Locale Dependent Mapping Flags */ 404 175 #define LCMAP_LOWERCASE 0x00000100 /* lower case letters */
Note:
See TracChangeset
for help on using the changeset viewer.
