Using WMI api i got the list of all the Hard disk on my system and for each hard disk i got the Device ID which is of format "\\.\PhysicalDriveX" . This Device ID is i believe User mode name for that Hard disk, i wanted to get corresponding Kernel
mode name for that Hard disk which is of format "\Device\HarddiskX\DRX". Is it the case that the value X is same for user and kernel mode ? If i have a Hard disk with Device ID "\\.\PhysicalDrive0", is it true that it corresponding kernel
name will be "\Device\Harddisk0\DR0" or can it be something else other then 0 ?
View Complete Post