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.

86 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Abstract:
  4. @doc
  5. @module SnapDlg.h | Header file for the snapshot dialog
  6. @end
  7. Author:
  8. Adi Oltean [aoltean] 01/25/2000
  9. Revision History:
  10. Name Date Comments
  11. aoltean 01/25/2000 Created
  12. --*/
  13. #if !defined(__VSS_SNAP_DLG_H__)
  14. #define __VSS_SNAP_DLG_H__
  15. #if _MSC_VER > 1000
  16. #pragma once
  17. #endif // _MSC_VER > 1000
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CSnapDlg dialog
  20. class CSnapDlg : public CVssTestGenericDlg
  21. {
  22. typedef enum _EMethodType {
  23. VSST_S_GET_SNAPSHOT,
  24. } EMethodType;
  25. // Construction
  26. public:
  27. CSnapDlg(
  28. IVssCoordinator *pICoord,
  29. CWnd* pParent = NULL);
  30. ~CSnapDlg();
  31. // Dialog Data
  32. //{{AFX_DATA(CSnapDlg)
  33. enum { IDD = IDD_SNAP };
  34. VSS_ID m_ID;
  35. VSS_ID m_SnapshotSetID;
  36. CString m_strSnapshotDeviceObject;
  37. CString m_strOriginalVolumeName;
  38. VSS_ID m_ProviderID;
  39. LONG m_lSnapshotAttributes;
  40. CString m_strCreationTimestamp;
  41. INT m_eStatus;
  42. //}}AFX_DATA
  43. // ClassWizard generated virtual function overrides
  44. //{{AFX_VIRTUAL(CSnapDlg)
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. //}}AFX_VIRTUAL
  48. protected:
  49. CComPtr<IVssCoordinator> m_pICoord;
  50. CComPtr<IVssSnapshot> m_pISnap;
  51. CComPtr<IVssEnumObject> m_pEnum;
  52. EMethodType m_eMethodType;
  53. // Generated message map functions
  54. //{{AFX_MSG(CSnapDlg)
  55. virtual BOOL OnInitDialog();
  56. afx_msg void OnNext();
  57. afx_msg void OnNextSnapshot();
  58. afx_msg void OnGetSnapshot();
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  64. #endif // !defined(__VSS_SNAP_DLG_H__)