How do I ensure that a CD or DVD is finalised?

How do I ensure that a CD or DVD is finalised when I write using the BurnIsoAudioCD function.

omit the NERO_BURN_FLAG_CLOSE_SESSION flag.

Mike

Thanks Mike, I have already tried that, but I can still write to the CD after burning