Windows: write directly to the CD-R sector

Are there any libraries or functions of the Windows API that allow you to write directly to CD-R sectors? I can read sectors from the disk using the ReadFile function provided by the Windows API, but using the WriteFile function on the disk seems to only mark the disk as used (after running the program in which WriteFile is used on CD-R, I I can’t write files to disk or throw it out until I reboot the system). When I restart the system, there is no data on the disk. Opening a disk for write access and calling the WriteFile function using a disk descriptor does not lead to system errors.

+5
source share
2 answers

I don’t know how easy it is, but there is a set of SCSI commands that use recording software.

In the windows you need to get the ASPI library to receive the SendASPI32Command Free version and find somewhere a description of the Multi-Media command. Start at www.t10.org, they sell it, but a working draft can be found for free.

and then run there , and then look at an example of MMC commands using cdrecord in the sources.

It can be done, but difficult.

0
source

Access to the recording process is probably limited to ensure compatibility with drag and drop recordings that can be performed in Explorer.

ISO-, -, .

0

All Articles