On Nov 15, 2005, at 2:19 PM, Benjámin Salánki wrote:
> I have a method that checks if there is available free space on a
> disc to fit my data on it.
> But if a rewritable disc is inserted into the drive and i choose
> erase before burn my app still calculates the free space that is
> available on the yet unerased disc.
> My question is if i can somehow query if the erase before burn
> option was selected in the DRBurnSetupPanel, as I have my method
> check for the size right after the setup panel ended.
> Or should I check at some other point before the burning starts?
You should check the (k)DRDeviceMediaBlocksOverwritable instead of
the free space. For rewritable media, overwritable will be the value
of free space** after the disc has been erased.