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.

71 lines
1.5 KiB

  1. #include <memory>
  2. #ifndef __VSS_STDAFX_HXX__
  3. #define __VSS_STDAFX_HXX__
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif
  7. // Disable warning: 'identifier' : identifier was truncated to 'number' characters in the debug information
  8. //#pragma warning(disable:4786)
  9. //
  10. // C4290: C++ Exception Specification ignored
  11. //
  12. #pragma warning(disable:4290)
  13. //
  14. // C4511: copy constructor could not be generated
  15. //
  16. #pragma warning(disable:4511)
  17. //
  18. // Warning: ATL debugging turned off (BUG 250939)
  19. //
  20. // #ifdef _DEBUG
  21. // #define _ATL_DEBUG_INTERFACES
  22. // #define _ATL_DEBUG_QI
  23. // #define _ATL_DEBUG_REFCOUNT
  24. // #endif // _DEBUG
  25. #include <wtypes.h>
  26. #pragma warning( disable: 4201 ) // C4201: nonstandard extension used : nameless struct/union
  27. #include <winioctl.h>
  28. #pragma warning( default: 4201 ) // C4201: nonstandard extension used : nameless struct/union
  29. #include <winbase.h>
  30. #include <wchar.h>
  31. #include <string.h>
  32. #include <iostream.h>
  33. #include <fstream.h>
  34. #include <stdio.h>
  35. #include <process.h>
  36. #include <stdlib.h>
  37. #include <errno.h>
  38. // Enabling asserts in ATL and VSS
  39. #include "vs_assert.hxx"
  40. #include <oleauto.h>
  41. #include <stddef.h>
  42. #pragma warning( disable: 4127 ) // warning C4127: conditional expression is constant
  43. #include <atlconv.h>
  44. #include <atlbase.h>
  45. #include <sql.h>
  46. #include <sqlext.h>
  47. #include <sqltypes.h>
  48. #include <odbcss.h>
  49. #include "vs_inc.hxx"
  50. #include "sqlsnap.h"
  51. #include "sqlsnapi.h"
  52. #include <auto.h>
  53. #include "vssmsg.h"
  54. #endif