ScanObject.h
资源名称:BAV.v2.rar [点击查看]
上传用户:chaoyu
上传日期:2013-04-28
资源大小:18k
文件大小:1k
源码类别:
杀毒
开发平台:
Visual C++
- #pragma once
- class CScanObject
- {
- protected:
- BAV_OBJ_TYPE m_eObjType;
- public:
- CScanObject(void);
- ~CScanObject(void);
- BAV_OBJ_TYPE GetObjType();
- virtual bool SetObjectName(CString* pstrName)=0;
- virtual PCSTR GetObjectName()=0;
- virtual bool Open(IN bool bScan=true)=0;
- virtual bool Close()=0;
- virtual bool Compare(IN INT nOffset, IN INT nSize, IN LPBYTE pSignature, IN BAV_SIGN_LOGIC_OPERATION eLogicOp=BL_EQUAL)=0;
- virtual bool Compare(IN LPBYTE pData, IN INT nSize, IN LPBYTE pSignature, IN BAV_SIGN_LOGIC_OPERATION eLogicOp=BL_EQUAL)=0;
- virtual bool IsOpened()=0;
- virtual BAV_OBJ_TYPE GetObjectType()=0;
- virtual DWORD GetObjectSize()=0;
- };