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.

3.4.7.6 <strong>Disk</strong> ModificationWhen the server detects that a disk was modified, for each callback object that is registered in thelist of callback objects, the server MUST call the callback object's IVdsAdviseSink::OnNotify(section 3.3.4.3.1) method by using a <strong>VDS</strong>_NOTIFICATION (section 2.2.1.3.9) structure thathas the following attributes:•objectType member is <strong>VDS</strong>_NTT_DISK.•<strong>Disk</strong> member is a <strong>VDS</strong>_DISK_NOTIFICATION (section 2.2.1.3.3) with the followingattributes:•ulEvent is <strong>VDS</strong>_NF_DISK_MODIFY.•diskId is the <strong>VDS</strong>_OBJECT_ID (section 2.2.1.1.3) of the disk object.3.4.7.7 Volume ArrivalWhen the server detects a new volume on the system, the server MUST add a volume object for it.For information on how to add a volume object, see section 3.4.5.1.5.3.4.7.8 Volume RemovalWhen the server detects that a volume was removed from the system, the server MUST remove thecorresponding volume object. For information on how to remove a volume object, see section3.4.5.1.6.3.4.7.9 Volume ModificationWhen the server detects that a volume was modified, for each callback object that is registered inthe list of callback objects, the server MUST call the callback object's IVdsAdviseSink::OnNotify(section 3.3.4.3.1) method by using a <strong>VDS</strong>_NOTIFICATION (section 2.2.1.3.9) structure thathas the following attributes:•objectType member is <strong>VDS</strong>_NTT_VOLUME.•Volume member is a <strong>VDS</strong>_VOLUME_NOTIFICATION (section 2.2.1.3.4) with the followingattributes:•ulEvent is <strong>VDS</strong>_NF_VOLUME_MODIFY.•volumeId is the <strong>VDS</strong>_OBJECT_ID (section 2.2.1.1.3) of the volume object.•plexId SHOULD be GUID_NULL, but it is not relevant when ulEvent is<strong>VDS</strong>_NF_VOLUME_MODIFY.•ulPercentCompleted needs to be from 0 to 100 and is implementation-specific, but it is notrelevant when ulEvent is <strong>VDS</strong>_NF_VOLUME_MODIFY.3.4.7.10 File System ModificationWhen the server detects that a volume was formatted, for each callback object that is registered inthe list of callback objects, the server MUST call the callback object's IVdsAdviseSink::OnNotify()(section 3.3.4.3.1) method by using a <strong>VDS</strong>_NOTIFICATION (section 2.2.1.3.9) structure thathas the following attributes:[<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, 2011277 / 360

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

Saved successfully!

Ooh no, something went wrong!