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.

104 lines
3.4 KiB

  1. #define IDS_CHINESE_CHAR 0x0100
  2. #define IDS_QUERY_NOTFINISH 0x0101
  3. #define IDS_QUERY_REGISTER 0x0102
  4. #define IDS_ISV_FILE_FILTER 0x0200
  5. #define IDS_PROCESS_FMT 0x0201
  6. #define IDS_RESULT_FAIL 0x0202
  7. #define IDS_RESULT_SUCCESS 0x0203
  8. #define IDS_INTERNAL_TITLE 0x0300
  9. #define IDS_INTERNAL_MSG 0x0301
  10. #define IDS_EUDCDICFAIL_TITLE 0x0302
  11. #define IDS_EUDCDICFAIL_MSG 0x0303
  12. #define IDS_NOTOPEN_TITLE 0x0304
  13. #define IDS_NOTOPEN_MSG 0x0305
  14. #define IDS_FILESIZE_TITLE 0x0306
  15. #define IDS_FILESIZE_MSG 0x0307
  16. #define IDS_HEADERSIZE_TITLE 0x0308
  17. #define IDS_HEADERSIZE_MSG 0x0309
  18. #define IDS_INFOSIZE_TITLE 0x030A
  19. #define IDS_INFOSIZE_MSG 0x030B
  20. #define IDS_CODEPAGE_TITLE 0x030E
  21. #define IDS_CODEPAGE_MSG 0x030F
  22. #define IDS_CWINSIGN_TITLE 0x0310
  23. #define IDS_CWINSIGN_MSG 0x0311
  24. #define IDS_UNMATCHED_TITLE 0x0312
  25. #define IDS_UNMATCHED_MSG 0x0313
  26. #define IDS_NOIME_TITLE 0x0400
  27. #define IDS_NOIME_MSG 0x0401
  28. #define IDS_NOMEM_TITLE 0x0402
  29. #define IDS_NOMEM_MSG 0x0403
  30. #define WM_EUDC_CODE (WM_USER + 0x0400)
  31. #define WM_EUDC_COMPMSG (WM_USER + 0x0401)
  32. #define WM_EUDC_SWITCHIME (WM_USER + 0x0402)
  33. #define WM_EUDC_REGISTER_BUTTON (WM_USER + 0x0403)
  34. #define UPDATE_NONE 0
  35. #define UPDATE_START 1
  36. #define UPDATE_FINISH 2
  37. #define UPDATE_ERROR 3
  38. #define UPDATE_REGISTERED 4
  39. #define IDM_NEW_EUDC 0x0100
  40. #define IDM_IME_LINK 0x0101
  41. #define IDM_BATCH_IME_LINK 0x0102
  42. #define IDD_RADICAL 0x0100
  43. #define GWL_IMELINKREGWORD 0
  44. #define GWL_RADICALRECT (GWL_IMELINKREGWORD+sizeof(LONG_PTR))
  45. #define GWL_SIZE (GWL_RADICALRECT+sizeof(LONG_PTR))
  46. #define UI_MARGIN 3
  47. #define CARET_MARGIN 2
  48. #define RECT_IMENAME 0
  49. #define RECT_RADICAL 1
  50. #define RECT_NUMBER (RECT_RADICAL + 1) // how many rectangles
  51. #define UNICODE_CP 1200
  52. #define BIG5_CP 950
  53. #define ALT_BIG5_CP 938
  54. #define GB2312_CP 936
  55. #define SIGN_CWIN 0x4E495743
  56. #define SIGN__TBL 0x4C42545F
  57. #ifndef RC_INVOKED
  58. #pragma pack(1)
  59. #endif
  60. typedef struct tagUSRDICIMHDR {
  61. WORD uHeaderSize; // 0x00
  62. BYTE idUserCharInfoSign[8]; // 0x02
  63. BYTE idMajor; // 0x0A
  64. BYTE idMinor; // 0x0B
  65. DWORD ulTableCount; // 0x0C
  66. WORD cMethodKeySize; // 0x10
  67. BYTE uchBankID; // 0x12
  68. WORD idInternalBankID; // 0x13
  69. BYTE achCMEXReserved1[43]; // 0x15
  70. WORD uInfoSize; // 0x40
  71. BYTE chCmdKey; // 0x42
  72. BYTE idStlnUpd; // 0x43
  73. BYTE cbField; // 0x44
  74. WORD idCP; // 0x45
  75. BYTE achMethodName[6]; // 0x47
  76. BYTE achCSIReserved2[51]; // 0x4D
  77. BYTE achCopyRightMsg[128]; // 0x80
  78. } USRDICIMHDR;
  79. #ifndef RC_INVOKED
  80. #pragma pack()
  81. #endif
  82. typedef USRDICIMHDR FAR *LPUSRDICIMHDR;
  83. typedef DWORD UNALIGNED FAR *LPUNADWORD;
  84. typedef TCHAR UNALIGNED FAR *LPUNATSTR;