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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

eginning of the disk that ullOffset specifies. The server MUST then return an HRESULT indicatingfailure or success. For more information on the <strong>VDS</strong>_FILE_SYSTEM_PROP structure, see section2.2.1.3.17.3.4.5.2.27.2 IVds<strong>Disk</strong>PartitionMF::GetPartitionFileSystemTypeName (Opnum 4)The GetPartitionFileSystemTypeName method retrieves the name of the file system on a diskpartition at a specified byte offset. This method is only supported on OEM, ESP, recovery, andunknown partitions.HRESULT GetPartitionFileSystemTypeName([in] ULONGLONG ullOffset,[out, string] WCHAR** ppwszFileSystemTypeName);ullOffset: The byte offset of the partition from the beginning of the disk. This MUST be the offsetat the start of a partition.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.Note This method is not valid on CD/DVD or super floppy devices. These devices do notsupport partition tables.When the server receives this message, it MUST validate the following parameter:•Verify that ppwszFileSystemTypeName is not NULL.•Verify that the partition at offset ullOffset is an OEM, ESP, recovery, or unknown partition.The server MUST point ppwszFileSystemTypeName to a string containing the file system nameon the partition at the byte offset from the beginning of the disk that ullOffset specifies and thenreturn an HRESULT indicating failure or success.3.4.5.2.27.3 IVds<strong>Disk</strong>PartitionMF::QueryPartitionFileSystemFormatSupport(Opnum 5)The QueryPartitionFileSystemFormatSupport method retrieves the properties of the filesystems that support formatting a disk partition at a specified byte offset. This method is onlysupported on OEM, ESP, recovery, and unknown partitions.Note This method is not valid on CD/DVD or super floppy devices. These devices do not supportpartition tables.HRESULT QueryPartitionFileSystemFormatSupport([in] ULONGLONG ullOffset,[out, size_is(,*plNumberOfFileSystems)]<strong>VDS</strong>_FILE_SYSTEM_FORMAT_SUPPORT_PROP** ppFileSystemSupportProps,[out] long* plNumberOfFileSystems);[<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, 2011228 / 360

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

Saved successfully!

Ooh no, something went wrong!