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.3 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. #pragma once
  6. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  7. #ifndef _UNICODE
  8. #define _UNICODE // Microsoft Windows NT Cluster Administrator
  9. // Extension DLLs need to be Unicode
  10. // applications.
  11. #endif
  12. // Choose which threading model you want by commenting or uncommenting
  13. // the proper constant definition. If you want multi-threading
  14. // (i.e. "both"), comment both definitions out. Also change the
  15. // THREADFLAGS_xxx set in the DECLARE_REGISTRY macro invokation in ExtObj.h
  16. //#define _ATL_SINGLE_THREADED
  17. #define _ATL_APARTMENT_THREADED
  18. // Link against the Microsoft Windows NT Cluster API library.
  19. #pragma comment(lib, "clusapi.lib")
  20. // Link against the Cluster Administrator Extensions library.
  21. #pragma comment(lib, "cluadmex.lib")
  22. /////////////////////////////////////////////////////////////////////////////
  23. // Include Files
  24. /////////////////////////////////////////////////////////////////////////////
  25. #include <afxwin.h> // MFC core and standard components
  26. #include <afxext.h> // MFC extensions
  27. #include <afxdisp.h>
  28. #include <afxtempl.h>
  29. #ifndef _AFX_NO_AFXCMN_SUPPORT
  30. #include <afxcmn.h> // MFC support for Windows 95 Common Controls
  31. #endif // _AFX_NO_AFXCMN_SUPPORT
  32. // Need to include this for WM_COMMANDHELP. Unfortunately, both afxpriv.h and
  33. // atlconv.h define some of the same macros. Since we are using ATL, we'll use
  34. // the ATL versions.
  35. #define __AFXCONV_H__
  36. #include <afxpriv.h>
  37. #undef __AFXCONV_H__
  38. #undef DEVMODEW2A
  39. #undef DEVMODEA2W
  40. #undef TEXTMETRICW2A
  41. #undef TEXTMETRICA2W
  42. #include <atlbase.h>
  43. //You may derive a class from CComModule and use it if you want to override
  44. //something, but do not change the name of _Module
  45. extern CComModule _Module;
  46. #include <atlcom.h>
  47. #include <StrSafe.h>
  48. #ifndef _CLUSTER_API_
  49. #include <clusapi.h>
  50. #endif
  51. /////////////////////////////////////////////////////////////////////////////
  52. // Common Types
  53. /////////////////////////////////////////////////////////////////////////////
  54. typedef UINT IDS;
  55. typedef UINT IDD;