This procedure employs the Windows thread library to make multiple copies of a virtual disk file. Specify the number of copies with the -multithread command-line option. For each copy, the sample program calls the CopyThread() procedure, which in turn calls a sequence of six Virtual Disk API routines.

On Linux the multithread option is unimplemented.