PDA

View Full Version : Get daemon settings programatically



ashudson@f2s.com
15.06.2004, 08:54
Operating System: Win XP
Burning Software: na
Anti-virus Software: na
DAEMON Tools Version: 3.29

How can I get the detils of mounted drives from vb code?

noib
15.06.2004, 09:09
Operating System: XP
Burning Software: Alcohol120
Anti-virus Software: AVG free
DAEMON Tools Version: 3.46

Use the windows API function GetVolumeInformation()
You'll get all you need i think

ashudson@f2s.com
15.06.2004, 16:42
Yes i thought so but I cant see how this tells me whether a drive is a daemon mounted one or a real one.

MisterEd
15.06.2004, 18:00
Operating System: XP Pro
Burning Software: Nero
Anti-virus Software: Norton
DAEMON Tools Version: 3.46

What do you want to code? A blacklist... :mrgreen:

ashudson@f2s.com
15.06.2004, 19:07
No i want my vb application to be able to tell which cdroms are real hardware devices and which are virtual drives.

So, for example where can I find

1. the number of drives mounted by daemon, i.e. 0,1.2.3.4

2. Of these, which have iso images mounted

all from vb code.

one might expect there to be rigsotry settings giving this information.but htere don't deem to be.

MisterEd
16.06.2004, 19:30
I think it is a major job of DT to hide this little different between real and virtual hardware. Otherwise future blacklists were to easy...

Copytrooper
18.06.2004, 08:28
We're working on even better "hiding" to prevent future blacklists, so don't bother :mrgreen: