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.

82 lines
2.4 KiB

  1. /***
  2. *awint.h - internal definitions for A&W Win32 wrapper routines.
  3. *
  4. * Copyright (c) 1994-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Contains internal definitions/declarations for A&W wrapper functions.
  8. * Not included in internal.h since windows.h is required for these.
  9. *
  10. * [Internal]
  11. *
  12. *Revision History:
  13. * 03-30-94 CFW Module created.
  14. * 04-18-94 CFW Add lcid parameter.
  15. * 02-14-95 CFW Clean up Mac merge.
  16. * 02-24-95 CFW Add _crtMessageBox.
  17. * 02-27-95 CFW Change __crtMessageBoxA params.
  18. * 03-29-95 CFW Add error message to internal headers.
  19. * 05-26-95 GJF Changed prototype for __crtGetEnvironmentStringsA.
  20. * 12-14-95 JWM Add "#pragma once".
  21. * 03-16-97 RDK Added error flag to __crtGetStringTypeA.
  22. * 03-17-97 RDK Added error flag to __crtLCMapStringA.
  23. * 08-22-00 GB Added __ansicp and __convertcp
  24. *
  25. ****/
  26. #if _MSC_VER > 1000 /*IFSTRIP=IGN*/
  27. #pragma once
  28. #endif
  29. #ifdef _WIN32
  30. #ifndef _INC_AWINC
  31. #define _INC_AWINC
  32. #ifndef _CRTBLD
  33. /*
  34. * This is an internal C runtime header file. It is used when building
  35. * the C runtimes only. It is not to be used as a public header file.
  36. */
  37. #error ERROR: Use of C runtime library internal header file.
  38. #endif /* _CRTBLD */
  39. #ifdef __cplusplus
  40. extern "C" {
  41. #endif
  42. #include <windows.h>
  43. /* internal A&W routines */
  44. int __cdecl __crtCompareStringW(LCID, DWORD, LPCWSTR, int, LPCWSTR, int, int);
  45. int __cdecl __crtCompareStringA(LCID, DWORD, LPCSTR, int, LPCSTR, int, int);
  46. int __cdecl __crtGetLocaleInfoW(LCID, LCTYPE, LPWSTR, int, int);
  47. int __cdecl __crtGetLocaleInfoA(LCID, LCTYPE, LPSTR, int, int);
  48. int __cdecl __crtLCMapStringW(LCID, DWORD, LPCWSTR, int, LPWSTR, int, int);
  49. int __cdecl __crtLCMapStringA(LCID, DWORD, LPCSTR, int, LPSTR, int, int, BOOL);
  50. BOOL __cdecl __crtGetStringTypeW(DWORD, LPCWSTR, int, LPWORD, int, int);
  51. BOOL __cdecl __crtGetStringTypeA(DWORD, LPCSTR, int, LPWORD, int, int, BOOL);
  52. LPVOID __cdecl __crtGetEnvironmentStringsW(VOID);
  53. LPVOID __cdecl __crtGetEnvironmentStringsA(VOID);
  54. LPWSTR __cdecl __crtGetCommandLineW(VOID);
  55. int __cdecl __crtMessageBoxA(LPCSTR, LPCSTR, UINT);
  56. /* internal routines for supporting A&W routines */
  57. int __cdecl __ansicp(int);
  58. char * __cdecl __convertcp(int, int, const char *, int *, char *, int);
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62. #endif /* _INC_AWINC */
  63. #endif /* _WIN32 */