I'm building something like the ramdisk example in the WinDDK. It uses
WdfDeviceCreateSymbolicLink to attach to a drive letter. The problem is
that when the driver unloads, the drive letter doesn't completely go
away. It remains in Windows Explorer as a disk with a red circle and a
white question mark in the middle. The "Map Network Drive" wizard shows
the drive letter as available. It completely disappears from explorer
after a reboot.
Any ideas? I want it to go away completely after the driver unloads.
Regards,
Kevin
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Kevin" <k...@hush.ai> wrote in message
news:%23IR8c5C...@TK2MSFTNGP05.phx.gbl...
Thanks for the reply.
I did some more digging and since I do have a user-mode app in the mix,
I can do it using
DefineDosDevice(DDD_RAW_TARGET_PATH, ...) to add and
DefineDosDevice(DDD_REMOVE_DEFINITION, ... ) to remove the drive.
Regards,
Kevin
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Kevin" <k...@hush.ai> wrote in message
news:OUwOP2Fk...@TK2MSFTNGP02.phx.gbl...
Try SetVolumeMountPoint/DeleteVolumeMountPoint instead.
Uwe