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.

85 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1997-2000, Microsoft Corporation All rights reserved.
  3. Module Name:
  4. getuname.h
  5. Abstract:
  6. This file defines the string resource identifiers used by GetUName.dll.
  7. Revision History:
  8. 15-Sep-2000 JohnMcCo Added support for Unicode 3.0
  9. 17-Oct-2000 JulieB Code cleanup
  10. --*/
  11. #ifndef GETUNAME_H
  12. #define GETUNAME_H
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. //
  17. // Constant Declarations.
  18. //
  19. //
  20. // Mnemonic for the longest possible name.
  21. // Must be as long as the longest (possibly localized) name.
  22. //
  23. #define MAX_NAME_LEN 256
  24. //
  25. // Mnenonics for important code values in each range.
  26. //
  27. #define FIRST_EXTENSION_A 0x3400
  28. #define LAST_EXTENSION_A 0x4db5
  29. #define FIRST_CJK 0x4e00
  30. #define LAST_CJK 0x9fa5
  31. #define FIRST_YI 0xa000
  32. #define FIRST_HANGUL 0xac00
  33. #define LAST_HANGUL 0xd7a3
  34. #define FIRST_HIGH_SURROGATE 0xd800
  35. #define FIRST_PRIVATE_SURROGATE 0xdb80
  36. #define FIRST_LOW_SURROGATE 0xdc00
  37. #define FIRST_PRIVATE_USE 0xe000
  38. #define FIRST_COMPATIBILITY 0xf900
  39. //
  40. // Mnemonics for the range name string ids.
  41. //
  42. #define IDS_UNAME 0x0000
  43. #define IDS_CJK_EXTA FIRST_EXTENSION_A
  44. #define IDS_CJK FIRST_CJK
  45. #define IDS_HIGH_SURROGATE FIRST_HIGH_SURROGATE
  46. #define IDS_PRIVATE_SURROGATE FIRST_PRIVATE_SURROGATE
  47. #define IDS_LOW_SURROGATE FIRST_LOW_SURROGATE
  48. #define IDS_PRIVATE_USE FIRST_PRIVATE_USE
  49. #define IDS_UNDEFINED 0xFFFE // guaranteed to be not a character
  50. //
  51. // Mnemonics for the Hangul syllable parts string ids.
  52. // Use the Hangul syllable range since we know that is unused.
  53. //
  54. #define IDS_HANGUL_SYLLABLE FIRST_HANGUL
  55. #define IDS_HANGUL_LEADING (FIRST_HANGUL + 1)
  56. #define IDS_HANGUL_MEDIAL (FIRST_HANGUL + 0x100)
  57. #define IDS_HANGUL_TRAILING (FIRST_HANGUL + 0x200)
  58. #ifdef __cplusplus
  59. }
  60. #endif
  61. #endif // GETUNAME_H