www.pudn.com > BAV.v2.rar > Engine.h, change:2005-07-11,size:769b
#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();
};