question on IOCTLs Disk device Instance.

Hello All,

How to programatically determine the physical drive number? the disk numbers
displayed in Disk Manager.
Are there APIs or IOCTLs that provide this number if sent to Disk device
Instance?

Thank You,
Shakeel.

Try IOCTL_STORAGE_GET_DEVICE_NUMBER.

On 14-Sep-04, at 5:44 PM, shakeel wrote:

Hello All,

How to programatically determine the physical drive number? the disk
numbers
displayed in Disk Manager.
Are there APIs or IOCTLs that provide this number if sent to Disk
device
Instance?

Thank You,
Shakeel.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@telus.net
To unsubscribe send a blank email to xxxxx@lists.osr.com

Cliff Russell
Software Engineer

e-mail: xxxxx@atimi.com
ichat: xxxxx@mac.com
phone: 250 818 5711

Atimi Software: Software Development - On Time.
http://www.atimi.com

Try IOCTL_STORAGE_GET_DEVICE_NUMBER

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

----- Original Message -----
From: “shakeel”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, September 15, 2004 4:44 AM
Subject: [ntfsd] question on IOCTLs Disk device Instance.

> Hello All,
>
> How to programatically determine the physical drive number? the disk numbers
> displayed in Disk Manager.
> Are there APIs or IOCTLs that provide this number if sent to Disk device
> Instance?
>
> Thank You,
> Shakeel.
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

wow! that simple. Thanks Maxim and Cliff.

“Maxim S. Shatskih” wrote in message
news:xxxxx@ntfsd…
> Try IOCTL_STORAGE_GET_DEVICE_NUMBER
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “shakeel”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Wednesday, September 15, 2004 4:44 AM
> Subject: [ntfsd] question on IOCTLs Disk device Instance.
>
>
> > Hello All,
> >
> > How to programatically determine the physical drive number? the disk
numbers
> > displayed in Disk Manager.
> > Are there APIs or IOCTLs that provide this number if sent to Disk device
> > Instance?
> >
> > Thank You,
> > Shakeel.
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>