The sample program uses twelve bitwise shift operations (1 << 11) to track its available commands and the multithread option. The Virtual Disk API has about 30 library functions, some for initialization and cleanup. The following library functions are not demonstrated in the sample program:
- VixDiskLib_Rename()
- VixDiskLib_Defragment()
- VixDiskLib_Grow()
- VixDiskLib_Shrink()
- VixDiskLib_Unlink()
- VixDiskLib_Attach()
The sample program transmits state in the appGlobals structure.