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.

44 lines
1.4 KiB

  1. /***
  2. *setlocal.h - internal definitions used by locale-dependent functions.
  3. *
  4. * Copyright (c) 1991-1993, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Contains internal definitions/declarations for locale-dependent
  8. * functions, in particular those required by setlocale().
  9. * [Internal]
  10. *
  11. *Revision History:
  12. * 10-16-91 ETC 32-bit version created from 16-bit setlocal.c
  13. * 12-20-91 ETC Removed GetLocaleInfo structure definitions.
  14. * 08-18-92 KRS Make _CLOCALEHANDLE == LANGNEUTRAL HANDLE = 0.
  15. * 12-17-92 CFW Added LC_ID, LCSTRINGS, and GetQualifiedLocale
  16. * 12-17-92 KRS Change value of NLSCMPERROR from 0 to INT_MAX.
  17. * 01-08-93 CFW Added LC_*_TYPE and _getlocaleinfo (wrapper) prototype.
  18. * 01-13-93 KRS Change LCSTRINGS back to LC_STRINGS for consistency.
  19. * Change _getlocaleinfo prototype again.
  20. * 02-08-93 CFW Added time defintions from locale.h, added 'const' to
  21. * GetQualifiedLocale prototype, added _lconv_static_*.
  22. * 02-16-93 CFW Changed time defs to long and short.
  23. * 03-17-93 CFW Add language and country info definitions.
  24. * 03-23-93 CFW Add _ to GetQualifiedLocale prototype.
  25. * 03-24-93 CFW Change to _get_qualified_locale.
  26. *
  27. ****/
  28. #ifndef _INC_SETLOCAL
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32. #define _CLOCALECP CP_ACP /* "C" locale Code page (ANSI 8859) */
  33. extern UINT _lc_codepage; /* code page */
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #define _INC_SETLOCAL
  38. #endif /* _INC_SETLOCAL */