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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

•ullOffset is the byte offset at which the partition starts on the disk.•If the partition is created on a removable media disk, for each callback object registered in thelist of callback objects, call the callback object's IVdsAdviseSink::OnNotify method with a<strong>VDS</strong>_NOTIFICATION structure with the following attributes:•objectType member is <strong>VDS</strong>_NTT_VOLUME.•Volume member is a <strong>VDS</strong>_VOLUME_NOTIFICATION with the following attributes:•ulEvent is <strong>VDS</strong>_NF_VOLUME_MODIFY.•volumeId is the <strong>VDS</strong>_OBJECT_ID of the volume object corresponding to the removablemedia drive.•For each callback object registered in the list of callback objects, call the callback object'sIVdsAdviseSink::OnNotify method with a <strong>VDS</strong>_NOTIFICATION structure with the followingattributes:•objectType member is <strong>VDS</strong>_NTT_DISK.•<strong>Disk</strong> member is a <strong>VDS</strong>_DISK_NOTIFICATION with the following attributes:•ulEvent is <strong>VDS</strong>_NF_DISK_MODIFY.•diskId is the <strong>VDS</strong>_OBJECT_ID of this disk object.The server MUST update the percentage completed value periodically during the precedingsequence. How often the percentage completed is updated, and at what point in the sequence, isimplementation-specific.3.4.5.2.26 IVds<strong>Disk</strong>Online Methods3.4.5.2.26.1 IVds<strong>Disk</strong>Online::Online (Opnum 3)The Online method brings a disk to the online state. An online disk exposes volume devices tothose volumes that have associated extents on the given disk.HRESULT Online();This method has no parameters.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.ERROR_SUCCESS(0x00000000)The server MUST bring the disk to the online state by creating volume objects for any volumes withassociated extents on the given disk. The server MUST then return an HRESULT indicating failure orsuccess. For more information on the <strong>VDS</strong>_FILE_SYSTEM_PROP structure, see 2.2.1.3.17.3.4.5.2.26.2 IVds<strong>Disk</strong>Online::Offline (Opnum 4)The Offline method brings a disk to the offline state. An offline disk exposes no volume devices.[<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, 2011226 / 360

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

Saved successfully!

Ooh no, something went wrong!