NBF_CLOSE_SESSION flag is ignored

vbimport

#1

My program is writing the CD RW disk. When I am using NBF_CLOSE_SESSION flag in NeroCreateIsoTrackEx, I expect to be able to continue this disk next time. However, it looks that this flag is ignored:

dwFlags = NCITEF_CREATE_ISO_FS | NCITEF_USE_JOLIET | NBF_CLOSE_SESSION;

NERO_CITE_ARGS citeArgs;
memset (&citeArgs, 0, sizeof (citeArgs));

citeArgs.dwBurnOptions = dwFlags;
citeArgs.name = “Volume”;
citeArgs.firstRootItem = *ppItem;

*ppIsoTrack = NeroCreateIsoTrackEx(NULL,
(const char *) &citeArgs,
NCITEF_USE_STRUCT);

What is missing? Next time the disk is burned I can only erase it and cannot import existing session.


#2

Found solution myself: flag should be used for NeroBurn function.