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.3.4.5.2.31 IVdsVolume2 Methods3.4.5.2.31.1 IVdsVolume2::GetProperties2 (Opnum 3)The GetProperties2 method retrieves the properties of the volume that is represented by theobject exposing this interface and method.HRESULT GetProperties2([out] <strong>VDS</strong>_VOLUME_PROP2 pVolumeProperties);pVolumeProperties: A pointer to a <strong>VDS</strong>_VOLUME_PROP2 (section 2.2.2.14.1.1) structurethat, if the operation is successfully completed, receives the properties of the volume.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_PROP2 structure that pVolumeProperties referenceswith the properties of the volume, and return an HRESULT indicating failure or success.3.4.5.2.32 IVdsVolumeMF Methods3.4.5.2.32.1 IVdsVolumeMF::GetFileSystemProperties (Opnum 3)The GetFileSystemProperties method returns property details about the file system on thecurrent volume.HRESULT GetFileSystemProperties([out] <strong>VDS</strong>_FILE_SYSTEM_PROP* pFileSystemProp);pFileSystemProp: A pointer to a <strong>VDS</strong>_FILE_SYSTEM_PROP structure that, if the operation issuccessfully completed, receives the properties of the file system on the volume.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 pFileSystemProp is not NULL.The server MUST populate the <strong>VDS</strong>_FILE_SYSTEM_PROP structure (as specified in section2.2.1.3.17) that pFileSystemProp references by using the properties of the file system on thevolume. The server MUST then return an HRESULT indicating failure or success.[<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, 2011247 / 360

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

Saved successfully!

Ooh no, something went wrong!