Re: CreateFile fails when trying to Write on DVD/CDROm

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In article news:<OVISg$89FHA.1028@xxxxxxxxxxxxxxxxxxxx>, Rajani wrote:
> I'm writing an application to Burn to DVD using Windows Platform SDK API.

You can't normally write to a CD-RW or DVD+/-RW disk as though it were an
ordinary disk drive. You can do this with DVD-RAM.

You can also get third-party driver software (like Adaptec/Roxio's DirectCD
interface, which makes an RW device look like a big floppy) but this will
not use the standard CD or DVD formatting, and the disk will only be
readable using the same software.

To write a normal CD or DVD disk you need to use a set of APIs specifically
designed for this purpose. MS have an API called the Image Mastering API
(part of XP but not earlier versions of Windows).

See:
http://msdn.microsoft.com/library/en-us/devio/base/image_mastering_api.asp

There are also third-party APIs (ISTRT Nero has an API, for example).

Cheers,
Daniel.


.



Relevant Pages

  • RE: [RFC] transcendent memory for Linux
    ... Should this API be documented, ... able to use preswap, else it will not). ... write and a disk read are avoided. ... the page is written to swap as usual. ...
    (Linux-Kernel)
  • Re: convert byte[] to an type
    ... label program API. ... I've serialized a file from disk to a byte array. ... may be able to create a named pipe and hand the path to said pipe to the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [RFC] transcendent memory for Linux
    ... Should this API be documented, ... visible to the kernel (but, briefly, if the kernel is being ... able to use preswap, else it will not). ... write and a disk read are avoided. ...
    (Linux-Kernel)
  • Re: Accessing disks via their serial numbers.
    ... disk, and have the disk api automaticly propegate the serial number up ... narrow API. ... I'd like to see an attribute API pushed into diskso that GEOM modules can query additional disk properties in much the same way they can query GEOM attributes. ... However, I think that we should not move existing mandatory fields out if they really are mandatory -- right now the API guarantees that certain values will always be available, and will not change. ...
    (freebsd-arch)