Alex,
1) DVD media (DVD+RW in your particular case) does not support anything except Track-At-Once. So before burning it's **REQUIRED** to call StarBurn_CdvdBurnerGrabber_GetInsertedDiscType() and if it's not CD-R or CD-RW only Track-At-Once code should be used.
2) For CD-R or CD-RW media it's **REQUIRED** to call StarBurn_CdvdBurnerGrabber_ProbeSupportedWriteModes() and it would return you a set of BOOLEANs telling does current drive support SAO, DAO16 or DAO96.
If you're burning generic data discs you're welcomed to make your life easier. Just stick with Track-At-Once burning mode. It's supported by ANY media type and ANY burning device.
Alex wrote:
Hello,
I could not burn anything to DVD+RW using DAO and SAO modes.
I got errors
CdvdBurnerGrabber::DiscAtOnceRawPW(): Disc type (9) not valid for DAO!!!
and
CdvdBurnerGrabber::SessionAtOnce(): Disc type (9) NWA not valid for SAO!!!
Included samples returned the same errors.
How can I know if certain burning mode is supported. I need to know it
before burning process is started.
Thanks for your support