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.

72 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, "uuid.lib" )
  21. // Link against Resource Utilities library.
  22. #pragma comment( lib, "resutils.lib" )
  23. // Link against String Safe library.
  24. #pragma comment( lib, "strsafe.lib" )
  25. /////////////////////////////////////////////////////////////////////////////
  26. // Common Pragmas
  27. /////////////////////////////////////////////////////////////////////////////
  28. /////////////////////////////////////////////////////////////////////////////
  29. // Include Files
  30. /////////////////////////////////////////////////////////////////////////////
  31. #include <afxwin.h> // MFC core and standard components
  32. #include <afxext.h> // MFC extensions
  33. #include <afxdisp.h>
  34. #include <afxtempl.h>
  35. #ifndef _AFX_NO_AFXCMN_SUPPORT
  36. #include <afxcmn.h> // MFC support for Windows 95 Common Controls
  37. #endif // _AFX_NO_AFXCMN_SUPPORT
  38. // Need to include this for WM_COMMANDHELP. Unfortunately, both afxpriv.h and
  39. // atlconv.h define some of the same macros. Since we are using ATL, we'll use
  40. // the ATL versions.
  41. #define __AFXCONV_H__
  42. #include <afxpriv.h>
  43. #undef __AFXCONV_H__
  44. #include <atlbase.h>
  45. //You may derive a class from CComModule and use it if you want to override
  46. //something, but do not change the name of _Module
  47. extern CComModule _Module;
  48. #include <atlcom.h>
  49. #include <clusapi.h>
  50. #include <resapi.h>
  51. #include <strsafe.h>
  52. #include "clstrcmp.h"
  53. /////////////////////////////////////////////////////////////////////////////
  54. // Common Types
  55. /////////////////////////////////////////////////////////////////////////////
  56. typedef UINT IDS;
  57. typedef UINT IDD;