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.

81 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. stdafx.hxx
  5. Abstract:
  6. Include file for standard system include files.
  7. Author:
  8. Adi Oltean [aoltean] 07/02/1999
  9. Revision History:
  10. Name Date Comments
  11. aoltean 07/02/1999 Created
  12. aoltean 09/11/1999 Disabling the C4290 warning
  13. --*/
  14. #ifndef __VSS_STDAFX_HXX__
  15. #define __VSS_STDAFX_HXX__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. // Disable warning: 'identifier' : identifier was truncated to 'number' characters in the debug information
  20. //#pragma warning(disable:4786)
  21. //
  22. // C4290: C++ Exception Specification ignored
  23. //
  24. #pragma warning(disable:4290)
  25. //
  26. // ATL debugging support turned on at debug version
  27. // BUGBUG: the ATL thunking support is not enable yet in IA64
  28. // When this will be enabled then enable it here also!
  29. //
  30. #ifdef _DEBUG
  31. #ifdef _M_IX86
  32. #define _ATL_DEBUG_INTERFACES
  33. #define _ATL_DEBUG_QI
  34. #define _ATL_DEBUG_REFCOUNT
  35. #endif
  36. #endif // _DEBUG
  37. #include <wtypes.h>
  38. #pragma warning( disable: 4201 ) // C4201: nonstandard extension used : nameless struct/union
  39. #include <winioctl.h>
  40. #pragma warning( default: 4201 ) // C4201: nonstandard extension used : nameless struct/union
  41. #include <winbase.h>
  42. #include <wchar.h>
  43. #include <string.h>
  44. #include <iostream.h>
  45. #include <fstream.h>
  46. #include <stdio.h>
  47. #include <process.h>
  48. #include <stdlib.h>
  49. #include <errno.h>
  50. // Enabling asserts in ATL and VSS
  51. #include "vs_assert.hxx"
  52. #include <oleauto.h>
  53. #include <stddef.h>
  54. #pragma warning( disable: 4127 ) // warning C4127: conditional expression is constant
  55. #include <atlconv.h>
  56. #include <atlbase.h>
  57. #endif // __VSS_STDAFX_HXX__