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.

30 lines
664 B

  1. #ifndef CHS_H
  2. #define CHS_H
  3. #include <windows.h>
  4. #define MAXWORDLENTH 40
  5. #define MAXCODELENTH 12
  6. #define MAXNUMBER_EMB 1000
  7. #define IMENUM 3
  8. #define MAXIMENAME 15
  9. #pragma pack(push, CHS, 1 )
  10. typedef struct PHRASERECNT{
  11. WCHAR CODE[MAXCODELENTH];
  12. WCHAR PHRASE[MAXWORDLENTH];
  13. } RECNT;
  14. typedef struct PHRASEREC95{
  15. BYTE CODE[MAXCODELENTH];
  16. BYTE PHRASE[MAXWORDLENTH];
  17. } REC95;
  18. #pragma pack(pop, CHS)
  19. int ImeDataConvertChs(HFILE hSource, HFILE hTarget);
  20. HANDLE OpenEMBFile(UCHAR * FileName);
  21. BOOL ConvertChsImeData(void);
  22. BOOL CHSDeleteGBKKbdLayout();
  23. BOOL CHSBackupWinABCUserDict(LPCTSTR);
  24. #endif