资源简介
一个免费的杀毒引擎源代码,适合杀毒软件初学者进行研究。
代码片段和文件信息
//-----------------------------------------------------------------------------
// Name: ShellExt.cpp
// Product: ClamWin Antivirus
//
// Author: alch [alch at users dot sourceforge dot net]
//
// Created: 2004/19/03
// Copyright: Copyright alch (c) 2004
// Licence:
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not write to the Free Software
// Foundation Inc. 675 Mass Ave Cambridge MA 02139 USA.
//-----------------------------------------------------------------------------
//
// Initialize GUIDs (should be done only and at-least once per DLL/EXE)
//
#include
#include
#define INITGUID
#include
#include
#include “ShellExt.h“
//
// Global variables
//
UINT g_cRefThisDll = 0; // Reference count of this DLL.
HINSTANCE g_hmodThisDll = NULL; // Handle to this DLL itself.
extern “C“ int APIENTRY DllMain(HINSTANCE hInstance DWORD dwReason LPVOID lpReserved)
{
if (dwReason == DLL_PROCESS_ATTACH)
g_hmodThisDll = hInstance;
return 1; // ok
}
//---------------------------------------------------------------------------
// DllCanUnloadNow
//---------------------------------------------------------------------------
STDAPI DllCanUnloadNow(void)
{
return (g_cRefThisDll == 0 ? S_OK : S_FALSE);
}
//---------------------------------------------------------------------------
// DllGetClassobject
//---------------------------------------------------------------------------
STDAPI DllGetClassobject(REFCLSID rclsid REFIID riid LPVOID *ppvOut)
{
*ppvOut = NULL;
if (IsEqualIID(rclsid CLSID_ShellExtension))
{
CShellExtClassFactory *pcf = new CShellExtClassFactory;
return pcf->QueryInterface(riid ppvOut);
}
return CLASS_E_CLASSNOTAVAILABLE;
}
//---------------------------------------------------------------------------
// CShellExtClassFactory::CShellExtClassFactory
//---------------------------------------------------------------------------
CShellExtClassFactory::CShellExtClassFactory()
{
m_cRef = 0L;
g_cRefThisDll++;
}
//---------------------------------------------------------------------------
// CShellExtClassFactory::~CShellExtClassFactory
//---------------------------------------------------------------------------
CShellExtClassFactory::~CShellExtClassFactory()
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1333 2006-03-25 20:19 20070327_clamwin-0.88.1-src\build.bat
文件 557 2006-03-18 11:30 20070327_clamwin-0.88.1-src\build.sh
文件 8819 2006-04-07 12:14 20070327_clamwin-0.88.1-src\ChangeLog
文件 18332 2005-07-06 11:57 20070327_clamwin-0.88.1-src\COPYING
文件 1849 2006-03-21 11:33 20070327_clamwin-0.88.1-src\cpp\build.bat
文件 256 2005-07-06 12:02 20070327_clamwin-0.88.1-src\cpp\ExplorerShell.def
文件 2519 2006-04-06 17:28 20070327_clamwin-0.88.1-src\cpp\ExplorerShell.rc
文件 460 2005-07-06 12:02 20070327_clamwin-0.88.1-src\cpp\resource.h
文件 7186 2005-07-06 12:02 20070327_clamwin-0.88.1-src\cpp\ShellExt.cpp
文件 2958 2005-07-06 12:02 20070327_clamwin-0.88.1-src\cpp\ShellExt.h
文件 519 2005-07-06 12:02 20070327_clamwin-0.88.1-src\cpp\ShellExt.reg
文件 12524 2006-03-24 19:59 20070327_clamwin-0.88.1-src\cpp\ShellExtImpl.cpp
文件 1601 2006-04-07 12:16 20070327_clamwin-0.88.1-src\credits
文件 196140 2006-04-06 15:24 20070327_clamwin-0.88.1-src\doc\HTML\clam.chm
文件 91907 2006-04-06 15:02 20070327_clamwin-0.88.1-src\doc\HTML\config_html_m7d648a14.png
文件 8801 2006-04-06 15:02 20070327_clamwin-0.88.1-src\doc\HTML\config_html_m8aad2fa.png
文件 5709 2006-04-06 15:20 20070327_clamwin-0.88.1-src\doc\HTML\cover_html_2bb1eb73.png
文件 16275 2006-04-06 15:03 20070327_clamwin-0.88.1-src\doc\HTML\usage_html_14967aa2.png
文件 2204 2005-07-06 12:03 20070327_clamwin-0.88.1-src\doc\HTML\usage_html_388a8860.png
文件 15411 2006-04-06 15:03 20070327_clamwin-0.88.1-src\doc\HTML\usage_html_m34e90e33.png
文件 12205 2005-07-06 12:03 20070327_clamwin-0.88.1-src\doc\HTML\usage_html_m545fc31b.png
文件 13492 2005-07-06 12:03 20070327_clamwin-0.88.1-src\doc\images\Clam.png
文件 91907 2005-07-06 12:03 20070327_clamwin-0.88.1-src\doc\images\filters.png
文件 12920 2005-07-06 12:03 20070327_clamwin-0.88.1-src\doc\images\install1.png
文件 12205 2005-07-06 12:03 20070327_clamwin-0.88.1-src\doc\images\MainWindow.png
文件 8801 2005-07-06 12:03 20070327_clamwin-0.88.1-src\doc\images\prefs-general.png
文件 5709 2005-07-06 12:03 20070327_clamwin-0.88.1-src\doc\images\ti
文件 378527 2006-04-06 15:23 20070327_clamwin-0.88.1-src\doc\manual.pdf
文件 3150 2006-04-07 12:27 20070327_clamwin-0.88.1-src\INSTALL
文件 476103 2006-04-07 12:05 20070327_clamwin-0.88.1-src\patches\clamav-0.88.1-native.patch
............此处省略149个文件信息
相关资源
- flash源代码,包括射击游戏.fla,拼图
- 整个网站所有链接,所有资源程序
- CDT规约,FDK规约,modbus规约源代码,
- Bayesian Reasoning and Machine Learning--配书源
- xx公司财务管理系统源代码
- 语音识别源代码
- 多元非线性回归分析源代码
- 企业工资管理系统 源代码
- 基于飞思卡尔的小型发动机ECU源代码
- Context-Aware Saliency Detection论文和源代码
- Visual_C__.NET程序设计实用教程第2版源
- 网吧计费管理系统源代码
- 仓库设备管理系统源完整代码和论文
- 信息发布系统源代码
- 收集的几个Flash小游戏源代码
- e-ERP供销管理系统(含源代码)
- 入侵检测系统源代码IDS
- STM8S207R8(DS18B20)源代码
- 车辆综合管理系统源代码
- 网站源代码神器-网页模板小偷
- 电子商务网站建设完整案例教程-素材
-
Openla
yers 3 源代码 - 吃鱼源代码
- 雷达透视源代码 CF雷达透视源码
- cximage 源代码及demo程序
- lingo程序源代码
- GBRL配套的Candle_1.1.7源代码用于DIY cn
- 2D板材排版套料开源代码
- PCI库函数源代码
- 考勤管理系统源代码
评论
共有 条评论