-
向u盘拷贝文件
调用windows的dl文件,获取u盘在pc上的盘符,然后向u盘中拷贝文件。
源方法如下。
判断指定驱动器的类型:GetDriveTypeA函数
该函数能依据根目录识别1个驱动器是软驱或光驱或硬盘等。声明:
Declare Function GetDriveType Lib "kernel32" Alias "GetDriveTypeA" (ByVal nDrive As String) As Long
参数nDrive:驱动器根目录路径的字符串,如"C : ".
函数返回值为1个常数,指定驱动器类型:DRIVE_ REMOVABLE=2,软驱; REMOVABLE是可移动的
如果驱动器不能识别,则返回0,如指定目录不 DRIVE_ FIXED=3,硬盘。
存在,则返回1。 DRIVE _REMOTE=4,网络驱动器;
DRIVE _CDROM=5,光驱;
DRIVE_ RAMDISK=6虚拟磁盘
调用如:
Private Const DRIVE_CDROM = 5
- 2023-02-14 04:40:03下载
- 积分:1
-
WPF 窗口 RawInput
原始输入窗口中的开发的 Visual Studio 2010 感谢手表 ^^
- 2022-12-09 11:10:03下载
- 积分:1
-
《com原理与应用》一书中的示例代码。很有参考价值
《com原理与应用》一书中的示例代码。很有参考价值
- 2023-06-20 18:15:04下载
- 积分:1
-
一个比较直观的排序算法的过程显示
一个比较直观的排序算法的过程显示-a more intuitive process of sorting algorithm shows
- 2022-02-21 15:07:01下载
- 积分:1
-
地信专业vb+mapx示例源码,是学习mapx入门的优秀例程
地信专业vb+mapx示例源码,是学习mapx入门的优秀例程-Letter to the professional vb+ Mapx sample source code is an excellent entry-learning routines MapX
- 2023-02-01 14:10:04下载
- 积分:1
-
This is a numerical change of the procedure is the use of Shape to achieve, and...
这是一个关于数值转换的程序,是用MASM来实现的,可以实现二进制和十进制,及十六进制之间的转化。-This is a numerical change of the procedure is the use of Shape to achieve, and can achieve binary and decimal, hexadecimal and the conversion between.
- 2022-07-25 17:48:48下载
- 积分:1
-
视窗行政长官
windows CE blocks games
- 2022-08-23 09:40:47下载
- 积分:1
-
ce 5.0上的用mfc编制的ini文件读写源代码,调试OK。
ce 5.0上的用mfc编制的ini文件读写源代码,调试OK。-ce 5.0 on mfc prepared using ini file to read and write source code, debugging OK.
- 2022-04-08 00:07:56下载
- 积分:1
-
Windows TC, very good and you are welcome to use,
Windows下的TC,很不错的,欢迎大家使用,-Windows TC, very good and you are welcome to use,
- 2022-01-24 14:14:48下载
- 积分:1
-
一个远程调用框架的事例,是用C++编写的RCF
一个远程调用框架的事例,是用C++编写的RCF-Example of a remote procedure call framework is the use of C++ written in RCF
- 2022-03-12 06:48:47下载
- 积分:1