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.

35 lines
759 B

  1. //
  2. // thruputdlg.h: thruput dialog class
  3. // Network thruput debugging dialog
  4. //
  5. #ifndef _thruputdlg_h_
  6. #define _thruputdlg_h_
  7. #ifdef DC_DEBUG
  8. #include "dlgbase.h"
  9. #include "sh.h"
  10. class CThruPutDlg : public CDlgBase
  11. {
  12. public:
  13. CThruPutDlg(HWND hwndOwner, HINSTANCE hInst, DCINT thruPut);
  14. ~CThruPutDlg();
  15. virtual DCINT DoModal();
  16. virtual INT_PTR CALLBACK DialogBoxProc(HWND hwndDlg, UINT uMsg,WPARAM wParam, LPARAM lParam);
  17. static INT_PTR CALLBACK StaticDialogBoxProc(HWND hwndDlg, UINT uMsg,WPARAM wParam, LPARAM lParam);
  18. static CThruPutDlg* _pThruPutDlgInstance;
  19. DCINT GetNetThruPut() {return _thruPut;}
  20. private:
  21. DCINT _thruPut;
  22. };
  23. #endif //DC_DEBUG
  24. #endif //_thruputdlg_h_