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.

98 lines
2.1 KiB

  1. // QueryStatus.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CQueryStatus dialog
  5. #ifndef __QSTATUS_H__
  6. #define __QSTATUS_H__
  7. class CQueryStatus : public CDialog
  8. {
  9. // Construction
  10. public:
  11. CQueryStatus(CWnd* pParent = NULL); // standard constructor
  12. // Dialog Data
  13. //{{AFX_DATA(CQueryStatus)
  14. enum { IDD = IDD_QUERYSTATUS };
  15. //}}AFX_DATA
  16. public:
  17. void SetAbortFlag ( BOOL* );
  18. void IncrementType ( DWORD, BOOL );
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CQueryStatus)
  22. protected:
  23. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. protected:
  27. // Generated message map functions
  28. //{{AFX_MSG(CQueryStatus)
  29. virtual BOOL OnInitDialog();
  30. afx_msg void OnStop();
  31. //}}AFX_MSG
  32. DECLARE_MESSAGE_MAP()
  33. protected:
  34. void DisplayStatistics( );
  35. protected:
  36. int m_nUser;
  37. int m_nGroup;
  38. int m_nComputer;
  39. int m_nService;
  40. int m_nFileService;
  41. int m_nPrintQueue;
  42. int m_nToDisplay;
  43. int m_nOtherObjects;
  44. BOOL* m_pbAbort;
  45. };
  46. /////////////////////////////////////////////////////////////////////////////
  47. // CDeleteStatus dialog
  48. class CDeleteStatus : public CDialog
  49. {
  50. // Construction
  51. public:
  52. CDeleteStatus(CWnd* pParent = NULL); // standard constructor
  53. // Dialog Data
  54. //{{AFX_DATA(CDeleteStatus)
  55. enum { IDD = IDD_DELETESTATUS };
  56. // NOTE: the ClassWizard will add data members here
  57. //}}AFX_DATA
  58. // Overrides
  59. // ClassWizard generated virtual function overrides
  60. //{{AFX_VIRTUAL(CDeleteStatus)
  61. protected:
  62. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  63. //}}AFX_VIRTUAL
  64. public:
  65. void SetAbortFlag ( BOOL* );
  66. void SetCurrentObjectText ( TCHAR* );
  67. void SetStatusText ( TCHAR* );
  68. // Implementation
  69. protected:
  70. // Generated message map functions
  71. //{{AFX_MSG(CDeleteStatus)
  72. afx_msg void OnStop();
  73. //}}AFX_MSG
  74. DECLARE_MESSAGE_MAP()
  75. protected:
  76. BOOL* m_pbAbort;
  77. };
  78. #endif