 |
Site Admin |
Joined: Fri Jun 18, 2004 12:03 am Posts: 4089 Location: British Virgin Islands
|
1) Use ReadLB(...) API call to read first 16 logical blocks from LBA offset zero. If you'd fail to read or returned buffer has all zeros - disc is either unformatted or formatted with blank file system.
2) You cannot. You can burn with UDF or we can export some FAT formatting code but Windows itself will not assume the volume as writable (for UDF you'll have to have write driver and write capable UDF implementation). For FAT it should work w/o any drivers.
3) You can format with SHFormatDrive(...) but it will pop up format dialog.
Blank(...) will do physical DVD-RAM format, no logical disc layout...
|
|