-
Notifications
You must be signed in to change notification settings - Fork 1
/
AntiVirusDlg.h
74 lines (65 loc) · 2.01 KB
/
AntiVirusDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// AntiVirusDlg.h : header file
//
#if !defined(AFX_ANTIVIRUSDLG_H__60472FAD_9AFD_4334_8D43_913500FF57FD__INCLUDED_)
#define AFX_ANTIVIRUSDLG_H__60472FAD_9AFD_4334_8D43_913500FF57FD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <io.h>
#include <fstream.h>
#define error -1
#define ok 1
#define novirus 4
#define rdonly 2
#define dleted 3
/////////////////////////////////////////////////////////////////////////////
// CAntiVirusDlg dialog
class CAntiVirusDlg : public CDialog
{
// Construction
public:
CAntiVirusDlg(CWnd* pParent = NULL); // standard constructor
static void GetEFName(const char * ename);
void Update(int retval);
int Repair(_finddata_t f);
void SearchDirectory();
void ScanReport();
// Dialog Data
//{{AFX_DATA(CAntiVirusDlg)
enum { IDD = IDD_ANTIVIRUS_DIALOG };
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAntiVirusDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
char *virdata;
CWinThread* m_pthread;
void InitDialog();
void ScanDll();
int Del(_finddata_t fb);
BOOL Init(UINT uIDRMap);
// Generated message map functions
//{{AFX_MSG(CAntiVirusDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBrowse();
afx_msg void OnAbout();
afx_msg void OnDblclkListReport();
virtual void OnCancel();
virtual void OnOK();
afx_msg void OnChangeEditPath();
afx_msg void OnDestroy();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ANTIVIRUSDLG_H__60472FAD_9AFD_4334_8D43_913500FF57FD__INCLUDED_)