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.

51 lines
911 B

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. //=============================================================================
  3. //
  4. //
  5. //=============================================================================
  6. #ifndef _PRINTF_OEM_ANSI_H
  7. #define _PRINTF_OEM_ANSI_H
  8. // Include files:
  9. //===============
  10. #include <windows.h>
  11. #include <stdio.h>
  12. // Forward References:
  13. //====================
  14. // Const/Define:
  15. //==============
  16. #define printf ANSI2OEM_Printf
  17. #define wprintf ANSI2OEM_Wprintf
  18. // Classes/Structs:
  19. //=================
  20. // Function Prototypes:
  21. //=====================
  22. #ifdef __cpluspus
  23. extern "C" {
  24. #endif
  25. int ANSI2OEM_Printf(const char *format, ...);
  26. int ANSI2OEM_Wprintf(const wchar_t *format, ...);
  27. void OEM2ANSIW(wchar_t *buffer, USHORT len);
  28. void OEM2ANSIA(char *buffer, USHORT len);
  29. #ifdef __cpluspus
  30. };
  31. #endif
  32. #endif
  33. // end