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.

88 lines
2.5 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1998.
  5. //
  6. // File: Tracking.h
  7. //
  8. // Contents: tracking settings property page
  9. //
  10. // Classes: CTracking
  11. //
  12. // History: 03-14-1998 stevebl Commented
  13. //
  14. //---------------------------------------------------------------------------
  15. #if !defined(AFX_TRACKING_H__E95370C0_ADF8_11D1_A763_00C04FB9603F__INCLUDED_)
  16. #define AFX_TRACKING_H__E95370C0_ADF8_11D1_A763_00C04FB9603F__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. #include <afxcmn.h>
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CTracking dialog
  23. class CTracking : public CPropertyPage
  24. {
  25. DECLARE_DYNCREATE(CTracking)
  26. // Construction
  27. public:
  28. CTracking();
  29. ~CTracking();
  30. // Dialog Data
  31. //{{AFX_DATA(CTracking)
  32. enum { IDD = IDD_UNINSTALLTRACKING };
  33. CSpinButtonCtrl m_spin;
  34. //}}AFX_DATA
  35. TOOL_DEFAULTS * m_pToolDefaults;
  36. LONG_PTR m_hConsoleHandle;
  37. MMC_COOKIE m_cookie;
  38. IClassAdmin * m_pIClassAdmin;
  39. CTracking ** m_ppThis;
  40. // Overrides
  41. // ClassWizard generate virtual function overrides
  42. //{{AFX_VIRTUAL(CTracking)
  43. public:
  44. virtual BOOL OnApply();
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  48. //}}AFX_VIRTUAL
  49. // Implementation
  50. protected:
  51. // Generated message map functions
  52. //{{AFX_MSG(CTracking)
  53. afx_msg void OnCleanUpNow();
  54. virtual BOOL OnInitDialog();
  55. afx_msg void OnDeltaposSpin1(NMHDR* pNMHDR, LRESULT* pResult);
  56. afx_msg void OnChangeEdit1();
  57. afx_msg void OnKillfocusEdit1();
  58. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. // The number of FILETIME values that equals a single day, used to compute
  63. // value to send to IClassAdmin->CleanUp.
  64. // Each FILETIME value (or tick) is 100 nano-seconds.
  65. // 0.01 tics/nano-seconds
  66. // * 1,000,000,000 nano-seconds/sec
  67. // * 60 sec/min
  68. // * 60 min/hour
  69. // * 24 hour/day
  70. // = 864,000,000,000 ticks/day
  71. #define ONE_FILETIME_DAY 864000000000
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  74. #endif // !defined(AFX_TRACKING_H__E95370C0_ADF8_11D1_A763_00C04FB9603F__INCLUDED_)