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.

174 lines
5.1 KiB

  1. /*************************************************
  2. * unicdime.rc *
  3. * *
  4. * Copyright (C) 1999 Microsoft Inc. *
  5. * *
  6. *************************************************/
  7. #include <winuser.h>
  8. #include "unicdime.rcv"
  9. #include "imeattr.h"
  10. #include "imerc.h"
  11. #include "ime.rc"
  12. IDIC_IME_ICON ICON IME.ICO
  13. IDRC_VALIDCHAR RCDATA
  14. BEGIN
  15. // DWORD dwVersion;
  16. 0, 1,
  17. // WORD fwProperties1;
  18. IMEPROP_UNICODE|
  19. 0x0000,
  20. // WORD fwProperties2;
  21. 0x0000,
  22. // WORD nMaxKey;
  23. 4,
  24. // WORD nSeqCode;
  25. 0x10,
  26. // WORD fChooseChar[6]; bit 15 -> 0xF, bit 0 -> 0x0
  27. // when this bit == 1, this char can be entered in choosing candidates
  28. // 20-2F /.-, +*)( '&%$ #"!
  29. 0x0000, // 0000 0000 0000 0000
  30. // 30-3F ?>=< ;:98 7654 3210
  31. 0x0000, // 0000 0000 0000 0000
  32. // 40-4F ONML KJIH GFED CBA@
  33. 0x0000, // 0000 0000 0000 0000
  34. // 50-5f _^]\ [ZYX WVUT SRQP
  35. 0x0000, // 0000 0000 0000 0000
  36. // 60-6F onml kjih gfed cba`
  37. 0x0000, // 0000 0000 0000 0000
  38. // 70-7F ~}| {zyx wvut srqp
  39. 0x0000, // 0000 0000 0000 0000
  40. // WORD wReserved1[2];
  41. 0x0000, 0x0000,
  42. // WORD fCompChar[6]; bit 15 -> 0xF, bit 0 -> 0x0
  43. // when this bit == 1, this char can be entered in composing char
  44. // 20-2F /.-, +*)( '&%$ #"!
  45. 0x0000, // 0000 0000 0000 0000
  46. // 30-3F ?>=< ;:98 7654 3210
  47. 0x03FF, // 0000 0011 1111 1111
  48. // 40-4F ONML KJIH GFED CBA@
  49. 0x007E, // 0000 0000 0111 1110
  50. // 50-5F _^]\ [ZYX WVUT SRQP
  51. 0x0000, // 0000 0000 0000 0000
  52. // 60-6F onml kjih gfed cba`
  53. 0x0000, // 0000 0000 0000 0000
  54. // 70-7F ~}| {zyx wvut srqp
  55. 0x0000, // 0000 0000 0000 0000
  56. // WORD wReserved1[2];
  57. 0x0000, 0x0000,
  58. // WORD wCandPerPage;
  59. 0x0009,
  60. // WORD wCandStart;
  61. 0x0001,
  62. // WORD wCandRangeStart;
  63. 0x0001,
  64. // WORD wReserved3[1];
  65. 0x0000,
  66. // WORD wSeq2CompTbl[64];
  67. /*
  68. // 0 1 2 3 4 5 6 7 8 9 A B C D E F - sequence code
  69. 0x3000, 0xFF10, 0xFF11, 0xFF12, 0xFF13, 0xFF14, 0xFF15, 0xFF16,
  70. 0xFF17, 0xFF18, 0xFF19, 0xFF21, 0xFF22, 0xFF23, 0xFF24, 0xFF25,
  71. // 101112131415161718191A1B1C1D1E1F
  72. 0xFF26, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  73. 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  74. // 202122232425262728292A2B2C2D2E2F
  75. 0xFF26, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  76. 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  77. // 303132333435363738393A3B3C3D3E3F
  78. 0xFF26, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  79. 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  80. */
  81. // 0 1 2 3 4 5 6 7 8 9 A B C D E F - sequence code
  82. 0x0020, 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036,
  83. 0x0037, 0x0038, 0x0039, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045,
  84. // 101112131415161718191A1B1C1D1E1F
  85. 0x0046, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
  86. 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
  87. // 202122232425262728292A2B2C2D2E2F
  88. 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
  89. 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
  90. // 303132333435363738393A3B3C3D3E3F
  91. 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
  92. 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
  93. // WORD wChar2SeqTbl[0x42];
  94. // ' ' ! " # $ % & ' - char code
  95. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // sequence code
  96. // ( ) * + , - . /
  97. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  98. // 0 1 2 3 4 5 6 7
  99. 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
  100. // 8 9 : ; < = > ?
  101. 0x09, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  102. // @ A B C D E F G
  103. 0x00, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x00,
  104. // H I J K L M N O
  105. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  106. // P Q R S T U V W
  107. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  108. // X Y Z [ \ ] ^ _
  109. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  110. // ` a
  111. 0x00, 0x00,
  112. END
  113. IDRC_TABLEFILES RCDATA
  114. BEGIN
  115. // szTblFile[4][16]
  116. L"\0 34567890123456", L"\0 34567890123456",
  117. L"\0 34567890123456", L"\0 34567890123456",
  118. END
  119. STRINGTABLE
  120. BEGIN
  121. IDS_IMENAME, "Unicode"
  122. IDS_IMEUICLASS, "UNICDIME"
  123. IDS_IMECOMPCLASS, "CompUNICDIME"
  124. IDS_IMECANDCLASS, "CandUNICDIME"
  125. IDS_IMESTATUSCLASS, "StatusUNICDIME"
  126. IDS_IMEOFFCARETCLASS, "OffUNICDIME"
  127. IDS_IMECMENUCLASS, "CMenuUNICDIME"
  128. END