文件名称:DiskThief-_Delphi
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:8.4kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Delphi版的闪盘小偷。。
实现原理:当Windows系统的硬件设置发生变化时,系统将会向所有应用程序发送一条WM_DEVICECHANGE消息.当有设备被禁止或激活时(比如我们插入光盘,从光驱中取出光盘,或者在系统设备中删除或禁止打印端口),该消息的wParam参数分别被指定为DBT_DEVICEARRIVAL(设备安装完毕)和DBT_DEVICEREMOVECOMPLETE(设备移除完毕),根据这两个参数可以判断闪存是否存在,lParam参数指向一DEV_BROADCAST_HDR结构,该结构中的dbch_devicetype成员是变化设备的类型,当该值为DBT_DEVTYP_VOLUME时,表明一个带有卷标名的驱动器发生了变化,一般情况下该驱动器既为光驱.-Delphi version of the Flash Disk thieves. . Principle: When the Windows system settings to change the hardware, the system will be sent to all applications WM_DEVICECHANGE a message. When equipment is prohibited or activated (for example, we insert a CD-ROM, CD-ROM from the drive out, or devices in the system to remove or prohibit the printing port), the wParam parameter of the message were designated as DBT_DEVICEARRIVAL (equipment installed) and DBT_DEVICEREMOVECOMPLETE (equipment to remove the finish), according to these two parameters can determine the existence of flash memory, lParam parameter points to a DEV_BROADCAST_HDR structure, The structure members are dbch_devicetype change the type of equipment, when the value of DBT_DEVTYP_VOLUME when that label with a name change drive, under normal circumstances both of the CD-ROM drive.
实现原理:当Windows系统的硬件设置发生变化时,系统将会向所有应用程序发送一条WM_DEVICECHANGE消息.当有设备被禁止或激活时(比如我们插入光盘,从光驱中取出光盘,或者在系统设备中删除或禁止打印端口),该消息的wParam参数分别被指定为DBT_DEVICEARRIVAL(设备安装完毕)和DBT_DEVICEREMOVECOMPLETE(设备移除完毕),根据这两个参数可以判断闪存是否存在,lParam参数指向一DEV_BROADCAST_HDR结构,该结构中的dbch_devicetype成员是变化设备的类型,当该值为DBT_DEVTYP_VOLUME时,表明一个带有卷标名的驱动器发生了变化,一般情况下该驱动器既为光驱.-Delphi version of the Flash Disk thieves. . Principle: When the Windows system settings to change the hardware, the system will be sent to all applications WM_DEVICECHANGE a message. When equipment is prohibited or activated (for example, we insert a CD-ROM, CD-ROM from the drive out, or devices in the system to remove or prohibit the printing port), the wParam parameter of the message were designated as DBT_DEVICEARRIVAL (equipment installed) and DBT_DEVICEREMOVECOMPLETE (equipment to remove the finish), according to these two parameters can determine the existence of flash memory, lParam parameter points to a DEV_BROADCAST_HDR structure, The structure members are dbch_devicetype change the type of equipment, when the value of DBT_DEVTYP_VOLUME when that label with a name change drive, under normal circumstances both of the CD-ROM drive.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DiskThief-_Delphi/DiskThief.dpr
DiskThief-_Delphi/DiskThief.res
DiskThief-_Delphi/Un_Main.dfm
DiskThief-_Delphi/Un_Main.pas
DiskThief-_Delphi/Un_Main.dcu
DiskThief-_Delphi
DiskThief-_Delphi/DiskThief.res
DiskThief-_Delphi/Un_Main.dfm
DiskThief-_Delphi/Un_Main.pas
DiskThief-_Delphi/Un_Main.dcu
DiskThief-_Delphi
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.