ShaDuPage.h
上传用户:shouhua
上传日期:2014-12-06
资源大小:5685k
文件大小:2k
源码类别:

杀毒

开发平台:

Visual C++

  1. #if !defined(AFX_SHADUPAGE_H__429482D2_1C88_4DF1_BF5E_E89F508DF874__INCLUDED_)
  2. #define AFX_SHADUPAGE_H__429482D2_1C88_4DF1_BF5E_E89F508DF874__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ShaDuPage.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CShaDuPage dialog
  10. #include "pefile.h"
  11. #include "MyList.h"
  12. struct threadInfo
  13. {
  14. CPEFile *m_file;
  15. MyList* m_MyChaDu;
  16. CString   m_Dir;
  17. };
  18. UINT ThreadFunc(LPVOID lpParam);
  19. class CShaDuPage : public CPropertyPage
  20. {
  21. DECLARE_DYNCREATE(CShaDuPage)
  22. // Construction
  23. public:
  24. BOOL IsMonitor;
  25. void ExaminaU();
  26. void SetHandle(HANDLE handle);
  27. BOOL IsChaDu;
  28. HANDLE  hDevice;
  29. void ShaDu(CString dir);
  30. CShaDuPage();
  31. ~CShaDuPage();
  32.     CPEFile *m_pe_file;
  33. // Dialog Data
  34. //{{AFX_DATA(CShaDuPage)
  35. enum { IDD = IDD_DIALOG_CHADU };
  36. MyList m_ChaDu;
  37. CButton m_Check2;
  38. CButton m_Check1;
  39. CButton m_Choose;
  40. CButton m_Check3;
  41. int m_Radio;
  42. BOOL m_1;
  43. BOOL m_2;
  44. BOOL m_3;
  45. BOOL m_4;
  46. BOOL m_5;
  47. BOOL m_6;
  48. BOOL m_7;
  49. BOOL m_8;
  50. BOOL m_9;
  51. //}}AFX_DATA
  52. // Overrides
  53. // ClassWizard generate virtual function overrides
  54. //{{AFX_VIRTUAL(CShaDuPage)
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  57. //}}AFX_VIRTUAL
  58. // Implementation
  59. protected:
  60. CWinThread* pThread;
  61. // Generated message map functions
  62. //{{AFX_MSG(CShaDuPage)
  63. virtual BOOL OnInitDialog();
  64. afx_msg void OnButtonChoose();
  65. afx_msg void OnButtonStart();
  66. afx_msg void OnPaint();
  67. afx_msg void OnRadio1();
  68. afx_msg void OnRadio2();
  69. afx_msg void OnRadio3();
  70. afx_msg void OnButtonU();
  71. afx_msg void OnButtonDef();
  72. //afx_msg BOOL OnDeviceChange(UINT,DWORD);
  73. //}}AFX_MSG
  74. DECLARE_MESSAGE_MAP()
  75. private:
  76. CImageList  *m_pImage;
  77. };
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  80. #endif // !defined(AFX_SHADUPAGE_H__429482D2_1C88_4DF1_BF5E_E89F508DF874__INCLUDED_)