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.

57 lines
1.6 KiB

  1. // ISAdmin.h : main header file for the ISADMIN application
  2. //
  3. #ifndef __AFXWIN_H__
  4. #error include 'stdafx.h' before including this file for PCH
  5. #endif
  6. #include "resource.h" // main symbols
  7. #include "afxcmn.h"
  8. #include "registry.h"
  9. #include "gensheet.h"
  10. #include "genpage.h"
  11. #include <inetinfo.h>
  12. // Registry defines
  13. #define REGISTRY_ACCESS_RIGHTS STANDARD_RIGHTS_REQUIRED | GENERIC_ALL
  14. #define COMMON_REGISTRY_MAINKEY "System\\CurrentControlSet\\Services\\InetInfo\\Parameters"
  15. #define FTP_REGISTRY_MAINKEY "System\\CurrentControlSet\\Services\\MSFTPSVC\\Parameters"
  16. #define GOPHER_REGISTRY_MAINKEY "System\\CurrentControlSet\\Services\\GOPHERSVC\\Parameters"
  17. #define WEB_REGISTRY_MAINKEY "System\\CurrentControlSet\\Services\\W3SVC\\Parameters"
  18. // Useful macros
  19. #define LESSOROF(p1,p2) ((p1) < (p2)) ? (p1) : (p2)
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CISAdminApp:
  22. // See ISAdmin.cpp for the implementation of this class
  23. //
  24. class CISAdminApp : public CWinApp
  25. {
  26. public:
  27. CISAdminApp();
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CISAdminApp)
  31. public:
  32. virtual BOOL InitInstance();
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. //{{AFX_MSG(CISAdminApp)
  36. afx_msg void OnAppAbout();
  37. // NOTE - the ClassWizard will add and remove member functions here.
  38. // DO NOT EDIT what you see in these blocks of generated code !
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. };
  42. /////////////////////////////////////////////////////////////////////////////
  43.