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.

wcFirstLetter: The first drive letter to query as a single uppercase or lowercase alphabetical (A-Z) Unicode character.count: The total number of drive letters to retrieve, beginning with the letter that wcFirstLetterspecifies. This MUST also be the number of elements in the pDriveLetterPropArray. It MUSTNOT exceed the total number of drive letters between the letter in wcFirstLetter and the lastpossible drive letter (Z), inclusive.pDriveLetterPropArray: An array of <strong>VDS</strong>_DRIVE_LETTER_PROP structures that, if theoperation is successfully completed, receives the array of drive letter properties.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 wcFirstLetter is an uppercase or lowercase alphabetical character (A-Z) in Unicodeformat.•Verify that the count does not exceed the total number of drive letters between the letter inwcFirstLetter and the last possible drive letter (Z), inclusive.•Verify that pDriveLetterPropArray is not NULL.The server MUST populate the <strong>VDS</strong>_DRIVE_LETTER_PROP structure that pDriveLetterPropArrayreferences with information about each drive letter that is requested. The server MUST then returnan HRESULT indicating failure or success.3.4.5.2.4.8 IVds<strong>Service</strong>::QueryFileSystemTypes (Opnum 11)The QueryFileSystemTypes method returns property details for all file systems that are known to<strong>VDS</strong>.HRESULT QueryFileSystemTypes([out, size_is(,*plNumberOfFileSystems)]<strong>VDS</strong>_FILE_SYSTEM_TYPE_PROP** ppFileSystemTypeProps,[out] long* plNumberOfFileSystems);ppFileSystemTypeProps: A pointer to an array of <strong>VDS</strong>_FILE_SYSTEM_TYPE_PROPstructures that, if the operation is successfully completed, receives the array of file systemtype properties.plNumberOfFileSystems: A pointer to a variable that, if the operation is successfullycompleted, receives the total number of elements returned in ppFileSystemTypeProps.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 ppFileSystemTypeProps is not NULL.[<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, 2011176 / 360

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

Saved successfully!

Ooh no, something went wrong!