PC Review


Reply
Thread Tools Rate Thread

CreateFile fails when write on DVD/CDRom

 
 
rajani
Guest
Posts: n/a
 
      3rd Dec 2005
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


 
Reply With Quote
 
 
 
 
Jochen Kalmbach [MVP]
Guest
Posts: n/a
 
      5th Dec 2005
Hi rajani!

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


You need to use "Image Mastering API":
http://msdn.microsoft.com/library/en...tering_api.asp

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CreateFile - Read/Write client's Stroage Sean Liong via .NET 247 Microsoft ASP .NET 3 9th Jun 2005 01:45 PM
CDrom.sys Fails drum 118 Windows XP General 1 8th Jul 2004 06:00 AM
CreateFile fails - 120 error code Antoine Microsoft C# .NET 3 12th Feb 2004 03:55 PM
Setup fails on CDROM DanS Windows XP Performance 1 1st Dec 2003 09:54 AM
CDROM fails to run with following message... wayne Windows XP Hardware 0 15th Nov 2003 08:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:43 AM.