[How] Random rewriting on a DVD +RW?
-
Wednesday, August 12, 2009 3:00 AMDoes IMPAI2 support the random rewriting on a DVD+RW?
All Replies
-
Thursday, August 13, 2009 8:17 PMModerator
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- Proposed As Answer by Mikhail PranovichMicrosoft Employee, Moderator Thursday, August 13, 2009 8:17 PM
- Edited by Ope Aladekomo Thursday, August 13, 2009 11:12 PM team review
-
Friday, August 28, 2009 12:09 AMModerator
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- Proposed As Answer by Dmitri BouianovModerator Friday, August 28, 2009 12:09 AM
- Marked As Answer by Ope Aladekomo Thursday, September 24, 2009 10:29 PM


