文件名称:DiskThief-_Delphi
介绍说明--下载内容均来自于网络,请自行研究使用
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.res
.................\Un_Main.dcu
.................\Un_Main.dfm
.................\Un_Main.pas
.................\DiskThief.dpr
.................\DiskThief.res
.................\Un_Main.dcu
.................\Un_Main.dfm
.................\Un_Main.pas