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.

63 lines
2.2 KiB

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. //
  5. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  6. #ifndef _UNICODE
  7. #define _UNICODE // Microsoft Windows NT Cluster Administrator
  8. // Extension DLLs need to be Unicode
  9. // applications.
  10. #endif
  11. // Choose which threading model you want by commenting or uncommenting
  12. // the proper constant definition. If you want multi-threading
  13. // (i.e. "both"), comment both definitions out. Also change the
  14. // THREADFLAGS_xxx set in the DECLARE_REGISTRY macro invokation in ExtObj.h
  15. //#define _ATL_SINGLE_THREADED
  16. #define _ATL_APARTMENT_THREADED
  17. // Link against the Microsoft Windows NT Cluster API library.
  18. #pragma comment(lib, "clusapi.lib")
  19. // Link against the Cluster Administrator Extensions library.
  20. #pragma comment(lib, "cluadmex.lib")
  21. // Link against Resource Utilities library.
  22. #pragma comment(lib, "resutils.lib")
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Common Pragmas
  25. /////////////////////////////////////////////////////////////////////////////
  26. #pragma warning(disable : 4100) // unreferenced formal parameters
  27. #pragma warning(disable : 4702) // unreachable code
  28. #pragma warning(disable : 4711) // function selected for automatic inline expansion
  29. /////////////////////////////////////////////////////////////////////////////
  30. // Include Files
  31. /////////////////////////////////////////////////////////////////////////////
  32. #include <afxwin.h> // MFC core and standard components
  33. #include <afxext.h> // MFC extensions
  34. #include <afxdisp.h>
  35. #include <afxtempl.h>
  36. #ifndef _AFX_NO_AFXCMN_SUPPORT
  37. #include <afxcmn.h> // MFC support for Windows 95 Common Controls
  38. #endif // _AFX_NO_AFXCMN_SUPPORT
  39. #include <atlbase.h>
  40. //You may derive a class from CComModule and use it if you want to override
  41. //something, but do not change the name of _Module
  42. extern CComModule _Module;
  43. #include <atlcom.h>
  44. #include <clusapi.h>
  45. /////////////////////////////////////////////////////////////////////////////
  46. // Common Types
  47. /////////////////////////////////////////////////////////////////////////////
  48. typedef UINT IDS;
  49. typedef UINT IDD;