Drive Letter to Symbolic Name

Hi,

There seem to be two registry entries for a
partition…
a) Device\HarddiskVolumex and
b) something like …
HKLM\SYS\CCS\Enum\STORAGE\Volume\1&30a96598&0&Signature4B5FF3F7Offset7E00LengthB128200
which, I think are the notation Win NT gives to basic
partitions…?

Does anyone know how to find an entry like ‘(b)’ in
the registry for a given drive letter
programmatically?

Any help would be appreciated.
VS


Do you Yahoo!?
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com

Do you absolutely require the information comes from the registry, or
could you use SetupDi and/or the Mount Manager to get what you want?

Chuck

----- Original Message -----
From: “vartika Singh”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, January 11, 2005 3:40 PM
Subject: [ntdev] Drive Letter to Symbolic Name

> Hi,
>
> There seem to be two registry entries for a
> partition…
> a) Device\HarddiskVolumex and
> b) something like …
> HKLM\SYS\CCS\Enum\STORAGE\Volume\1&30a96598&0&Signature4B5FF3F7Offset7E00LengthB128200
> which, I think are the notation Win NT gives to basic
> partitions…?
>
> Does anyone know how to find an entry like ‘(b)’ in
> the registry for a given drive letter
> programmatically?
>
> Any help would be appreciated.
> VS
>
>
>
> __________________________________
> Do you Yahoo!?
> All your favorites on one personal page - Try My Yahoo!
> http://my.yahoo.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@cbatson.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Hi,
I guess my question was quite equivocal in it’s
context.
Sorry about that.
Yup, the source of information can be the SetupDi
apis.
I tried the SetupDi option but I am not getting
anywhere.
Please do tell me if u know about any API which does
this type of mapping.
Abot the mount mgr, Iam not sure how to use it.

cheers
VS

— Chuck Batson wrote:

> Do you absolutely require the information comes from
> the registry, or
> could you use SetupDi and/or the Mount Manager to
> get what you want?
>
> Chuck
>
> ----- Original Message -----
> From: “vartika Singh”
> To: “Windows System Software Devs Interest List”
>
> Sent: Tuesday, January 11, 2005 3:40 PM
> Subject: [ntdev] Drive Letter to Symbolic Name
>
>
> > Hi,
> >
> > There seem to be two registry entries for a
> > partition…
> > a) Device\HarddiskVolumex and
> > b) something like …
> >
>
HKLM\SYS\CCS\Enum\STORAGE\Volume\1&30a96598&0&Signature4B5FF3F7Offset7E00LengthB128200
> > which, I think are the notation Win NT gives to
> basic
> > partitions…?
> >
> > Does anyone know how to find an entry like ‘(b)’
> in
> > the registry for a given drive letter
> > programmatically?
> >
> > Any help would be appreciated.
> > VS
> >
> >
> >
> >
> > Do you Yahoo!?
> > All your favorites on one personal page - Try My
> Yahoo!
> > http://my.yahoo.com
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as:
> xxxxx@cbatson.com
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
> >
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>


Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

b) is the registry entry, while a) is just a symlink.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “vartika Singh”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, January 11, 2005 11:40 AM
Subject: [ntdev] Drive Letter to Symbolic Name

> Hi,
>
> There seem to be two registry entries for a
> partition…
> a) Device\HarddiskVolumex and
> b) something like …
>
HKLM\SYS\CCS\Enum\STORAGE\Volume\1&30a96598&0&Signature4B5FF3F7Offset7E00Length
B128200
> which, I think are the notation Win NT gives to basic
> partitions…?
>
> Does anyone know how to find an entry like ‘(b)’ in
> the registry for a given drive letter
> programmatically?
>
> Any help would be appreciated.
> VS
>
>
>
> __________________________________
> Do you Yahoo!?
> All your favorites on one personal page - Try My Yahoo!
> http://my.yahoo.com
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Does this describe your situation? Using SetupDi, you are able to
locate a device of interest, but it has a name in the form of (b). Now
you need a way to find the name in the form (a) from the name in the
form of (b). Is this correct?

Chuck

----- Original Message -----
From: “vartika Singh”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, January 11, 2005 4:53 PM
Subject: Re: [ntdev] Drive Letter to Symbolic Name

