13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

•Return an HRESULT indicating failure or success; also return an HRESULT for each disk that isinvolved in the migration by using the pResults output parameter.The server MAY perform the following:•For each callback object that is registered in the list of callback objects, call the callback object'sIVdsAdviseSink::OnNotify (section 3.3.4.3.1) method by using a <strong>VDS</strong>_NOTIFICATION(section 2.2.1.3.9) structure that has the following attributes:•objectType member is the value <strong>VDS</strong>_NTT_PACK.•Pack member is a <strong>VDS</strong>_PACK_NOTIFICATION (section 2.2.1.3.2) structure that has thefollowing attributes:•ulEvent is the value <strong>VDS</strong>_NF_PACK_MODIFY.•packId is the <strong>VDS</strong>_OBJECT_ID (section 2.2.1.1.3) value of this pack object.3.4.5.2.18.8 IVdsPack::RemoveMissing<strong>Disk</strong> (Opnum 11)The IVdsPack::RemoveMissing<strong>Disk</strong> method removes the specified missing disk from a disk pack.This method only applies to dynamic disks. There must be at least one dynamic disk present inorder to enumerate missing disks.HRESULT RemoveMissing<strong>Disk</strong>([in] <strong>VDS</strong>_OBJECT_ID <strong>Disk</strong>Id);<strong>Disk</strong>Id: The <strong>VDS</strong> object ID of the disk object to remove.Return Values: The method MUST return zero or a non-error HRESULT (as specified in [<strong>MS</strong>-ERREF]) to indicate success, or return an implementation-specific nonzero error code toindicate failure. For the HRESULT values predefined by the <strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> Remote<strong>Protocol</strong>, see section 2.2.3.When the server receives this message, it MUST validate the parameters:•Verify that <strong>Disk</strong>Id belongs to a disk object in the list of storage management objects thatcorrespond to a disk that is missing. The missing disk has its pack pointer set to this pack object.•If this method is called against a disk which contains data volume extents, then this methodMUST return <strong>VDS</strong>_E_DISK_NOT_EMPTY.For each callback object that is registered in the list of callback objects, call the callback object'sIVdsAdviseSink::OnNotify (section 3.3.4.3.1) method by using a <strong>VDS</strong>_NOTIFICATION(section 2.2.1.3.9) structure that has the following attributes:•objectType member is the value <strong>VDS</strong>_NTT_PACK.•Pack member is a <strong>VDS</strong>_PACK_NOTIFICATION (section 2.2.1.3.2) structure that has thefollowing attributes:•ulEvent is the value <strong>VDS</strong>_NF_PACK_MODIFY.•packId is the <strong>VDS</strong>_OBJECT_ID (section 2.2.1.1.3) value of this pack object.[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 2011202 / 360

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!