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.

42 lines
928 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. // Define for Japanese Code Type
  10. #define CODE_UNKNOWN 0
  11. #define CODE_ONLY_SBCS 0
  12. #define CODE_JPN_JIS 1
  13. #define CODE_JPN_EUC 2
  14. #define CODE_JPN_SJIS 3
  15. // ----------------------------------
  16. // Public Functions for All FarEast
  17. //-----------------------------------
  18. // Convert from PC Code Set to UNIX Code Set
  19. int PC_to_UNIX (
  20. int CodePage,
  21. int CodeSet,
  22. UCHAR *pPC,
  23. int PC_len,
  24. UCHAR *pUNIX,
  25. int UNIX_len
  26. );
  27. // Convert from UNIX Code Set to PC Code Set
  28. int UNIX_to_PC (
  29. int CodePage,
  30. int CodeSet,
  31. UCHAR *pUNIX,
  32. int UNIX_len,
  33. UCHAR *pPC,
  34. int PC_len
  35. );
  36. # endif // _FESTRCNV_H_