VixDiskLib_Close() closes an open virtual disk.
VixDiskLib_Close(srcHandle);
VixDiskLib_Close() returns VIX_OK if successful, otherwise a suitable error code. To obtain a list of possible return codes, see Finding Error Code Documentation.
If a program has worker threads called from a master process, errors might occur in the threads after the master process calls VixDiskLib_Close(). Always wait for worker threads to end before calling close.