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.

68 lines
2.4 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. /////////////////////////////////////////////////////////////////////////////
  22. // Common Pragmas
  23. /////////////////////////////////////////////////////////////////////////////
  24. #pragma warning(disable : 4100) // unreferenced formal parameters
  25. #pragma warning(disable : 4702) // unreachable code
  26. #pragma warning(disable : 4711) // function selected for automatic inline expansion
  27. /////////////////////////////////////////////////////////////////////////////
  28. // Include Files
  29. /////////////////////////////////////////////////////////////////////////////
  30. #include <afxwin.h> // MFC core and standard components
  31. #include <afxext.h> // MFC extensions
  32. #include <afxdisp.h>
  33. #include <afxtempl.h>
  34. //#include <afxpriv.h> // used for OLE2T T2OLE conversions
  35. #ifndef _AFX_NO_AFXCMN_SUPPORT
  36. #include <afxcmn.h> // MFC support for Windows 95 Common Controls
  37. #endif // _AFX_NO_AFXCMN_SUPPORT
  38. #define __AFXCONV_H__
  39. #include <afxpriv.h>
  40. #undef __AFXCONV_H__
  41. #include <atlbase.h>
  42. //You may derive a class from CComModule and use it if you want to override
  43. //something, but do not change the name of _Module
  44. extern CComModule _Module;
  45. #include <atlcom.h>
  46. #ifndef _CLUSTER_API_
  47. #include <clusapi.h> // for cluster definitions
  48. #endif
  49. /////////////////////////////////////////////////////////////////////////////
  50. // Common Types
  51. /////////////////////////////////////////////////////////////////////////////
  52. typedef UINT IDS;
  53. typedef UINT IDD;
  54. typedef UINT IDC;