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.

81 lines
2.2 KiB

  1. // SetPage.h : header file
  2. //
  3. #include "resource.h" // main symbols
  4. #include "common.h"
  5. #include "pdlcnfig.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CSettingsPropPage dialog
  8. class CSettingsPropPage : public CPropertyPage
  9. {
  10. DECLARE_DYNCREATE(CSettingsPropPage)
  11. // Construction
  12. public:
  13. CSettingsPropPage();
  14. ~CSettingsPropPage();
  15. // Dialog Data
  16. //{{AFX_DATA(CSettingsPropPage)
  17. enum { IDD = IDD_SETTINGS_PAGE };
  18. DWORD m_IntervalTime;
  19. CString m_SettingsFile;
  20. int m_IntervalUnitsIndex;
  21. //}}AFX_DATA
  22. LPTSTR m_szCounterListBuffer;
  23. DWORD m_dwCounterListBufferSize;
  24. DWORD m_dwMaxHorizListExtent;
  25. BOOL m_lCounterListHasStars;
  26. LONG GetCounterListStarInfo (void);
  27. // TEMPORARY Variables until service is completed
  28. BOOL bServiceStopped;
  29. BOOL bServicePaused;
  30. // Overrides
  31. // ClassWizard generate virtual function overrides
  32. //{{AFX_VIRTUAL(CSettingsPropPage)
  33. public:
  34. virtual void OnCancel();
  35. virtual void OnOK();
  36. virtual BOOL OnQueryCancel();
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX);
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(CSettingsPropPage)
  44. virtual BOOL OnInitDialog();
  45. afx_msg void OnBrowseCounters();
  46. afx_msg void OnManPause();
  47. afx_msg void OnManResume();
  48. afx_msg void OnManStart();
  49. afx_msg void OnManStop();
  50. afx_msg void OnRemove();
  51. afx_msg void OnServiceAuto();
  52. afx_msg void OnServiceMan();
  53. afx_msg void OnDeltaposIntervalSpin(NMHDR* pNMHDR, LRESULT* pResult);
  54. afx_msg void OnSelchangeIntervalUnits();
  55. afx_msg void OnRemoveService();
  56. afx_msg void OnChangeIntervalTime();
  57. //}}AFX_MSG
  58. afx_msg LRESULT OnQuerySiblings (WPARAM wParam, LPARAM lParam);
  59. DECLARE_MESSAGE_MAP()
  60. void InitDialogData(void);
  61. LONG SyncServiceStartWithButtons(void);
  62. void UpdateManualButtonsState(void);
  63. HKEY m_hKeyLogService;
  64. HKEY m_hKeyLogSettingsDefault;
  65. BOOL m_bInitialized;
  66. LONG GetCurrentServiceState (BOOL *, BOOL *);
  67. LONG SetCurrentServiceState (DWORD);
  68. };
  69. 
  70.