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.

50 lines
957 B

  1. // Copyright (c) 1995 Microsoft Corpration
  2. //
  3. // File Name : fechrcnv.h
  4. // Owner : Tetsuhide Akaishi
  5. // Revision : 1.00 07/20/'95 Tetsuhide Akaishi
  6. //
  7. # ifndef _FESTRCNV_H_
  8. # define _FESTRCNV_H_
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. // Define for Japanese Code Type
  13. #define CODE_UNKNOWN 0
  14. #define CODE_ONLY_SBCS 0
  15. #define CODE_JPN_JIS 1
  16. #define CODE_JPN_EUC 2
  17. #define CODE_JPN_SJIS 3
  18. // ----------------------------------
  19. // Public Functions for All FarEast
  20. //-----------------------------------
  21. // Convert from PC Code Set to UNIX Code Set
  22. int PC_to_UNIX (
  23. int CodePage,
  24. int CodeSet,
  25. UCHAR *pPC,
  26. int PC_len,
  27. UCHAR *pUNIX,
  28. int UNIX_len
  29. );
  30. // Convert from UNIX Code Set to PC Code Set
  31. int UNIX_to_PC (
  32. int CodePage,
  33. int CodeSet,
  34. UCHAR *pUNIX,
  35. int UNIX_len,
  36. UCHAR *pPC,
  37. int PC_len
  38. );
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. # endif // _FESTRCNV_H_