Engine.h
资源名称:BAV.v2.rar [点击查看]
上传用户:chaoyu
上传日期:2013-04-28
资源大小:18k
文件大小:1k
源码类别:
杀毒
开发平台:
Visual C++
- #pragma once
- #include "VirusDB.h" #include "define.h"
- //////////////////////////////////////////////////////////////////////////
- class CVirusDB;
- class CEngine
- {
- protected:
- CVirusDB *m_pcVDB;
- DWORD m_dwObjCount;
- PSCAN_PARAM m_pScanParam;
- SCAN_RESULTS m_cScanResults;
- void DFS(PCTSTR pszPathName);
- bool ScanOneObject(PCTSTR pszObjectName);
- public:
- CEngine(void);
- ~CEngine(void);
- bool Load(IN CVirusDB* pVDB);
- bool Release();
- // Return Value:
- // If the function succeeds, the return value is PSCAN_RESULTS.
- // The results will available until next Scan() or call ReleaseResaults().
- // If the function fails, the return value is NULL.
- PSCAN_RESULTS Scan(IN const PSCAN_PARAM pScanParam);
- void ReleaseResults();
- };