identifying basic and dynamic disk

Hi

Is there any way we can distinguish between dynamic and basic disk. Are all
the disk ioctl (IOCTL_DISK_…) works for dynamic disk as well. I want to
detect in volume filter driver, volume lying in basic disk or dynamic disk.
Any help is appreciated.


Regards
Rohit Gauba

Read the MBR partiton table and look for the PARTITION_LDM entry.

Or, for GPT disks, look for PARTITION_LDM_DATA_GUID


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

“Rohit” wrote in message news:xxxxx@ntdev…
Hi

Is there any way we can distinguish between dynamic and basic disk. Are all the disk ioctl (IOCTL_DISK_…) works for dynamic disk as well. I want to detect in volume filter driver, volume lying in basic disk or dynamic disk. Any help is appreciated.


Regards
Rohit Gauba