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.

51 lines
1.1 KiB

  1. // SrvActD.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CServActionDlg dialog
  5. class CServActionDlg : public CDialog
  6. {
  7. // Construction
  8. public:
  9. CServActionDlg(CWnd* pParent = NULL); // standard constructor
  10. virtual BOOL OnInitDialog();
  11. // void DoTheAction();
  12. // send the command to the server
  13. BOOL SendCommand();
  14. // how it knows what to do...
  15. DWORD m_ActionToDo;
  16. DWORD m_ExpectedResult;
  17. // Dialog Data
  18. //{{AFX_DATA(CServActionDlg)
  19. enum { IDD = IDD_SERV_ACTION };
  20. CAnimateCtrl m_canimate;
  21. CString m_sz_action;
  22. //}}AFX_DATA
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CServActionDlg)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. // Generated message map functions
  32. //{{AFX_MSG(CServActionDlg)
  33. afx_msg void OnTimer(UINT nIDEvent);
  34. //}}AFX_MSG
  35. DECLARE_MESSAGE_MAP()
  36. // check the response from the server
  37. void CheckResponse();
  38. // time the stop waiting
  39. DWORD m_tmTimeout;
  40. };