I want to How to differentiate between cd drive and dvd drive without a disk media inserted.
As there are answers for disk media inserted present.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The only way I know to do this would be to get the WMI Win32_CDROMDrive instances on the machine, then check for DVD in the Name or DeviceId properties.
You may even have to go so far as to get the DeviceID from the isntance then check in the Registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum[DeviceIdHere]\Device Parameters, then check for the existance of a value named “DefaultDvdRegion”. This won’t exist for CDROM drives, but does for DVD drives.