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.

69 lines
2.6 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. // Need to include this for WM_COMMANDHELP. Unfortunately, both afxpriv.h and
  40. // atlconv.h define some of the same macros. Since we are using ATL, we'll use
  41. // the ATL versions.
  42. #define __AFXCONV_H__
  43. #include <afxpriv.h>
  44. #undef __AFXCONV_H__
  45. #include <atlbase.h>
  46. //You may derive a class from CComModule and use it if you want to override
  47. //something, but do not change the name of _Module
  48. extern CComModule _Module;
  49. #include <atlcom.h>
  50. #include <clusapi.h>
  51. /////////////////////////////////////////////////////////////////////////////
  52. // Common Types
  53. /////////////////////////////////////////////////////////////////////////////
  54. typedef UINT IDS;
  55. typedef UINT IDD;