How to burn directory structure

Hi all,
How can I burn a completely directory structure to a CD/DVD using Nero SDK.
Also, there is no clear distinction in the code samples given for writing CD and DVD. What is the difference?
Thanks…

You may want to check http://club.cdfreaks.com/forumdisplay.php?f=73 for better help.