How do I format a CD with UDF

I’m writing a VB6 application that should automatically format a CD-R when I put a new CD-R in the burnerdevice. I would like to format the CD-R with UDF so I can use Explorer to look at the CD.

Unless I’m mistaken, you can only use UDF on re-writable disks.

Sorry, but it is not possible to format a disc with NeroAPI.