搜索资源列表
UFW
- 基于对话框的MFC优盘杀毒程序,运行程序时.有优盘插入时检测u盘里的autorun.inf-for(char cbNum= D cbNum<= Z cbNum++) //遍历可能的U盘盘符 { strdir.Empty() strdir.Format(" c:",cbNum) if(GetDriveType((LPCTSTR)strdir)==DRIVE_REMOVABLE)// 可移动的磁盘 { //-------
0524
- 判断驱动器类型,驱动器可分为软盘、硬盘、网络驱动器等多种类型,通过GetLogicalDriveStrings函数获取驱动器盘符后可以使用GetDriveType来获取驱动器的类型-Determine the drive type, the drive can be divided into floppy disks, hard disks, network drives and other types of access by GetLogicalDriveStrings function c
lockCDrom
- 锁定光驱,使光驱的按钮不再起作用,可以解锁。防止小孩子淘气的小程序。使用了api函数DeviceIoControl,GetDriveType ,CreateFile等。代码简单,中文界面、注释-Lock drive, so drive the button no longer works, you can unlock. Prevent children naughty little program. Using the api function DeviceIoControl, GetDriv