CreateFile fails when write on DVD/CDRom

R

rajani

Hello,

I'm writing an application to Burn to DVD using Windows Platform SDK API.

Write failed in both of the given sequences --

First Sequence is as follows:
1. Used CreateFile () function for opening a file that resides on DVD in
write mode with OPEN_EXISTING flag.
2. I am able to get the handle.
3. When I try to write data on file it gives error ERROR_ACCESS_DENIED.

Second Sequence is as follows:
1. Used CreateFile () function for creating a file on DVD with CREATE_NEW OR
CREATE_ALWAYS flag.
2. CreateFile returns error and error code is ERROR_ACCESS_DENIED.

Please suggest what I should do to make it work?

Operating System : Windows XP professional

Thanks
Rajani
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top