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?

You may want to check for better help.