Actually, there is probably very little registry related which tracks this. The 
API in C/C++ is GetDriveType.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getdrivetype.asp

So the thing which actually tracks this is the IFS portion of the Windows kernel... and I don't think you are going to be tinkering down in there. This code might populate registry entries talking about what volumes have been mounted, etc... but you are fix'n to make the code lie in certain situations, which is a pretty duct tapeish way to accomplish what you desire to do. ("Two wrongs do not make a right" kind of thinking...)

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Remove the upper case letters NOSPAM to contact me directly.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to