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 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 following parameter:•Verify that pVolumeProperties is not NULL.The server MUST populate the <strong>VDS</strong>_VOLUME_PROP structure that pVolumePropertiesreferences with the properties of the volume, and then return an HRESULT indicating failure orsuccess. For information on <strong>VDS</strong>_VOLUME_PROP, see section 2.2.2.13.1.1.3.4.5.2.30.2 IVdsVolume::GetPack (Opnum 4)The GetPack method retrieves the disk pack to which the volume belongs.HRESULT GetPack([out] IVdsPack** ppPack);ppPack: A pointer to an IVdsPack interface that, if the operation is successfully completed,receives the IVdsPack interface of the pack object to which the volume belongs. Callers MUSTrelease the interface when they are done with it.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 following parameter:•Verify that ppPack is not NULL.The server MUST point ppPack to an IVdsPack interface of the pack object that the volume object'spack pointer refers to. It MUST then return an HRESULT indicating failure or success.3.4.5.2.30.3 IVdsVolume::QueryPlexes (Opnum 5)The QueryPlexes method enumerates the plexes of a volume.HRESULT QueryPlexes([out] IEnumVdsObject** ppEnum);ppEnum: A pointer to an IEnumVdsObject interface that, if the operation is successfullycompleted, receives the IEnumVdsObject interface of the object that contains anenumeration of volume plex objects in the volume. Callers MUST release the interface whenthey are done with it.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.[<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, 2011236 / 360

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

Saved successfully!

Ooh no, something went wrong!