VirusInfo.cpp
资源名称:BAV.v2.rar [点击查看]
上传用户:chaoyu
上传日期:2013-04-28
资源大小:18k
文件大小:0k
源码类别:
杀毒
开发平台:
Visual C++
- #include "StdAfx.h"
- #include ".virusinfo.h"
- CVirusInfo::CVirusInfo(void)
- {
- }
- CVirusInfo::~CVirusInfo(void)
- {
- }
- PCTSTR CVirusInfo::GetNameByID(DWORD dwVID)
- {
- // not really implement, just for demo
- PCTSTR pVName = NULL;
- switch(dwVID)
- {
- case 1:
- pVName = "Dos.Eicar";
- break;
- case 2:
- pVName = "NotVirus.Win32.Notepad.xp";
- break;
- case 3:
- pVName = "Win32.CIH.12";
- break;
- default:
- pVName = "Unknown error!";
- }
- return pVName;
- }