none
[How] Random rewriting on a DVD +RW?

Answers

  • Hi Jeffrey,

    Unfortunately, IMAPI2 does not support random writes to RW media, it only supports mastered (session-at-once) burning to RW media.

    Having said that, there is a way for you to emulate random-write behavior, but you would be on your own here. The mechanism is as follows: you can use IFileSystemImage.get_Root to get the root directory of a file system image, and then use IFsiDirectoryItem.Remove method to remove a specific file from the image. From there, you can proceed to burn the resulting image onto the disc, but you would have to set the random-write multisession first using IFileSystemImage.put_MultisessionInterfaces.

    To do truly random writes to RW media, you would have to use Live File System as IMAPI only support mastered burning. Unfortunately, Live File System does not provide an API for external application developers.

    I hope this helps!

    With regards,
    Dmitri
    Friday, August 28, 2009 12:09 AM

All replies

  • Are you trying to write using the mastered or live file system?

    For Windows 7, multisession on RW media should be supported on:
        IMAPI_MEDIA_TYPE_DVDPLUSRW,
        IMAPI_MEDIA_TYPE_DVDDASHRW,
        IMAPI_MEDIA_TYPE_DVDRAM,
        IMAPI_MEDIA_TYPE_BDRE,
        IMAPI_MEDIA_TYPE_DISK



    Thursday, August 13, 2009 8:17 PM
  • Hi Jeffrey,

    Unfortunately, IMAPI2 does not support random writes to RW media, it only supports mastered (session-at-once) burning to RW media.

    Having said that, there is a way for you to emulate random-write behavior, but you would be on your own here. The mechanism is as follows: you can use IFileSystemImage.get_Root to get the root directory of a file system image, and then use IFsiDirectoryItem.Remove method to remove a specific file from the image. From there, you can proceed to burn the resulting image onto the disc, but you would have to set the random-write multisession first using IFileSystemImage.put_MultisessionInterfaces.

    To do truly random writes to RW media, you would have to use Live File System as IMAPI only support mastered burning. Unfortunately, Live File System does not provide an API for external application developers.

    I hope this helps!

    With regards,
    Dmitri
    Friday, August 28, 2009 12:09 AM