How do I limit the size of the storage (for example, when the storage is to be written on a CD or DVD)?

You can create a growing storage with a maximum size set (set the MaxPageCount property), or you can create a storage with a fixed preset size (see the FormatFixedSize method). In the first case, the storage is still resizable but can't be larger than the specified size. In the second case, the storage is preallocated and always takes up a fixed amount of space.

Ready to get started?

Learn more about Callback Technologies or download a free trial.

Download Now