Greetings!
Sorry for disturbing you once more, looks like I'm misunderstanding something or even simply doing it wrong.
Here is the situation: I'm recording multi-session disc, the second session adds some files to the folder created during the first one. (On the clear disc I recorded folder
A with some files (
a1,
a2), then I burn the second session with the folder
A and files
a3 and
a4)
I was sure it would work fine as I found that in
CN_FILE_TREE_PROGRESS_NAME_COLLISION callback I can answer
NAME_COLLISION_MERGE_FOLDERS (actually, that's the default answer for directories, as I discovered).
So, I just wrote the following code:
Code:
if(l__PNAME_COLLISION_INFO->m__NAME_COLLISION_SOLUTION == NAME_COLLISION_MERGE_FOLDERS)
return;
And expect this directories to be merged.
But, instead, I've got the disc with only the files recored by the second session (
a3,a4, in example described above)
In documentation this moment is explained differently in 2 places:
1) In help topic
_NAME_COLLISION_SOLUTION this item is explained as
NAME_COLLISION_MERGE_FOLDERS Add files from new folder into an old folder 2) but in description of
PNAME_COLLISION_INFO,
m__NAME_COLLISION_SOLUTION is explained as
The solution of the collision (what action has been performed) (so it sounds as I have to do it, what is true only for renaming, I guess. or for merging also?).
So,
my question is following: what had I misunderstood about all this stuff and what I have to do to merge folders successfully? (to have new files added to the directory instead of replacing whole directory with the new one.)
Attaching the log file, even though I haven't found anything useful for me there.
And, again: I'm absolutely
not in a hurry with this and it's totally enough just to point me the manual where I can find the answer (I haven't found it neither in manuals nor in samples).