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.

90 lines
2.9 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. #ifndef _AFX_NO_AFXCMN_SUPPORT
  35. #include <afxcmn.h> // MFC support for Windows 95 Common Controls
  36. #endif // _AFX_NO_AFXCMN_SUPPORT
  37. // Need to include this for WM_COMMANDHELP. Unfortunately, both afxpriv.h and
  38. // atlconv.h define some of the same macros. Since we are using ATL, we'll use
  39. // the ATL versions.
  40. #define __AFXCONV_H__
  41. #include <afxpriv.h>
  42. #undef __AFXCONV_H__
  43. #undef DEVMODEW2A
  44. #undef DEVMODEA2W
  45. #undef TEXTMETRICW2A
  46. #undef TEXTMETRICA2W
  47. #include <atlbase.h>
  48. //You may derive a class from CComModule and use it if you want to override
  49. //something, but do not change the name of _Module
  50. extern CComModule _Module;
  51. #include <atlcom.h>
  52. #include <commctrl.h>
  53. #ifndef _CLUSTER_API_
  54. #include <clusapi.h> // for cluster definitions
  55. #endif
  56. #include <resapi.h>
  57. #ifndef _CLUSRTL_INCLUDED_
  58. #include "clusrtl.h"
  59. #endif
  60. #ifndef _CLUSUDEF_H_
  61. #include "clusudef.h"
  62. #endif
  63. #include <htmlhelp.h>
  64. #include <lmshare.h>
  65. #include <StrSafe.h>
  66. /////////////////////////////////////////////////////////////////////////////
  67. // Common Types
  68. /////////////////////////////////////////////////////////////////////////////
  69. typedef UINT IDS;
  70. typedef UINT IDD;