> Hi,
> I guess my question was quite equivocal in it’s
> context.
> Sorry about that.
> Yup, the source of information can be the SetupDi
> apis.
> I tried the SetupDi option but I am not getting
> anywhere.
> Please do tell me if u know about any API which does
> this type of mapping.
> Abot the mount mgr, Iam not sure how to use it.
>
> cheers
> VS
>
>
> — Chuck Batson wrote:
>
>> Do you absolutely require the information comes from
>> the registry, or
>> could you use SetupDi and/or the Mount Manager to
>> get what you want?
>>
>> Chuck
>>
>> ----- Original Message -----
>> From: “vartika Singh”
>> To: “Windows System Software Devs Interest List”
>>
>> Sent: Tuesday, January 11, 2005 3:40 PM
>> Subject: [ntdev] Drive Letter to Symbolic Name
>>
>>
>> > Hi,
>> >
>> > There seem to be two registry entries for a
>> > partition…
>> > a) Device\HarddiskVolumex and
>> > b) something like …
>> >
>>
> HKLM\SYS\CCS\Enum\STORAGE\Volume\1&30a96598&0&Signature4B5FF3F7Offset7E00LengthB128200
>> > which, I think are the notation Win NT gives to
>> basic
>> > partitions…?
>> >
>> > Does anyone know how to find an entry like ‘(b)’
>> in
>> > the registry for a given drive letter
>> > programmatically?
>> >
>> > Any help would be appreciated.
>> > VS

It’s just the oppossite.The exact scenario is, that I
have got a drive letter or say a name of form (a),
from which I want to get the name of the form (b).

VS
— Chuck Batson wrote:

> Does this describe your situation? Using SetupDi,
> you are able to
> locate a device of interest, but it has a name in
> the form of (b). Now
> you need a way to find the name in the form (a) from
> the name in the
> form of (b). Is this correct?
>
> Chuck
>
> ----- Original Message -----
> From: “vartika Singh”
> To: “Windows System Software Devs Interest List”
>
> Sent: Tuesday, January 11, 2005 4:53 PM
> Subject: Re: [ntdev] Drive Letter to Symbolic Name
>
>
> > Hi,
> > I guess my question was quite equivocal in it’s
> > context.
> > Sorry about that.
> > Yup, the source of information can be the SetupDi
> > apis.
> > I tried the SetupDi option but I am not getting
> > anywhere.
> > Please do tell me if u know about any API which
> does
> > this type of mapping.
> > Abot the mount mgr, Iam not sure how to use it.
> >
> > cheers
> > VS
> >
> >
> > — Chuck Batson
> wrote:
> >
> >> Do you absolutely require the information comes
> from
> >> the registry, or
> >> could you use SetupDi and/or the Mount Manager to
> >> get what you want?
> >>
> >> Chuck
> >>
> >> ----- Original Message -----
> >> From: “vartika Singh”
> >> To: “Windows System Software Devs Interest List”
> >>
> >> Sent: Tuesday, January 11, 2005 3:40 PM
> >> Subject: [ntdev] Drive Letter to Symbolic Name
> >>
> >>
> >> > Hi,
> >> >
> >> > There seem to be two registry entries for a
> >> > partition…
> >> > a) Device\HarddiskVolumex and
> >> > b) something like …
> >> >
> >>
> >
>
HKLM\SYS\CCS\Enum\STORAGE\Volume\1&30a96598&0&Signature4B5FF3F7Offset7E00LengthB128200
> >> > which, I think are the notation Win NT gives to
> >> basic
> >> > partitions…?
> >> >
> >> > Does anyone know how to find an entry like
> ‘(b)’
> >> in
> >> > the registry for a given drive letter
> >> > programmatically?
> >> >
> >> > Any help would be appreciated.
> >> > VS
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>

__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

Thank You.
What is the registry entry (b) called?
And how can I derive the corresponding entry of that
type from the given symbolic name?

VS

— “Maxim S. Shatskih”
wrote:

