Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

441 lines
7.4 KiB

/*++
Copyright (c) 1994-1998 Microsoft Corporation
Module Name :
wizard.h
Abstract:
WWW Wizards pages definitions
Author:
Ronald Meijer (ronaldm)
Project:
Internet Services Manager
Revision History:
--*/
#ifndef __WWW_WIZ_H__
#define __WWW_WIZ_H__
class CIISWebWizSettings : public CObjectPlus
/*++
Class Description:
Web Wizard settings intended to pass along from page
to page
--*/
{
//
// Constructor/Destructor
//
public:
CIISWebWizSettings(
IN HANDLE hServer,
IN LPCTSTR lpszService,
IN DWORD dwInstance = MASTER_INSTANCE,
IN LPCTSTR lpszParent = NULL
);
//
// Public Properties
//
public:
BOOL m_fLocal;
BOOL m_fUNC;
BOOL m_fRead;
BOOL m_fWrite;
BOOL m_fAllowAnonymous;
BOOL m_fDirBrowsing;
BOOL m_fScript;
BOOL m_fExecute;
DWORD m_dwInstance;
CString m_strService;
CString m_strParent;
CString m_strServerName;
CString m_strDescription;
CString m_strBinding;
CString m_strSecureBinding;
CString m_strAlias;
CString m_strPath;
CString m_strUserName;
CString m_strPassword;
HRESULT m_hrResult;
CMetaKey * m_pKey;
};
//
// New Virtual Server Wizard Description Page
//
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
class CVDWPDescription : public CIISWizardPage
{
DECLARE_DYNCREATE(CVDWPDescription)
//
// Construction
//
public:
CVDWPDescription(CIISWebWizSettings * pwsSettings = NULL);
~CVDWPDescription();
//
// Dialog Data
//
protected:
//{{AFX_DATA(CVDWPDescription)
enum { IDD = IDD_NEW_INST_DESCRIPTION };
CEdit m_edit_Description;
//}}AFX_DATA
//
// Overrides
//
protected:
//{{AFX_VIRTUAL(CVDWPDescription)
public:
virtual BOOL OnSetActive();
virtual LRESULT OnWizardNext();
protected:
virtual void DoDataExchange(CDataExchange * pDX);
//}}AFX_VIRTUAL
//
// Implementation
//
protected:
//{{AFX_MSG(CVDWPDescription)
afx_msg void OnChangeEditDescription();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void SetControlStates();
private:
CIISWebWizSettings * m_pwsSettings;
};
//
// New Virtual Server Wizard Bindings Page
//
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
class CVDWPBindings : public CIISWizardPage
{
DECLARE_DYNCREATE(CVDWPBindings)
//
// Construction
//
public:
CVDWPBindings(
IN CIISWebWizSettings * pwsSettings = NULL,
IN DWORD dwInstance = MASTER_INSTANCE
);
~CVDWPBindings();
//
// Dialog Data
//
protected:
//{{AFX_DATA(CVDWPBindings)
enum { IDD = IDD_NEW_INST_BINDINGS };
int m_nIpAddressSel;
UINT m_nTCPPort;
UINT m_nSSLPort;
CString m_strDomainName;
CComboBox m_combo_IpAddresses;
//}}AFX_DATA
BOOL m_fCertInstalled;
CIPAddress m_iaIpAddress;
CObListPlus m_oblIpAddresses;
//
// Overrides
//
protected:
//{{AFX_VIRTUAL(CVDWPBindings)
public:
virtual BOOL OnSetActive();
protected:
virtual void DoDataExchange(CDataExchange * pDX);
//}}AFX_VIRTUAL
//
// Implementation
//
protected:
//{{AFX_MSG(CVDWPBindings)
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void SetControlStates();
private:
DWORD m_dwInstance;
CIISWebWizSettings * m_pwsSettings;
};
//
// New Virtual Directory Wizard Alias Page
//
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
class CVDWPAlias : public CIISWizardPage
{
DECLARE_DYNCREATE(CVDWPAlias)
//
// Construction
//
public:
CVDWPAlias(CIISWebWizSettings * pwsSettings = NULL);
~CVDWPAlias();
//
// Dialog Data
//
protected:
//{{AFX_DATA(CVDWPAlias)
enum { IDD = IDD_NEW_DIR_ALIAS };
CEdit m_edit_Alias;
//}}AFX_DATA
//
// Overrides
//
protected:
//{{AFX_VIRTUAL(CVDWPAlias)
public:
virtual BOOL OnSetActive();
virtual LRESULT OnWizardNext();
protected:
virtual void DoDataExchange(CDataExchange * pDX);
//}}AFX_VIRTUAL
//
// Implementation
//
protected:
//{{AFX_MSG(CVDWPAlias)
afx_msg void OnChangeEditAlias();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void SetControlStates();
private:
CIISWebWizSettings * m_pwsSettings;
};
//
// Wizard Path Page
//
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
class CVDWPPath : public CIISWizardPage
{
DECLARE_DYNCREATE(CVDWPPath)
//
// Construction
//
public:
CVDWPPath(
IN CIISWebWizSettings * pwsSettings = NULL,
IN BOOL bVDir = TRUE
);
~CVDWPPath();
//
// Dialog Data
//
protected:
//{{AFX_DATA(CVDWPPath)
enum { IDD = -1 };
CButton m_button_Browse;
CEdit m_edit_Path;
//}}AFX_DATA
//
// Overrides
//
protected:
//{{AFX_VIRTUAL(CVDWPPath)
public:
virtual BOOL OnSetActive();
virtual LRESULT OnWizardNext();
protected:
virtual void DoDataExchange(CDataExchange * pDX);
//}}AFX_VIRTUAL
//
// Implementation
//
protected:
//{{AFX_MSG(CVDWPPath)
afx_msg void OnChangeEditPath();
afx_msg void OnButtonBrowse();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void SetControlStates();
private:
CIISWebWizSettings * m_pwsSettings;
};
//
// Wizard User/Password Page
//
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
class CVDWPUserName : public CIISWizardPage
{
DECLARE_DYNCREATE(CVDWPUserName)
//
// Construction
//
public:
CVDWPUserName(
IN CIISWebWizSettings * pwsSettings = NULL,
IN BOOL bVDir = TRUE
);
~CVDWPUserName();
//
// Dialog Data
//
protected:
//{{AFX_DATA(CVDWPUserName)
enum { IDD = IDD_NEW_USER_PASSWORD };
CEdit m_edit_Password;
CEdit m_edit_UserName;
//}}AFX_DATA
//
// Overrides
//
protected:
//{{AFX_VIRTUAL(CVDWPUserName)
public:
virtual BOOL OnSetActive();
virtual LRESULT OnWizardNext();
protected:
virtual void DoDataExchange(CDataExchange * pDX);
//}}AFX_VIRTUAL
//
// Implementation
//
protected:
//{{AFX_MSG(CVDWPUserName)
afx_msg void OnButtonBrowseUsers();
afx_msg void OnChangeEditUsername();
afx_msg void OnButtonCheckPassword();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void SetControlStates();
private:
CIISWebWizSettings * m_pwsSettings;
};
//
// Wizard Permissions Page
//
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
class CVDWPPermissions : public CIISWizardPage
{
DECLARE_DYNCREATE(CVDWPPermissions)
//
// Construction
//
public:
CVDWPPermissions(
IN CIISWebWizSettings * pwsSettings = NULL,
IN BOOL bVDir = TRUE
);
~CVDWPPermissions();
//
// Dialog Data
//
protected:
//{{AFX_DATA(CVDWPPermissions)
enum { IDD = IDD_NEW_PERMS };
//}}AFX_DATA
//
// Overrides
//
protected:
//{{AFX_VIRTUAL(CVDWPPermissions)
public:
virtual BOOL OnSetActive();
virtual LRESULT OnWizardNext();
protected:
virtual void DoDataExchange(CDataExchange * pDX);
//}}AFX_VIRTUAL
//
// Implementation
//
protected:
//{{AFX_MSG(CVDWPPermissions)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void SetControlStates();
private:
BOOL m_bVDir;
CIISWebWizSettings * m_pwsSettings;
};
#endif // __WWW_WIZ_H__