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.

65 lines
1.9 KiB

  1. #if !defined(AFX_HOSTING_H__0B0CBFCC_5235_439E_9482_385B52D23C6E__INCLUDED_)
  2. #define AFX_HOSTING_H__0B0CBFCC_5235_439E_9482_385B52D23C6E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Hosting.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CHosting dialog
  10. class CHosting : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CHosting(CWnd* pParent = NULL); // standard constructor
  15. CHosting(LPCTSTR pszComputer, LPCTSTR pszVolume, CWnd* pParent = NULL);
  16. // Dialog Data
  17. //{{AFX_DATA(CHosting)
  18. enum { IDD = IDD_HOSTING };
  19. CEdit m_ctrlFreeSpace;
  20. CEdit m_ctrlTotalSpace;
  21. CListCtrl m_ctrlVolumeList;
  22. CString m_strVolume;
  23. //}}AFX_DATA
  24. // Overrides
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CHosting)
  27. protected:
  28. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. public:
  32. HRESULT Init(
  33. IVssDifferentialSoftwareSnapshotMgmt* i_piDiffSnapMgmt,
  34. VSSUI_VOLUME_LIST* i_pVolumeList,
  35. IN LPCTSTR i_pszVolumeDisplayName,
  36. IN ULONGLONG i_llDiffVolumeTotalSpace,
  37. IN ULONGLONG i_llDiffVolumeFreeSpace
  38. );
  39. protected:
  40. CString m_strComputer;
  41. ULONGLONG m_llDiffVolumeTotalSpace;
  42. ULONGLONG m_llDiffVolumeFreeSpace;
  43. VSSUI_DIFFAREA_LIST m_DiffAreaList;
  44. // Generated message map functions
  45. //{{AFX_MSG(CHosting)
  46. virtual BOOL OnInitDialog();
  47. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  48. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_HOSTING_H__0B0CBFCC_5235_439E_9482_385B52D23C6E__INCLUDED_)