MetaJack
2010-06-09 14:33:58 UTC
I am trying to find a way to remove a drive from the system on the basis of
selecting the associated Drive Letter. The routines
CM_Query_And_Remove_SubTree() and SetupDiRemoveDevice() will do the job, but
operate in one of several physical drive name spaces. I have tried following
threads that talk about bridging from logical drive name spaces to physical
drive name spaces, but none of them seem to reach the space that these two
routines use. I know this has to be possible since I see other programs doing
it. What did I miss?
selecting the associated Drive Letter. The routines
CM_Query_And_Remove_SubTree() and SetupDiRemoveDevice() will do the job, but
operate in one of several physical drive name spaces. I have tried following
threads that talk about bridging from logical drive name spaces to physical
drive name spaces, but none of them seem to reach the space that these two
routines use. I know this has to be possible since I see other programs doing
it. What did I miss?