Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

250 lines
12 KiB

  1. /*++ BUILD Version: 0001 Increment this if a change has global effects
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. winnt.rh
  5. Abstract:
  6. This module defines the 32-Bit Windows resource codes from winnt.h
  7. Revision History:
  8. --*/
  9. #ifdef UNICODE
  10. #define __TEXT(quote) L##quote
  11. #else /* UNICODE */
  12. #define __TEXT(quote) quote
  13. #endif /* UNICODE */
  14. #define TEXT(quote) __TEXT(quote)
  15. //
  16. // Language IDs.
  17. //
  18. // The following two combinations of primary language ID and
  19. // sublanguage ID have special semantics:
  20. //
  21. // Primary Language ID Sublanguage ID Result
  22. // ------------------- --------------- ------------------------
  23. // LANG_NEUTRAL SUBLANG_NEUTRAL Language neutral
  24. // LANG_NEUTRAL SUBLANG_DEFAULT User default language
  25. // LANG_NEUTRAL SUBLANG_SYS_DEFAULT System default language
  26. // LANG_INVARIANT SUBLANG_NEUTRAL Invariant locale
  27. //
  28. //
  29. // Primary language IDs.
  30. //
  31. #define LANG_NEUTRAL 0x00
  32. #define LANG_INVARIANT 0x7f
  33. #define LANG_AFRIKAANS 0x36
  34. #define LANG_ALBANIAN 0x1c
  35. #define LANG_ARABIC 0x01
  36. #define LANG_ARMENIAN 0x2b
  37. #define LANG_ASSAMESE 0x4d
  38. #define LANG_AZERI 0x2c
  39. #define LANG_BASQUE 0x2d
  40. #define LANG_BELARUSIAN 0x23
  41. #define LANG_BENGALI 0x45
  42. #define LANG_BULGARIAN 0x02
  43. #define LANG_CATALAN 0x03
  44. #define LANG_CHINESE 0x04
  45. #define LANG_CROATIAN 0x1a
  46. #define LANG_CZECH 0x05
  47. #define LANG_DANISH 0x06
  48. #define LANG_DIVEHI 0x65
  49. #define LANG_DUTCH 0x13
  50. #define LANG_ENGLISH 0x09
  51. #define LANG_ESTONIAN 0x25
  52. #define LANG_FAEROESE 0x38
  53. #define LANG_FARSI 0x29
  54. #define LANG_FINNISH 0x0b
  55. #define LANG_FRENCH 0x0c
  56. #define LANG_GALICIAN 0x56
  57. #define LANG_GEORGIAN 0x37
  58. #define LANG_GERMAN 0x07
  59. #define LANG_GREEK 0x08
  60. #define LANG_GUJARATI 0x47
  61. #define LANG_HEBREW 0x0d
  62. #define LANG_HINDI 0x39
  63. #define LANG_HUNGARIAN 0x0e
  64. #define LANG_ICELANDIC 0x0f
  65. #define LANG_INDONESIAN 0x21
  66. #define LANG_ITALIAN 0x10
  67. #define LANG_JAPANESE 0x11
  68. #define LANG_KANNADA 0x4b
  69. #define LANG_KASHMIRI 0x60
  70. #define LANG_KAZAK 0x3f
  71. #define LANG_KONKANI 0x57
  72. #define LANG_KOREAN 0x12
  73. #define LANG_KYRGYZ 0x40
  74. #define LANG_LATVIAN 0x26
  75. #define LANG_LITHUANIAN 0x27
  76. #define LANG_MACEDONIAN 0x2f // the Former Yugoslav Republic of Macedonia
  77. #define LANG_MALAY 0x3e
  78. #define LANG_MALAYALAM 0x4c
  79. #define LANG_MANIPURI 0x58
  80. #define LANG_MARATHI 0x4e
  81. #define LANG_MONGOLIAN 0x50
  82. #define LANG_NEPALI 0x61
  83. #define LANG_NORWEGIAN 0x14
  84. #define LANG_ORIYA 0x48
  85. #define LANG_POLISH 0x15
  86. #define LANG_PORTUGUESE 0x16
  87. #define LANG_PUNJABI 0x46
  88. #define LANG_ROMANIAN 0x18
  89. #define LANG_RUSSIAN 0x19
  90. #define LANG_SANSKRIT 0x4f
  91. #define LANG_SERBIAN 0x1a
  92. #define LANG_SINDHI 0x59
  93. #define LANG_SLOVAK 0x1b
  94. #define LANG_SLOVENIAN 0x24
  95. #define LANG_SPANISH 0x0a
  96. #define LANG_SWAHILI 0x41
  97. #define LANG_SWEDISH 0x1d
  98. #define LANG_SYRIAC 0x5a
  99. #define LANG_TAMIL 0x49
  100. #define LANG_TATAR 0x44
  101. #define LANG_TELUGU 0x4a
  102. #define LANG_THAI 0x1e
  103. #define LANG_TURKISH 0x1f
  104. #define LANG_UKRAINIAN 0x22
  105. #define LANG_URDU 0x20
  106. #define LANG_UZBEK 0x43
  107. #define LANG_VIETNAMESE 0x2a
  108. //
  109. // Sublanguage IDs.
  110. //
  111. // The name immediately following SUBLANG_ dictates which primary
  112. // language ID that sublanguage ID can be combined with to form a
  113. // valid language ID.
  114. //
  115. #define SUBLANG_NEUTRAL 0x00 // language neutral
  116. #define SUBLANG_DEFAULT 0x01 // user default
  117. #define SUBLANG_SYS_DEFAULT 0x02 // system default
  118. #define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 // Arabic (Saudi Arabia)
  119. #define SUBLANG_ARABIC_IRAQ 0x02 // Arabic (Iraq)
  120. #define SUBLANG_ARABIC_EGYPT 0x03 // Arabic (Egypt)
  121. #define SUBLANG_ARABIC_LIBYA 0x04 // Arabic (Libya)
  122. #define SUBLANG_ARABIC_ALGERIA 0x05 // Arabic (Algeria)
  123. #define SUBLANG_ARABIC_MOROCCO 0x06 // Arabic (Morocco)
  124. #define SUBLANG_ARABIC_TUNISIA 0x07 // Arabic (Tunisia)
  125. #define SUBLANG_ARABIC_OMAN 0x08 // Arabic (Oman)
  126. #define SUBLANG_ARABIC_YEMEN 0x09 // Arabic (Yemen)
  127. #define SUBLANG_ARABIC_SYRIA 0x0a // Arabic (Syria)
  128. #define SUBLANG_ARABIC_JORDAN 0x0b // Arabic (Jordan)
  129. #define SUBLANG_ARABIC_LEBANON 0x0c // Arabic (Lebanon)
  130. #define SUBLANG_ARABIC_KUWAIT 0x0d // Arabic (Kuwait)
  131. #define SUBLANG_ARABIC_UAE 0x0e // Arabic (U.A.E)
  132. #define SUBLANG_ARABIC_BAHRAIN 0x0f // Arabic (Bahrain)
  133. #define SUBLANG_ARABIC_QATAR 0x10 // Arabic (Qatar)
  134. #define SUBLANG_AZERI_LATIN 0x01 // Azeri (Latin)
  135. #define SUBLANG_AZERI_CYRILLIC 0x02 // Azeri (Cyrillic)
  136. #define SUBLANG_CHINESE_TRADITIONAL 0x01 // Chinese (Taiwan)
  137. #define SUBLANG_CHINESE_SIMPLIFIED 0x02 // Chinese (PR China)
  138. #define SUBLANG_CHINESE_HONGKONG 0x03 // Chinese (Hong Kong S.A.R., P.R.C.)
  139. #define SUBLANG_CHINESE_SINGAPORE 0x04 // Chinese (Singapore)
  140. #define SUBLANG_CHINESE_MACAU 0x05 // Chinese (Macau S.A.R.)
  141. #define SUBLANG_DUTCH 0x01 // Dutch
  142. #define SUBLANG_DUTCH_BELGIAN 0x02 // Dutch (Belgian)
  143. #define SUBLANG_ENGLISH_US 0x01 // English (USA)
  144. #define SUBLANG_ENGLISH_UK 0x02 // English (UK)
  145. #define SUBLANG_ENGLISH_AUS 0x03 // English (Australian)
  146. #define SUBLANG_ENGLISH_CAN 0x04 // English (Canadian)
  147. #define SUBLANG_ENGLISH_NZ 0x05 // English (New Zealand)
  148. #define SUBLANG_ENGLISH_EIRE 0x06 // English (Irish)
  149. #define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 // English (South Africa)
  150. #define SUBLANG_ENGLISH_JAMAICA 0x08 // English (Jamaica)
  151. #define SUBLANG_ENGLISH_CARIBBEAN 0x09 // English (Caribbean)
  152. #define SUBLANG_ENGLISH_BELIZE 0x0a // English (Belize)
  153. #define SUBLANG_ENGLISH_TRINIDAD 0x0b // English (Trinidad)
  154. #define SUBLANG_ENGLISH_ZIMBABWE 0x0c // English (Zimbabwe)
  155. #define SUBLANG_ENGLISH_PHILIPPINES 0x0d // English (Philippines)
  156. #define SUBLANG_FRENCH 0x01 // French
  157. #define SUBLANG_FRENCH_BELGIAN 0x02 // French (Belgian)
  158. #define SUBLANG_FRENCH_CANADIAN 0x03 // French (Canadian)
  159. #define SUBLANG_FRENCH_SWISS 0x04 // French (Swiss)
  160. #define SUBLANG_FRENCH_LUXEMBOURG 0x05 // French (Luxembourg)
  161. #define SUBLANG_FRENCH_MONACO 0x06 // French (Monaco)
  162. #define SUBLANG_GERMAN 0x01 // German
  163. #define SUBLANG_GERMAN_SWISS 0x02 // German (Swiss)
  164. #define SUBLANG_GERMAN_AUSTRIAN 0x03 // German (Austrian)
  165. #define SUBLANG_GERMAN_LUXEMBOURG 0x04 // German (Luxembourg)
  166. #define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 // German (Liechtenstein)
  167. #define SUBLANG_ITALIAN 0x01 // Italian
  168. #define SUBLANG_ITALIAN_SWISS 0x02 // Italian (Swiss)
  169. #if _WIN32_WINNT >= 0x0501
  170. #define SUBLANG_KASHMIRI_SASIA 0x02 // Kashmiri (South Asia)
  171. #endif
  172. #define SUBLANG_KASHMIRI_INDIA 0x02 // For app compatibility only
  173. #define SUBLANG_KOREAN 0x01 // Korean (Extended Wansung)
  174. #define SUBLANG_LITHUANIAN 0x01 // Lithuanian
  175. #define SUBLANG_MALAY_MALAYSIA 0x01 // Malay (Malaysia)
  176. #define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 // Malay (Brunei Darussalam)
  177. #define SUBLANG_NEPALI_INDIA 0x02 // Nepali (India)
  178. #define SUBLANG_NORWEGIAN_BOKMAL 0x01 // Norwegian (Bokmal)
  179. #define SUBLANG_NORWEGIAN_NYNORSK 0x02 // Norwegian (Nynorsk)
  180. #define SUBLANG_PORTUGUESE 0x02 // Portuguese
  181. #define SUBLANG_PORTUGUESE_BRAZILIAN 0x01 // Portuguese (Brazilian)
  182. #define SUBLANG_SERBIAN_LATIN 0x02 // Serbian (Latin)
  183. #define SUBLANG_SERBIAN_CYRILLIC 0x03 // Serbian (Cyrillic)
  184. #define SUBLANG_SPANISH 0x01 // Spanish (Castilian)
  185. #define SUBLANG_SPANISH_MEXICAN 0x02 // Spanish (Mexican)
  186. #define SUBLANG_SPANISH_MODERN 0x03 // Spanish (Spain)
  187. #define SUBLANG_SPANISH_GUATEMALA 0x04 // Spanish (Guatemala)
  188. #define SUBLANG_SPANISH_COSTA_RICA 0x05 // Spanish (Costa Rica)
  189. #define SUBLANG_SPANISH_PANAMA 0x06 // Spanish (Panama)
  190. #define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 // Spanish (Dominican Republic)
  191. #define SUBLANG_SPANISH_VENEZUELA 0x08 // Spanish (Venezuela)
  192. #define SUBLANG_SPANISH_COLOMBIA 0x09 // Spanish (Colombia)
  193. #define SUBLANG_SPANISH_PERU 0x0a // Spanish (Peru)
  194. #define SUBLANG_SPANISH_ARGENTINA 0x0b // Spanish (Argentina)
  195. #define SUBLANG_SPANISH_ECUADOR 0x0c // Spanish (Ecuador)
  196. #define SUBLANG_SPANISH_CHILE 0x0d // Spanish (Chile)
  197. #define SUBLANG_SPANISH_URUGUAY 0x0e // Spanish (Uruguay)
  198. #define SUBLANG_SPANISH_PARAGUAY 0x0f // Spanish (Paraguay)
  199. #define SUBLANG_SPANISH_BOLIVIA 0x10 // Spanish (Bolivia)
  200. #define SUBLANG_SPANISH_EL_SALVADOR 0x11 // Spanish (El Salvador)
  201. #define SUBLANG_SPANISH_HONDURAS 0x12 // Spanish (Honduras)
  202. #define SUBLANG_SPANISH_NICARAGUA 0x13 // Spanish (Nicaragua)
  203. #define SUBLANG_SPANISH_PUERTO_RICO 0x14 // Spanish (Puerto Rico)
  204. #define SUBLANG_SWEDISH 0x01 // Swedish
  205. #define SUBLANG_SWEDISH_FINLAND 0x02 // Swedish (Finland)
  206. #define SUBLANG_URDU_PAKISTAN 0x01 // Urdu (Pakistan)
  207. #define SUBLANG_URDU_INDIA 0x02 // Urdu (India)
  208. #define SUBLANG_UZBEK_LATIN 0x01 // Uzbek (Latin)
  209. #define SUBLANG_UZBEK_CYRILLIC 0x02 // Uzbek (Cyrillic)
  210. //
  211. // Sorting IDs.
  212. //
  213. #define SORT_DEFAULT 0x0 // sorting default
  214. #define SORT_JAPANESE_XJIS 0x0 // Japanese XJIS order
  215. #define SORT_JAPANESE_UNICODE 0x1 // Japanese Unicode order
  216. #define SORT_CHINESE_BIG5 0x0 // Chinese BIG5 order
  217. #define SORT_CHINESE_PRCP 0x0 // PRC Chinese Phonetic order
  218. #define SORT_CHINESE_UNICODE 0x1 // Chinese Unicode order
  219. #define SORT_CHINESE_PRC 0x2 // PRC Chinese Stroke Count order
  220. #define SORT_CHINESE_BOPOMOFO 0x3 // Traditional Chinese Bopomofo order
  221. #define SORT_KOREAN_KSC 0x0 // Korean KSC order
  222. #define SORT_KOREAN_UNICODE 0x1 // Korean Unicode order
  223. #define SORT_GERMAN_PHONE_BOOK 0x1 // German Phone Book order
  224. #define SORT_HUNGARIAN_DEFAULT 0x0 // Hungarian Default order
  225. #define SORT_HUNGARIAN_TECHNICAL 0x1 // Hungarian Technical order
  226. #define SORT_GEORGIAN_TRADITIONAL 0x0 // Georgian Traditional order
  227. #define SORT_GEORGIAN_MODERN 0x1 // Georgian Modern order