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.

192 lines
5.7 KiB

  1. /*************************************************
  2. * quick.rc *
  3. * *
  4. * Copyright (C) 1995-1999 Microsoft Inc. *
  5. * *
  6. *************************************************/
  7. #include <winuser.h>
  8. #include "quick.rcv"
  9. #include "imeattr.h"
  10. #include "imerc.h"
  11. #include "ime.rc"
  12. IDBM_CMODE_NATIVE BITMAP Chinese.bmp
  13. IDIC_IME_ICON ICON IME.ICO
  14. IDRC_VALIDCHAR RCDATA
  15. BEGIN
  16. // DWORD dwVersion;
  17. 0, 1,
  18. // WORD fwProperties1;
  19. #ifdef UNICODE
  20. IMEPROP_UNICODE|
  21. #endif
  22. IMEPROP_CAND_NOBEEP_GUIDELINE,
  23. // WORD fwProperties2;
  24. 0x0000,
  25. // WORD nMaxKey;
  26. 5,
  27. // WORD nSeqCode;
  28. 0x1A,
  29. // WORD fChooseChar[6];, bit 15 -> 0xF, bit 0 -> 0x0
  30. // when this bit == 1, this char can be entered in choosing candidates
  31. // 20-2F /.-, +*)( '&%$ #"!
  32. 0x0001, // 0000 0000 0000 0001
  33. // 30-3F ?>=< ;:98 7654 3210
  34. 0xD3FE, // 1101 0011 1111 1110
  35. // 40-4F ONML KJIH GFED CBA@
  36. 0xFFFE, // 1111 1111 1111 1110
  37. // 50-5f _^]\ [ZYX WVUT SRQP
  38. 0x07FF, // 0000 0111 1111 1111
  39. // 60-6F onml kjih gfed cba`
  40. 0x0000, // 0000 0000 0000 0000
  41. // 70-7F ~}| {zyx wvut srqp
  42. 0x0000, // 0000 0000 0000 0000
  43. // WORD wReserved1[2];
  44. 0x0000, 0x0000,
  45. // WORD fCompChar[6]; bit 15 -> 0xF, bit 0 -> 0x0
  46. // when this bit == 1, this char can be entered in composing char
  47. // 20-2F /.-, +*)( '&%$ #"!
  48. 0x0001, // 0000 0000 0000 0001
  49. // 30-3F ?>=< ;:98 7654 3210
  50. 0x0000, // 0000 0000 0000 0000
  51. // 40-4F ONML KJIH GFED CBA@
  52. 0xFFFE, // 1111 1111 1111 1110
  53. // 50-5F _^]\ [ZYX WVUT SRQP
  54. 0x07FF, // 0000 0111 1111 1111
  55. // 60-6F onml kjih gfed cba`
  56. 0x0000, // 0000 0000 0000 0000
  57. // 70-7F ~}| {zyx wvut srqp
  58. 0x0000, // 0000 0000 0000 0000
  59. // WORD wReserved2[2];
  60. 0x0000, 0x0000,
  61. // WORD wCandPerPage;
  62. 0x0009,
  63. // WORD wCandStart;
  64. 0x0001,
  65. // WORD wCandRangeStart;
  66. 0x0001,
  67. // WORD wReserved3[1];
  68. 0x0000,
  69. // WORD wSeq2CompTbl[64];
  70. // 0 1 2 3 4 5 6 7 8 9 A B C D E F - sequence code
  71. #ifdef UNICODE
  72. 0x3000, 0x65E5, 0x6708, 0x91D1, 0x6728, 0x6C34, 0x706B, 0x571F,
  73. 0x7AF9, 0x6208, 0x5341, 0x5927, 0x4E2D, 0x4E00, 0x5F13, 0x4EBA,
  74. #else
  75. "�@�������������g�ˤ��Q�j���@�}�H", // comp char
  76. // 0x40A1, 0xE9A4, 0xEBA4, 0xF7AA, 0xECA4, 0xF4A4, 0xF5A4, 0x67A4,
  77. // 0xCBA6, 0xE0A4, 0x51A4, 0x6AA4, 0xA4A4, 0x40A4, 0x7DA4, 0x48A4,
  78. #endif
  79. // 101112131415161718191A1B1C1D1E1F
  80. #ifdef UNICODE
  81. 0x5FC3, 0x624B, 0x53E3, 0x5C38, 0x5EFF, 0x5C71, 0x5973, 0x7530,
  82. 0x96E3, 0x535C, 0xFF3A, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  83. #else
  84. "�ߤ��f�r�ܤs�k�����R���@�@�@�@�@",
  85. // 0xDFA4, 0xE2A4, 0x66A4, 0x72A4, 0xDCA4, 0x73A4, 0x6BA4, 0xD0A5,
  86. // 0xF8C3, 0x52A4, 0xE8A2, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1,
  87. #endif
  88. // 202122232425262728292A2B2C2D2E2F
  89. #ifdef UNICODE
  90. 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  91. 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  92. #else
  93. "�@�@�@�@�@�@�@�@�@�@�@�@�@�@�@�@",
  94. // 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1,
  95. // 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1,
  96. #endif
  97. // 303132333435363738393A3B3C3D3E3F
  98. #ifdef UNICODE
  99. 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
  100. 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x20AC, 0x3000, 0x3000,
  101. #else
  102. "�@�@�@�@�@�@�@�@�@�@�@�@�@�@�@�@",
  103. // 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1,
  104. // 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1, 0x40A1,
  105. #endif
  106. // WORD wChar2SeqTbl[0x42];
  107. // ' ' ! " # $ % & ' - char code
  108. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // sequence code
  109. // ( ) * + , - . /
  110. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  111. // 0 1 2 3 4 5 6 7
  112. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  113. // 8 9 : ; < = > ?
  114. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  115. // @ A B C D E F G
  116. 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
  117. // H I J K L M N O
  118. 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
  119. // P Q R S T U V W
  120. 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
  121. // X Y Z [ \ ] ^ _
  122. 0x18, 0x19, 0x1A, 0x00, 0x00, 0x00, 0x00, 0x00,
  123. // ` a
  124. 0x3D, 0x00,
  125. END
  126. IDRC_TABLEFILES RCDATA
  127. BEGIN
  128. #ifdef UNICODE
  129. // szTblFile[4][16]
  130. L"A15.TBL\0 0123456", L"A234.TBL\0 123456",
  131. L"ACODE.TBL\0 23456", L"\0 34567890123456",
  132. #else
  133. // szTblFile[4][32]
  134. "A15.TBL\0 01234567890123456789012", "A234.TBL\0 1234567890123456789012",
  135. "ACODE.TBL\0 234567890123456789012", "\0 345678901234567890123456789012",
  136. #endif
  137. END
  138. STRINGTABLE
  139. BEGIN
  140. IDS_IMENAME, "Quick"
  141. IDS_IMEUICLASS, "QUICK"
  142. IDS_IMECOMPCLASS, "CompQUICK"
  143. IDS_IMECANDCLASS, "CandQUICK"
  144. IDS_IMESTATUSCLASS, "StatusQUICK"
  145. IDS_IMEOFFCARETCLASS, "OffQUICK"
  146. IDS_IMECMENUCLASS, "CMenuQUICK"
  147. END