Source code of Windows XP (NT5)
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.

69 lines
2.3 KiB

  1. //
  2. // Copyright (C) 1997, Microsoft Corporation. All Rights Reserved.
  3. //
  4. #ifndef __HJASO_H__
  5. #define __HJASO_H__
  6. #define NUMBER_OF_CHOSUNG 19
  7. #define NUMBER_OF_JUNGSUNG 21
  8. #define NUMBER_OF_JONGSUNG 28 // include fill code
  9. #define HANGUL_COMP_JAMO_START 0x3131
  10. #define HANGUL_COMP_JAMO_END 0x3163
  11. #define HANGUL_COMP_JAMO_START_FILL 0x3130
  12. #define HANGUL_COMP_JAMO_SIOT 0x3145
  13. #define HANGUL_START 0xAC00
  14. #define HANGUL_END 0xD7A3
  15. ///////////////////////////////////////////
  16. // HANGUL Jaso difinitions
  17. // ChoSung
  18. #define _KIYEOK_ 1
  19. #define _SSANGKIYEOK_ 2
  20. #define _NIEUN_ 3
  21. //#define _SSANGNIEUN_ 4 not used
  22. #define _TIKEUT_ 5
  23. #define _SSANGTIKEUT_ 6
  24. #define _RIEUL_ 7
  25. //#define _SSANGRIEUL_ 8 not used
  26. // fill
  27. #define _MIEUM_ 10
  28. #define _PIEUP_ 11
  29. #define _SSANGPIEUP_ 12
  30. #define _SIOS_ 13
  31. #define _SSANGSIOS_ 14
  32. #define _IEUNG_ 15
  33. #define _CIEUC_ 16
  34. #define _SSANGCIEUC_ 17
  35. #define _CHIEUCH_ 18
  36. #define _KHIEUKH_ 19
  37. #define _THIEUTH_ 20
  38. #define _PHIEUPH_ 21
  39. #define _HIEUH_ 22
  40. // JungSung
  41. #define _A_ 23
  42. #define _AE_ 24
  43. #define _YA_ 25
  44. #define _YAE_ 26
  45. #define _EO_ 27
  46. #define _E_ 28
  47. #define _YEO_ 29
  48. #define _YE_ 30
  49. #define _O_ 31
  50. //fill
  51. #define _WA_ 33
  52. #define _WAE_ 34
  53. #define _OE_ 35
  54. #define _YO_ 36
  55. #define _U_ 37
  56. #define _WEO_ 38
  57. #define _WE_ 39
  58. #define _WI_ 40
  59. #define _YU_ 41
  60. #define _EU_ 42
  61. #define _YI_ 43
  62. #define _I_ 44
  63. ////////////////////////////////////////
  64. #endif // !__HJASO_H__