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.

43 lines
1.2 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1995, Microsoft Corporation. All Rights Reserved.
  4. //
  5. // File: ctplus.h
  6. //
  7. // Contents: Local definitions for ctplus.c
  8. //
  9. // History: 23-May-96 pathal Created.
  10. //
  11. //---------------------------------------------------------------------------
  12. #ifndef _CTPLUS_0_H_
  13. #define _CTPLUS_0_H_
  14. #define HC 0x01 // Hiragana char
  15. #define IC 0x02 // Ideograph char
  16. #define KC 0x03 // Katakana char
  17. #define WS 0x04 // Word seperator
  18. #define VC 0x05 // Hankaku (variant) char
  19. #define PS 0x06 // Phrase seperator
  20. #define CH 0x07 // Code page 0 - ASCII Char.
  21. BYTE
  22. GetCharType(WCHAR wc );
  23. // Declare character types transitions
  24. // Intuitively frequency ordered
  25. //
  26. typedef enum _CT {
  27. CT_START = 0x00,
  28. CT_HIRAGANA = 0x01,
  29. CT_KANJI = 0x02,
  30. CT_KATAKANA = 0x03,
  31. CT_WORD_SEP = 0x04,
  32. CT_HANKAKU =0x05,
  33. CT_PHRASE_SEP = 0x06,
  34. CT_ROMAJI = 0x07,
  35. } CT;
  36. #define CT_MAX 0x08
  37. #endif // _CTPLUS_0_H_