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.

83 lines
2.4 KiB

  1. #if !defined(AFX_POOLCNTPAGE_H__9F8C2F3E_AFD2_11D2_98C8_00A0C9A26FFC__INCLUDED_)
  2. #define AFX_POOLCNTPAGE_H__9F8C2F3E_AFD2_11D2_98C8_00A0C9A26FFC__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PCntPage.hxx : header file
  7. //
  8. #include "verify.hxx"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CPoolCntPage dialog
  11. class CPoolCntPage : public CPropertyPage
  12. {
  13. DECLARE_DYNCREATE(CPoolCntPage)
  14. // Construction
  15. public:
  16. CPoolCntPage(); // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CPoolCntPage)
  19. enum { IDD = IDD_POOLTRACK_PAGE };
  20. CComboBox m_DrvNamesCombo;
  21. int m_nUpdateIntervalIndex;
  22. CString m_strCrtNPAlloc;
  23. CString m_strCrtNPBytes;
  24. CString m_strCrtPPAlloc;
  25. CString m_strCrtPPBytes;
  26. CString m_strPeakNPPAlloc;
  27. CString m_strPeakNPPBytes;
  28. CString m_strPeakPPAlloc;
  29. CString m_strPeakPPBytes;
  30. CString m_strUnTrackedAlloc;
  31. //}}AFX_DATA
  32. KRN_VERIFIER_STATE m_KrnVerifState; // current settings (obtained from MemMgmt)
  33. UINT_PTR m_uTimerHandler; // timer handler, returned by SetTimer()
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CPoolCntPage)
  37. public:
  38. virtual BOOL OnQueryCancel();
  39. virtual BOOL OnApply();
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. void OnRefreshTimerChanged();
  46. void GetCurrentSelDriverName(
  47. TCHAR *strCrtDriverName,
  48. int nBufferLength );
  49. void FillDriversNameCombo(
  50. TCHAR *strNameToSelect );
  51. // Generated message map functions
  52. //{{AFX_MSG(CPoolCntPage)
  53. virtual BOOL OnInitDialog();
  54. afx_msg void OnCountRefreshButton();
  55. afx_msg void OnTimer(UINT nIDEvent);
  56. afx_msg void OnCountHspeedRadio();
  57. afx_msg void OnCountLowRadio();
  58. afx_msg void OnCountManualRadio();
  59. afx_msg void OnCountNormRadio();
  60. afx_msg void OnDriversNameSelChanged();
  61. afx_msg LONG OnHelp( WPARAM wParam, LPARAM lParam );
  62. afx_msg LONG OnContextMenu( WPARAM wParam, LPARAM lParam );
  63. //}}AFX_MSG
  64. DECLARE_MESSAGE_MAP()
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_POOLCNTPAGE_H__9F8C2F3E_AFD2_11D2_98C8_00A0C9A26FFC__INCLUDED_)