Microsoft SQL Server Virtual Backup Device Specification
IServerVirtualDevice::CloseDevice
| Purpose | This function closes a virtual device that had been opened with IServerVirtualDeviceSet2::OpenDevice | |
| Syntax | HRESULT IServerVirtualDevice::CloseDevice (); |
|
| Parameters | Argument | Explanation |
|---|---|---|
| None | Not applicable | |
| Return Values | Argument | Explanation |
| VD_E_CLOSE | The device is already closed. | |
| VD_E_ABORT | The interface is in the Abort state. | |
| Remarks | CloseDevice is not required after SignalAbort is used to force abnormal termination. If CloseDevice is invoked after SignalAbort is used, no action is taken. | |