Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
https://support.microsoft.com/en-us/help/138434/how-win32-based-applications-read-cd-rom-sectors-in-windows-nt[^]

so this is the best example i could find, the goal is to determine sector size, 2048 may not last forever, and the number of sectors on the disk being scanned

i wanted to build a tool to check the low level condition of an optical disk below the error correction

cd has C1 and C2 error correction which is standardized so i would like to add a couple of functions the project

seems that auto detect the optical drive is obviated

definitely looks like i will have to dance around the miniport api to be able to do a basic read of a disk

do you know what api replaced mmsystem.h i used to use back with the early cd-rom?

What I have tried:

the old absolute read/write from DOS is not available for XP and above

mmsystem.h is another header i have used in the past
Posted
Updated 14-Dec-17 12:14pm
v4

1 solution

 
Share this answer
 
Comments
VeganFanatic 14-Dec-17 18:21pm    
definitely looks like an uphill project

mmsystem.h make it easy to play wave audio and even a cd

but while it can still be used, i wanted a lower level read for a error check tool
Richard MacCutchan 15-Dec-17 3:50am    
"definitely looks like an uphill project"
Agreed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900