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.

197 lines
7.3 KiB

  1. /*----------------------------------------------------------------------------
  2. %%File: OUTPOS.H
  3. %%Unit: OUTPOS
  4. %%Contact: seijia
  5. mapping from public and private pos
  6. ----------------------------------------------------------------------------*/
  7. #ifndef __OUTPOS_H__
  8. #define __OUTPOS_H__
  9. #define POS_UNDEFINED 0
  10. #define JPOS_UNDEFINED POS_UNDEFINED
  11. #define JPOS_MEISHI_FUTSU 100 //����
  12. #define JPOS_MEISHI_SAHEN 101 //���ϖ���
  13. #define JPOS_MEISHI_ZAHEN 102 //���ϖ���
  14. #define JPOS_MEISHI_KEIYOUDOUSHI 103 //�`������
  15. #define JPOS_HUKUSIMEISHI 104 //�����I����
  16. #define JPOS_MEISA_KEIDOU 105 //���ό`��
  17. #define JPOS_JINMEI 106 //�l��
  18. #define JPOS_JINMEI_SEI 107 //��
  19. #define JPOS_JINMEI_MEI 108 //��
  20. #define JPOS_CHIMEI 109 //�n��
  21. #define JPOS_CHIMEI_KUNI 110 //��
  22. #define JPOS_CHIMEI_KEN 111 //��
  23. #define JPOS_CHIMEI_GUN 112 //�S
  24. #define JPOS_CHIMEI_KU 113 //��
  25. #define JPOS_CHIMEI_SHI 114 //�s
  26. #define JPOS_CHIMEI_MACHI 115 //��
  27. #define JPOS_CHIMEI_MURA 116 //��
  28. #define JPOS_CHIMEI_EKI 117 //�w
  29. #define JPOS_SONOTA 118 //�ŗL����
  30. #define JPOS_SHAMEI 119 //�Ж�
  31. #define JPOS_SOSHIKI 120 //�g�D
  32. #define JPOS_KENCHIKU 121 //���z��
  33. #define JPOS_BUPPIN 122 //���i
  34. #define JPOS_DAIMEISHI 123 //�㖼��
  35. #define JPOS_DAIMEISHI_NINSHOU 124 //�l�̑㖼��
  36. #define JPOS_DAIMEISHI_SHIJI 125 //�w���㖼��
  37. #define JPOS_KAZU 126 //��
  38. #define JPOS_KAZU_SURYOU 127 //����
  39. #define JPOS_KAZU_SUSHI 128 //����
  40. #define JPOS_5DAN_AWA 200 //�����s
  41. #define JPOS_5DAN_KA 201 //���s
  42. #define JPOS_5DAN_GA 202 //���s
  43. #define JPOS_5DAN_SA 203 //���s
  44. #define JPOS_5DAN_TA 204 //���s
  45. #define JPOS_5DAN_NA 205 //�ȍs
  46. #define JPOS_5DAN_BA 206 //�΍s
  47. #define JPOS_5DAN_MA 207 //�܍s
  48. #define JPOS_5DAN_RA 208 //���s
  49. #define JPOS_5DAN_AWAUON 209 //�����s������
  50. #define JPOS_5DAN_KASOKUON 210 //���s������
  51. #define JPOS_5DAN_RAHEN 211 //���s�ϊi
  52. #define JPOS_4DAN_HA 212 //�͍s�l�i
  53. #define JPOS_1DAN 213 //���i����
  54. #define JPOS_TOKUSHU_KAHEN 214 //���ϓ���
  55. #define JPOS_TOKUSHU_SAHENSURU 215 //���ϓ���
  56. #define JPOS_TOKUSHU_SAHEN 216 //���s�ϊi
  57. #define JPOS_TOKUSHU_ZAHEN 217 //���s�ϊi
  58. #define JPOS_TOKUSHU_NAHEN 218 //�ȍs�ϊi
  59. #define JPOS_KURU_KI 219 //��
  60. #define JPOS_KURU_KITA 220 //����
  61. #define JPOS_KURU_KITARA 221 //������
  62. #define JPOS_KURU_KITARI 222 //������
  63. #define JPOS_KURU_KITAROU 223 //�����낤
  64. #define JPOS_KURU_KITE 224 //����
  65. #define JPOS_KURU_KUREBA 225 //������
  66. #define JPOS_KURU_KO 226 //���i�Ȃ��j
  67. #define JPOS_KURU_KOI 227 //����
  68. #define JPOS_KURU_KOYOU 228 //���悤
  69. #define JPOS_SURU_SA 229 //��
  70. #define JPOS_SURU_SI 230 //��
  71. #define JPOS_SURU_SITA 231 //����
  72. #define JPOS_SURU_SITARA 232 //������
  73. #define JPOS_SURU_SIATRI 233 //������
  74. #define JPOS_SURU_SITAROU 234 //�����낤
  75. #define JPOS_SURU_SITE 235 //����
  76. #define JPOS_SURU_SIYOU 236 //���悤
  77. #define JPOS_SURU_SUREBA 237 //������
  78. #define JPOS_SURU_SE 238 //��
  79. #define JPOS_SURU_SEYO 239 //�����^����
  80. #define JPOS_KEIYOU 300 //�`�e��
  81. #define JPOS_KEIYOU_GARU 301 //�`�e�����
  82. #define JPOS_KEIYOU_GE 302 //�`�e����
  83. #define JPOS_KEIYOU_ME 303 //�`�e���
  84. #define JPOS_KEIYOU_YUU 304 //�`�e����
  85. #define JPOS_KEIYOU_U 305 //�`�e���
  86. #define JPOS_KEIDOU 400 //�`�e����
  87. #define JPOS_KEIDOU_NO 401 //�`�e�����
  88. #define JPOS_KEIDOU_TARU 402 //�`�e������
  89. #define JPOS_KEIDOU_GARU 403 //�`�e�������
  90. #define JPOS_FUKUSHI 500 //����
  91. #define JPOS_FUKUSHI_SAHEN 501 //���ϕ���
  92. #define JPOS_FUKUSHI_NI 502 //�����
  93. #define JPOS_FUKUSHI_NANO 503 //�����
  94. #define JPOS_FUKUSHI_DA 504 //������
  95. #define JPOS_FUKUSHI_TO 505 //�����
  96. #define JPOS_FUKUSHI_TOSURU 506 //�������
  97. #define JPOS_RENTAISHI 600 //�A�̎�
  98. #define JPOS_RENTAISHI_SHIJI 601 //�w���A�̎�
  99. #define JPOS_SETSUZOKUSHI 650 //�ڑ���
  100. #define JPOS_KANDOUSHI 670 //������
  101. #define JPOS_SETTOU 700 //�ړ���
  102. #define JPOS_SETTOU_KAKU 701 //�����P�ړ���
  103. #define JPOS_SETTOU_SAI 702 //�����Q�ړ���
  104. #define JPOS_SETTOU_FUKU 703 //�����R�ړ���
  105. #define JPOS_SETTOU_MI 704 //�����S�ړ���
  106. #define JPOS_SETTOU_DAISHOU 705 //�����T�ړ���
  107. #define JPOS_SETTOU_KOUTEI 706 //�����U�ړ���
  108. #define JPOS_SETTOU_CHOUTAN 707 //�����V�ړ���
  109. #define JPOS_SETTOU_SHINKYU 708 //�����W�ړ���
  110. #define JPOS_SETTOU_JINMEI 709 //�l���ړ���
  111. #define JPOS_SETTOU_CHIMEI 710 //�n���ړ���
  112. #define JPOS_SETTOU_SONOTA 711 //�ŗL�ړ���
  113. #define JPOS_SETTOU_JOSUSHI 712 //�O�u������
  114. #define JPOS_SETTOU_TEINEI_O 713 //���J�P�ړ���
  115. #define JPOS_SETTOU_TEINEI_GO 714 //���J�Q�ړ���
  116. #define JPOS_SETTOU_TEINEI_ON 715 //���J�R�ړ���
  117. #define JPOS_SETSUBI 800 //�ڔ���
  118. #define JPOS_SETSUBI_TEKI 801 //�����P�ڔ���
  119. #define JPOS_SETSUBI_SEI 802 //�����Q�ڔ���
  120. #define JPOS_SETSUBI_KA 803 //�����R�ڔ���
  121. #define JPOS_SETSUBI_CHU 804 //�����S�ڔ���
  122. #define JPOS_SETSUBI_FU 805 //�����T�ڔ���
  123. #define JPOS_SETSUBI_RYU 806 //�����U�ڔ���
  124. #define JPOS_SETSUBI_YOU 807 //�����V�ڔ���
  125. #define JPOS_SETSUBI_KATA 808 //�����W�ڔ���
  126. #define JPOS_SETSUBI_MEISHIRENDAKU 809 //�����A��
  127. #define JPOS_SETSUBI_JINMEI 810 //�l���ڔ���
  128. #define JPOS_SETSUBI_CHIMEI 811 //�n���ڔ���
  129. #define JPOS_SETSUBI_KUNI 812 //���ڔ���
  130. #define JPOS_SETSUBI_KEN 813 //���ڔ���
  131. #define JPOS_SETSUBI_GUN 814 //�S�ڔ���
  132. #define JPOS_SETSUBI_KU 815 //���ڔ���
  133. #define JPOS_SETSUBI_SHI 816 //�s�ڔ���
  134. #define JPOS_SETSUBI_MACHI 817 //���P�ڔ���
  135. #define JPOS_SETSUBI_CHOU 818 //���Q�ڔ���
  136. #define JPOS_SETSUBI_MURA 819 //���P�ڔ���
  137. #define JPOS_SETSUBI_SON 820 //���Q�ڔ���
  138. #define JPOS_SETSUBI_EKI 821 //�w�ڔ���
  139. #define JPOS_SETSUBI_SONOTA 822 //�ŗL�ڔ���
  140. #define JPOS_SETSUBI_SHAMEI 823 //�Ж��ڔ���
  141. #define JPOS_SETSUBI_SOSHIKI 824 //�g�D�ڔ���
  142. #define JPOS_SETSUBI_KENCHIKU 825 //���z���ڔ���
  143. #define JPOS_RENYOU_SETSUBI 826 //�A�p�ڔ���
  144. #define JPOS_SETSUBI_JOSUSHI 827 //���u������
  145. #define JPOS_SETSUBI_JOSUSHIPLUS 828 //���u�������{
  146. #define JPOS_SETSUBI_JIKAN 829 //���ԏ�����
  147. #define JPOS_SETSUBI_JIKANPLUS 830 //���ԏ������{
  148. #define JPOS_SETSUBI_TEINEI 831 //���J�ڔ���
  149. #define JPOS_SETSUBI_SAN 832 //���J�P�ڔ���
  150. #define JPOS_SETSUBI_KUN 833 //���J�Q�ڔ���
  151. #define JPOS_SETSUBI_SAMA 834 //���J�R�ڔ���
  152. #define JPOS_SETSUBI_DONO 835 //���J�S�ڔ���
  153. #define JPOS_SETSUBI_FUKUSU 836 //�����ڔ���
  154. #define JPOS_SETSUBI_TACHI 837 //�����P�ڔ���
  155. #define JPOS_SETSUBI_RA 838 //�����Q�ڔ���
  156. #define JPOS_TANKANJI 900 //�P����
  157. #define JPOS_TANKANJI_KAO 901 //��
  158. #define JPOS_KANYOUKU 902 //���p��
  159. #define JPOS_DOKURITSUGO 903 //�Ɨ���
  160. #define JPOS_FUTEIGO 904 //�s����
  161. #define JPOS_KIGOU 905 //�L��
  162. #define JPOS_EIJI 906 //�p��
  163. #define JPOS_KUTEN 907 //���_
  164. #define JPOS_TOUTEN 908 //�Ǔ_
  165. #define JPOS_KANJI 909 //���͕s�\����
  166. #define JPOS_OPENBRACE 910 //�J������
  167. #define JPOS_CLOSEBRACE 911 //�‚�����
  168. #pragma pack (push, 1)
  169. //POS table data structure
  170. typedef struct _POSTBL
  171. {
  172. WORD nPos; //pos number
  173. BYTE *szName; //name of pos
  174. } POSTBL;
  175. #pragma pack (pop)
  176. #ifdef __cplusplus
  177. extern "C" {
  178. #endif
  179. //function prototypes
  180. extern POSTBL *ObtainPosTable(int *pcPos);
  181. extern WORD WPosExtFromIn(WORD wPos);
  182. extern WORD WPosInFromExt(WORD wPos);
  183. BOOL FRegistExtPos(WORD wPos);
  184. #ifdef __cplusplus
  185. } /* end of 'extern "C" {' */
  186. #endif
  187. #endif //__OUTPOS_H__