3.2.1.6 Virtual Disks

IVdsOpenVDisk::Attach: Prior to invoking Attach, the client invokes IVdsVdProvider::QueryVDisks or IVdsVdProvider::CreateVDisk or IVdsVdProvider::AddVDisk to retrieve the virtual disk object. Then the client invokes IVdsVDisk::Open to retrieve the OpenVirtualDisk object.

IVdsOpenVDisk::Detach: Prior to invoking Detach, the client invokes IVdsVdProvider::QueryVDisks or IVdsVdProvider::GetVDiskFromDisk to retrieve an interface pointer to the virtual disk object to detach. Then the client invokes IVdsVDisk::Open to retrieve the OpenVirtualDisk object.

IVdsOpenVDisk::DetachAndDelete: DetachAndDelete has the same call sequence description as IVdsOpenVDisk::Detach.

IVdsOpenVDisk::Compact: Compact can be done on an attached virtual disk or on a detached virtual disk. Calling Compact on a detached virtual disk has the same call sequence description as IVdsOpenVDisk::Attach. Calling Compact on an attached virtual disk has the same call sequence as IVdsOpenVDisk::Detach.

IVdsOpenVDisk::Merge: Merge has the same call sequence description as IVdsOpenVDisk::Attach.

IVdsOpenVDisk::Expand: Expand has the same call sequence description as IVdsOpenVDisk::Attach.

IVdsVDisk::Open: Prior to invoking Open, the client invokes IVdsVdProvider::QueryVDisks, IVdsVdProvider::GetVDiskFromDisk, or IVdsVdProvider::AddVDisk to retrieve an interface pointer to the virtual disk object to open.

IVdsVDisk::GetProperties: GetProperties has the same call sequence description as IVdsVDisk::Open.

IVdsVDisk::GetHostVolume: GetHostVolume has the same call sequence description as IVdsVDisk::Open.

IVdsVDisk::GetDeviceName: GetDeviceName has the same call sequence description as IVdsVDisk::Open.