CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - diskthief
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - diskthief - List
[
Disk Tools
]
DiskThief-_Delphi
DL : 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.
Date
: 2025-07-07
Size
: 8kb
User
:
dll
[
OS program
]
DiskThief
DL : 0
采用Visual C++设计的一个U盘小偷的程序,实现文件的自动拷贝,当电脑上有外设插入时,系统自动检测并自动的将文件从U盘拷贝到本地电脑上-Using Visual C++ design of a U disk thief program to realize the automatic copy of the file, when the computer peripherals plug on, the system automatically detect and automatically copy the files from the U disk to the local computer
Date
: 2025-07-07
Size
: 32kb
User
:
朱小明
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.