Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


IOCTL_STORAGE_GET_DEVICE_NUMBER

OSR_Community_UserOSR_Community_User Member Posts: 110,217
//---
When i tried to send mail to both ntdev & ntfsd ... the mail robot
replied that it was not sent to ntdev. So re-sending.If you already got this
kindly ignore. Thanks.
//---

Hi All,
How can i get more info on the following 2 IOCTLs.
IOCTL_STORAGE_GET_DEVICE_NUMBER
IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
All search leads to a single doc in MSDN "Microsoft Windows 2000 Application
Compatibility".
I also (in addition to Max !)need this info to findout the
\Device\HarddiskVolumeX <-> \Device\HarddiskY mapping.

TIA
balan


----------------------------------------------
"What lies behind us and what lies before us are tiny matters compared to
what lies within us." ---Emerson

Comments

  • Paul_BunnPaul_Bunn Member Posts: 251
    IOCTL_STORAGE_GET_DEVICE_NUMBER is Win2000 only. It is has no input
    parameters and receives a STORAGE_DEVICE_NUMBER struct.

    Regards,

    Paul Bunn, UltraBac.com, 425-644-6000
    Microsoft MVP - WindowsNT/2000
    http://www.ultrabac.com


    -----Original Message-----
    From: BALAN [mailto:[email protected]]
    Sent: Wednesday, June 21, 2000 6:16 AM
    To: NT Developers Interest List
    Subject: [ntdev] IOCTL_STORAGE_GET_DEVICE_NUMBER

    Hi All,
    How can i get more info on the following 2 IOCTLs.
    IOCTL_STORAGE_GET_DEVICE_NUMBER
    IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
    All search leads to a single doc in MSDN "Microsoft Windows 2000 Application
    Compatibility".
    I also (in addition to Max !)need this info to findout the
    \Device\HarddiskVolumeX <-> \Device\HarddiskY mapping.
  • Ravi_GollapudiRavi_Gollapudi Member Posts: 11
    Try the Win2000 DDK docs at:
    http://www.microsoft.com/ddk/ddkdocs/win2K/default.htm

    > -----Original Message-----
    > From: BALAN [mailto:[email protected]]
    > Sent: Wednesday, June 21, 2000 6:16 AM
    > To: NT Developers Interest List
    > Subject: [ntdev] IOCTL_STORAGE_GET_DEVICE_NUMBER
    >
    >
    >
    > //---
    > When i tried to send mail to both ntdev & ntfsd ... the mail robot
    > replied that it was not sent to ntdev. So re-sending.If you
    > already got this
    > kindly ignore. Thanks.
    > //---
    >
    > Hi All,
    > How can i get more info on the following 2 IOCTLs.
    > IOCTL_STORAGE_GET_DEVICE_NUMBER
    > IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
    > All search leads to a single doc in MSDN "Microsoft Windows
    > 2000 Application
    > Compatibility".
    > I also (in addition to Max !)need this info to findout the
    > \Device\HarddiskVolumeX <-> \Device\HarddiskY mapping.
    >
    > TIA
    > balan
    >
    >
    > ----------------------------------------------
    > "What lies behind us and what lies before us are tiny matters
    > compared to
    > what lies within us." ---Emerson
    >
    >
    >
    > ---
    > You are currently subscribed to ntdev as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')
    >
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Hi, balan,

    Please refer to this URL.

    http://www.microsoft.com/DDK/IFSkit/ntupto2k.htm
    http://msdn.microsoft.com/library/techart/win2000appcomp.htm

    IOCTL_STORAGE_GET_DEVICE_NUMBER
    http://www.microsoft.com/DDK/DDKdocs/Win2k/k307_8lki.htm

    IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
    http://www.microsoft.com/DDK/DDKdocs/Win2k/k307_7c1e.htm


    ----------------------------------
    Makoto Ookawa
    WillNet Inc.

    > -----Original Message-----
    > From: BALAN [mailto:[email protected]]
    > Sent: Wednesday, June 21, 2000 10:16 PM
    > To: NT Developers Interest List
    > Subject: [ntdev] IOCTL_STORAGE_GET_DEVICE_NUMBER
    >
    >
    >
    > //---
    > When i tried to send mail to both ntdev & ntfsd ... the mail robot
    > replied that it was not sent to ntdev. So re-sending.If you
    > already got this
    > kindly ignore. Thanks.
    > //---
    >
    > Hi All,
    > How can i get more info on the following 2 IOCTLs.
    > IOCTL_STORAGE_GET_DEVICE_NUMBER
    > IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
    > All search leads to a single doc in MSDN "Microsoft Windows
    > 2000 Application
    > Compatibility".
    > I also (in addition to Max !)need this info to findout the
    > \Device\HarddiskVolumeX <-> \Device\HarddiskY mapping.
    >
    > TIA
    > balan
    >
    >
    > ----------------------------------------------
    > "What lies behind us and what lies before us are tiny matters
    > compared to
    > what lies within us." ---Emerson
    >
    >
    >
    > ---
    > You are currently subscribed to ntdev as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')
    >
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 13-17 May 2024 Live, Online
Developing Minifilters 1-5 Apr 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 20-24 May 2024 Live, Online