access a disk/partition without a drive letter

U

unknown;

hi,

i want to write an application who can acces a disk/partition in
windows xp. I know how to do that if the disk/partition has a drive
letter. But in this case the disk has no driveletter and is in that
case for normal users invisible in windows xp.

i've searched the internet but i don't know where to look and i don;t
know how to describe my problem.

Now i'm hoping someone can give me an useefull URL or maby some code
(.NET or managed C++) so i can continue with this.

thanks
 
A

Alex Blekhman

unknown; said:
i want to write an application who can acces a
disk/partition in
windows xp. I know how to do that if the disk/partition
has a drive
letter. But in this case the disk has no driveletter and
is in that
case for normal users invisible in windows xp.

i've searched the internet but i don't know where to look
and i don;t
know how to describe my problem.

Look in MSDN for CreateFile function. There is explanation
of how an application can open physical drive.
 
G

Guest

unknown; said:
hi,

i want to write an application who can acces a disk/partition in
windows xp. I know how to do that if the disk/partition has a drive
letter. But in this case the disk has no driveletter and is in that
case for normal users invisible in windows xp.

i've searched the internet but i don't know where to look and i don;t
know how to describe my problem.

Now i'm hoping someone can give me an useefull URL or maby some code
(.NET or managed C++) so i can continue with this.

A drive can have no letter in two cases: a. It is mounted as a folder on
another NTFS volume. In this case you can find it using FindFirstVolume()
and it's friends.
b. It is not mounted at all (has no mount points) - in this case you can't
access it.

Regards,
--PA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top