搜索资源列表
XDriveTree
- 调用GetDriveType判断每个分区的类型,如果为硬盘分区则生成详细的文件列表.生成的列表可用grep等工具进行检索.
操作优盘
- CString strdir=""; for(char cc=‘A‘;cc<=‘Z‘;cc++) { strdir.Format("%c:",cc); if(GetDriveType((LPCTSTR)strdir)==DRIVE_REMOVABLE)//移动盘
XDriveTree
- 调用GetDriveType判断每个分区的类型,如果为硬盘分区则生成详细的文件列表.生成的列表可用grep等工具进行检索.-GetDriveType call to determine the type of each partition, if for hard disk partition is to generate a detailed list of files. Generated a list of available t
GetDriveType
- 用于枚举驱动器类型~显示得到的驱动器类型,现已修改,用于H盘,可自行修改-Drive type for the enumeration to be ~ shows the drive type, has been modified for the H site, they are free to modify
CPUTemperature
- 使用wmi对象查询usb口 另外也可以使用GetDriveType()这个传统的api来实现Int32 cpuTemp = GetCPUTemperature() Console.WriteLine("CPU Temperature: {0}C/{1:F0}F", cpuTemp, Fahrenheit(cpuTemp)) Int32 mbTemp = GetMBTemperature() Console.W
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 Get
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 fun
GetDriveType
- how to get Drive type of any computer.
C_Sharp_Ripper
- This code shows a way to make a CD ripper in C#. There are APIs from some vendors that allow reading audio CD tracks but it is also possible to do it using APIs that allow low level access to CD drives such as ASPI from
apiguangqu
- API 光驱 控制光驱的打开关闭。 调用API函数mciSendCommand控制光驱的打开和关闭,GetDriveType取光驱的类型。-The API drive control Open Close CD-ROM drive. To call API function mciSendCommand the control drive open and close, GetDriveType take the type of
GetVolumInformation
- GetVolumePathName, GetVolumeInformation, GetDriveType
GetDriveType---by-Coperator
- 获得磁盘驱动器的类型 ;如可移动磁盘、固定磁盘、网络磁盘、光驱等。-Get disk drive type such as a removable disk, fixed disk, network disk, optical drive and so on.
UDiskMonitor
- // 获取当前插入设备对应磁盘编号 A--Z char chDisk = FirstDriveFromMask(lpdbv->dbcv_unitmask); CString strDisk,FstrDisk,NewDisk; strDisk.Format("%c:\\",chDisk); if(CValidFunction::IsPathExist(strDisk))