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.

HRESULT GetFileSystemTypeName([out, string] WCHAR** ppwszFileSystemTypeName);ppwszFileSystemTypeName: A pointer that, if the operation is successfully completed,receives a null-terminated Unicode string with the file system name.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 ppwszFileSystemTypeName is not NULL.The server MUST point ppwszFileSystemTypeName to a string that contains the name of the filesystem on the volume, and then return an HRESULT indicating failure or success.3.4.5.2.33.2 IVdsVolumeMF2::QueryFileSystemFormatSupport (Opnum 4)The QueryFileSystemFormatSupport method retrieves the properties of the file systems that aresupported for formatting a volume.HRESULT QueryFileSystemFormatSupport([out, size_is(,*plNumberOfFileSystems)]<strong>VDS</strong>_FILE_SYSTEM_FORMAT_SUPPORT_PROP** ppFileSystemSupportProps,[out] long* plNumberOfFileSystems);ppFileSystemSupportProps: A pointer to an array of<strong>VDS</strong>_FILE_SYSTEM_FORMAT_SUPPORT_PROP structures which, if the operationcompletes successfully, receives an array of properties of each supported file-system.plNumberOfFileSystems: A pointer to a variable which, if the operation completes successfully,receives the total number of elements returned in ppFileSystemSupportProps.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 parameters:•Verify that ppFileSystemSupportProps is not NULL.•Verify that plNumberOfFileSystems is not NULL.The server MUST point ppFileSystemSupportProps to an array of<strong>VDS</strong>_FILE_SYSTEM_FORMAT_SUPPORT_PROP structures that contains information about eachfile system that is supported for formatting the volume, point plNumberOfFileSystems to the sizeof the array, and 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, 2011256 / 360

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

Saved successfully!

Ooh no, something went wrong!