Function OpenVDS::Close

inline void OpenVDS::Close(VDSHandle handle, bool flush = true)

Close a VDS and free up all associated resources. If an error occurs, an exception will be thrown.

Parameters:

handle – The handle of the VDS

inline void OpenVDS::Close(VDSHandle handle, Error &error, bool flush = true)

Close a VDS and free up all associated resources.

Parameters:
  • handle – The handle of the VDS

  • error – If an error occured, the error code and message will be written to this output parameter