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.
 
 
 
 
 
 

92 lines
2.8 KiB

#if !defined(AFX_HOSTED_H__46C0FDC0_6E97_40CF_807A_91051E61BB1F__INCLUDED_)
#define AFX_HOSTED_H__46C0FDC0_6E97_40CF_807A_91051E61BB1F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Settings.h : header file
//
#include "vssprop.h" // VSSUI_VOLUME_LIST
/////////////////////////////////////////////////////////////////////////////
// CSettings dialog
class CSettings : public CDialog
{
// Construction
public:
CSettings(CWnd* pParent = NULL); // standard constructor
CSettings(LPCTSTR pszComputer, LPCTSTR pszVolume, CWnd* pParent = NULL);
~CSettings();
// Dialog Data
//{{AFX_DATA(CSettings)
enum { IDD = IDD_SETTINGS };
CStatic m_ctrlStorageVolumeStatic;
CEdit m_ctrlDiffLimits;
CSpinButtonCtrl m_ctrlSpin;
CComboBox m_ctrlStorageVolume;
CString m_strVolume;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSettings)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
void _ResetInterfacePointers();
HRESULT Init(
IVssDifferentialSoftwareSnapshotMgmt *piDiffSnapMgmt,
IN ITaskScheduler* piTS,
IN BOOL bCluster,
IN VSSUI_VOLUME_LIST* pVolumeList,
IN BOOL bReadOnlyDiffVolume
);
HRESULT NotifyClusterTaskSchedulerResource(
IN ITaskScheduler* i_piTS,
IN LPCTSTR i_pszVolumeName
);
protected:
CString m_strComputer;
CComPtr<IVssDifferentialSoftwareSnapshotMgmt> m_spiDiffSnapMgmt;
CComPtr<ITaskScheduler> m_spiTS;
BOOL m_bCluster;
VSSUI_VOLUME_LIST* m_pVolumeList;
CString m_strDiffVolumeDisplayName;
ULONGLONG m_llMaximumDiffSpace;
ULONGLONG m_llDiffLimitsInMB;
BOOL m_bHasDiffAreaAssociation;
BOOL m_bReadOnlyDiffVolume;
ULONGLONG m_llDiffVolumeTotalSpace;
ULONGLONG m_llDiffVolumeFreeSpace;
CComPtr<ITask> m_spiTask;
PTSTR m_pszTaskName;
// Generated message map functions
//{{AFX_MSG(CSettings)
virtual void OnOK();
virtual void OnCancel();
virtual BOOL OnInitDialog();
afx_msg void OnViewFiles();
afx_msg void OnSchedule();
afx_msg void OnSelchangeDiffVolume();
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
afx_msg void OnLimits();
afx_msg void OnDeltaposSettingsSpin(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HOSTED_H__46C0FDC0_6E97_40CF_807A_91051E61BB1F__INCLUDED_)