使用Win API删除驱动器号 [英] Remove drive letter using Win API
问题描述
Hi
我要删除驱动器号,然后重新分配 信.这是通过使用DISKPART的实现的.删除字母,分配 字母.
I want to remove the drive letter and then reassign the letter. This is achieved by using DISKPART''s remove letter, assign letter.
但是我想使用C ++以编程方式实现此任务.
But I want to achieve this task programatically using C++.
谁能告诉Windows API?完成这项任务?
Can anyone tell the windows API to achieve this task ?
感谢
Inmar
Inmar
推荐答案
嗨Inmar,
Hi Inmar,
您应该看看以下MSDN文章:
You should have a look at the following MSDN article:
有一篇文章 此处提供了用于映射和取消映射网络驱动器的库.
There is an article here that provides a library for mapping and unmapping network drives.
Hi
谢谢回复.
Thanks for the reply.
链接http://msdn.microsoft.com/en-us/library/aa363908(VS.85).aspx 对我完成任务非常有用.
The link http://msdn.microsoft.com/en-us/library/aa363908(VS.85).aspx is very useful for me to achieve the task.
谢谢
Inmar
这篇关于使用Win API删除驱动器号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!