afxv_w32.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10. // afxv_w32.h - target version/configuration control for Win32
  11. #ifdef _WINDOWS_
  12. #error WINDOWS.H already included. MFC apps must not #include <windows.h>
  13. #endif
  14. // STRICT is the only supported option (NOSTRICT is no longer supported)
  15. #ifndef STRICT
  16. #define STRICT 1
  17. #endif
  18. #ifndef WIN32
  19. #define WIN32
  20. #endif
  21. #ifndef WIN32_LEAN_AND_MEAN
  22. #define WIN32_LEAN_AND_MEAN
  23. #endif
  24. #define WIN32_EXTRA_LEAN
  25. #define NOSERVICE
  26. #define NOMCX
  27. #define NOIME
  28. #define NOSOUND
  29. #define NOCOMM
  30. #define NOKANJI
  31. #define NORPC
  32. #define NOPROXYSTUB
  33. #define NOIMAGE
  34. #define NOTAPE
  35. /////////////////////////////////////////////////////////////////////////////
  36. // Turn off warnings for /W4
  37. // To resume any of these warning: #pragma warning(default: 4xxx)
  38. // which should be placed after the AFX include files
  39. #ifndef ALL_WARNINGS
  40. #pragma warning(disable: 4201) // winnt.h uses nameless structs
  41. #endif
  42. #include <windows.h>
  43. /////////////////////////////////////////////////////////////////////////////