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.

•For each callback object that is registered in the list of callback objects, call the callback object'sIVdsAdviseSink::OnNotify (Opnum 3) method by using a <strong>VDS</strong>_NOTIFICATION structurethat has the following attributes:•objectType member is <strong>VDS</strong>_NTT_PARTITION.•Partition member is a <strong>VDS</strong>_PARTITION_NOTIFICATION that has the following attributes:•ulEvent is <strong>VDS</strong>_NF_PARTITION_ARRIVE.•diskId is the <strong>VDS</strong>_OBJECT_ID of the disk object that corresponds to the disk on which thepartition was added.•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 that is registered inthe list of callback objects, call the callback object's IVdsAdviseSink::OnNotify (Opnum 3)method by using a <strong>VDS</strong>_NOTIFICATION structure that has the following attributes:•objectType member is <strong>VDS</strong>_NTT_VOLUME.•Volume member is a <strong>VDS</strong>_VOLUME_NOTIFICATION that has 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 that is registered in the list of callback objects, call the callback object'sIVdsAdviseSink::OnNotify (Opnum 3) method by using a <strong>VDS</strong>_NOTIFICATION structure thathas the following attributes:•objectType member is <strong>VDS</strong>_NTT_DISK.•<strong>Disk</strong> member is a <strong>VDS</strong>_DISK_NOTIFICATION that has 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.23.4 IVdsAdvanced<strong>Disk</strong>::DeletePartition (Opnum 6)The DeletePartition method deletes a partition from the disk at a specified byte offset.HRESULT DeletePartition([in] ULONGLONG ullOffset,[in] long bForce,[in] long bForceProtected);ullOffset: The byte offset of the partition, from the beginning of the disk. This offset MUST bethe offset at the start of a partition.[<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, 2011214 / 360

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

Saved successfully!

Ooh no, something went wrong!