You need to process callbacks from tree creation and keep own track when every single file added or removed. Would update the samples to show it as it seems to be a common question... For now there's no way to get tree size with call to GetTreeSize(...) or whatever. I mean *BEFORE* file system image is initialized with call to Build(...) API call.
matt.wheatley wrote:
Hi
I am after a way of finding out the current size of the ISO9660JolietFileTree.
I have created the file tree, I then Add (ISO9660JolietFileTree_Add) a tree, I would then like to know the size currently being used without having to build the image first. I wish to Add files, see what space I have left, then if I have enough space add another file etc. The GetFileSizeinUCHARS seams only to work after I have built the image using StarBurn_ISO9660JolietFileTree_BuildImage. However I can not call BuildImage twice without getting an exception.
Thanks
M. Wheatley