I try to find APIs would delivery the information same to Disk
Management ((Control Panel->Administrative Tools->Computer
Management->Disk Management).
The main question, which APIs may find hardware disk (disks, CD etc.)
comprises logical volume (E: or \Device\HardDiskVolume4 as example)?
I need to find relations between physical devices (hard, CDs, virtual
etc.) and logical volumes (C:, D:, E: etc.) inside my application.
The article “How Basic Disks and Volumes Work”
http://technet2.microsoft.com/WindowsServer/en/Library/bdeda920-1f08-468
3-9ffb-7b4b50df0b5a1033.mspx delivers many useful info and no API info.
I guess this API must be delivered by DmView.ocx. But it is not
described.
Thanks,
Michael.
Well what you are actually trying to do - map volumes to physical devices -
can be done for disks using the standard platform sdk. There is an
additional Virtual Disk Service API that is now incorporated in the Platform
SDK R2 release. This provides an interface into VDS compliant volume
managers and their virtual volumes.
But back to your specific problem: IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
gives you a VOLUME_DISK_EXTENTS object that maps volumes to physical disks.
=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
Grabelkovsky, Michael
Sent: Thursday, April 27, 2006 7:15 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How Disk Management Works or which API has
Dmview.ocx?
I try to find APIs would delivery the information same to
Disk Management ((Control Panel->Administrative Tools->Computer
Management->Disk Management).
The main question, which APIs may find hardware disk (disks,
CD etc.) comprises logical volume (E: or
\Device\HardDiskVolume4 as example)?
I need to find relations between physical devices (hard, CDs, virtual
etc.) and logical volumes (C:, D:, E: etc.) inside my application.
The article “How Basic Disks and Volumes Work”
http://technet2.microsoft.com/WindowsServer/en/Library/bdeda92
0-1f08-468
3-9ffb-7b4b50df0b5a1033.mspx delivers many useful info and no
API info.
I guess this API must be delivered by DmView.ocx. But it is
not described.
Thanks,
Michael.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online
at http://www.osronline.com/page.cfm?name=ListServer