> b) is the registry entry, while a) is just a
> symlink.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “vartika Singh”
> To: “Windows System Software Devs Interest List”
>
> Sent: Tuesday, January 11, 2005 11:40 AM
> Subject: [ntdev] Drive Letter to Symbolic Name
>
>
> > Hi,
> >
> > There seem to be two registry entries for a
> > partition…
> > a) Device\HarddiskVolumex and
> > b) something like …
> >
>
HKLM\SYS\CCS\Enum\STORAGE\Volume\1&30a96598&0&Signature4B5FF3F7Offset7E00Length
> B128200
> > which, I think are the notation Win NT gives to
> basic
> > partitions…?
> >
> > Does anyone know how to find an entry like ‘(b)’
> in
> > the registry for a given drive letter
> > programmatically?
> >
> > Any help would be appreciated.
> > VS
> >
> >
> >
> >
> > Do you Yahoo!?
> > All your favorites on one personal page - Try My
> Yahoo!
> > http://my.yahoo.com
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as:
> xxxxx@storagecraft.com
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>


Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com

Either way, you should be able to use IOCTL_MOUNTDEV_QUERY_DEVICE_NAME
and IOCTL_MOUNTMGR_QUERY_POINTS to do what you want.

Chuck

----- Original Message -----
From: “vartika Singh”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, January 11, 2005 6:45 PM
Subject: Re: [ntdev] Drive Letter to Symbolic Name

> It’s just the oppossite.The exact scenario is, that I
> have got a drive letter or say a name of form (a),
> from which I want to get the name of the form (b).
>
> VS
> — Chuck Batson wrote:
>
>> Does this describe your situation? Using SetupDi,
>> you are able to
>> locate a device of interest, but it has a name in
>> the form of (b). Now
>> you need a way to find the name in the form (a) from
>> the name in the
>> form of (b). Is this correct?
>>
>> Chuck
>>
>> ----- Original Message -----
>> From: “vartika Singh”
>> To: “Windows System Software Devs Interest List”
>>
>> Sent: Tuesday, January 11, 2005 4:53 PM
>> Subject: Re: [ntdev] Drive Letter to Symbolic Name
>>
>>
>> > Hi,
>> > I guess my question was quite equivocal in it’s
>> > context.
>> > Sorry about that.
>> > Yup, the source of information can be the SetupDi
>> > apis.
>> > I tried the SetupDi option but I am not getting
>> > anywhere.
>> > Please do tell me if u know about any API which
>> does
>> > this type of mapping.
>> > Abot the mount mgr, Iam not sure how to use it.
>> >
>> > cheers
>> > VS
>> >
>> >
>> > — Chuck Batson
>> wrote:
>> >
>> >> Do you absolutely require the information comes
>> from
>> >> the registry, or
>> >> could you use SetupDi and/or the Mount Manager to
>> >> get what you want?
>> >>
>> >> Chuck
>> >>
>> >> ----- Original Message -----
>> >> From: “vartika Singh”
>> >> To: “Windows System Software Devs Interest List”
>> >>
>> >> Sent: Tuesday, January 11, 2005 3:40 PM
>> >> Subject: [ntdev] Drive Letter to Symbolic Name
>> >>
>> >>
>> >> > Hi,
>> >> >
>> >> > There seem to be two registry entries for a
>> >> > partition…
>> >> > a) Device\HarddiskVolumex and
>> >> > b) something like …
>> >> >
>> >>
>> >
>>
> HKLM\SYS\CCS\Enum\STORAGE\Volume\1&30a96598&0&Signature4B5FF3F7Offset7E00LengthB128200
>> >> > which, I think are the notation Win NT gives to
>> >> basic
>> >> > partitions…?
>> >> >
>> >> > Does anyone know how to find an entry like
>> ‘(b)’
>> >> in
>> >> > the registry for a given drive letter
>> >> > programmatically?
>> >> >
>> >> > Any help would be appreciated.
>> >> > VS
>>
>>
>> —
>> Questions? First check the Kernel Driver FAQ at
>> http://www.osronline.com/article.cfm?id=256
>>
>> You are currently subscribed to ntdev as:
>> xxxxx@yahoo.com
>> To unsubscribe send a blank email to
>> xxxxx@lists.osr.com
>>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@cbatson.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>