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.

HRESULT Offline();This method has no parameters.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.ERROR_SUCCESS(0x00000000)The server MUST bring the disk to the offline state by removing the volume objects for any volumeswith associated extents on the given disk. The server MUST send volume removal notifications forany volume objects that are removed as a result of bringing the disk to an offline state. The serverMUST then return an HRESULT indicating failure or success. For more information on the<strong>VDS</strong>_FILE_SYSTEM_PROP structure, see 2.2.1.3.17.3.4.5.2.27 IVds<strong>Disk</strong>PartitionMF Methods3.4.5.2.27.1 IVds<strong>Disk</strong>PartitionMF::GetPartitionFileSystemProperties (Opnum 3)The GetPartitionFileSystemProperties method returns property details about the file system on adisk partition at a specified byte offset. This method is only supported on OEM, ESP, recovery, andunknown partitions.HRESULT GetPartitionFileSystemProperties([in] ULONGLONG ullOffset,[out] <strong>VDS</strong>_FILE_SYSTEM_PROP* pFileSystemProp);ullOffset: The byte offset of the partition from the beginning of the disk. This MUST be the offsetat the start of a partition.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 partition.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.ERROR_SUCCESS (0x00000000)When the server receives this message, it MUST validate the following parameter:•Verify that pFileSystemProp is not NULL.•Verify that the partition at offset ullOffset is an OEM, ESP, recovery, or unknown partition.The server MUST populate the <strong>VDS</strong>_FILE_SYSTEM_PROP structure that pFileSystemPropreferences with the properties of the file system on the partition at the byte offset from the[<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, 2011227 / 360

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

Saved successfully!

Ooh no, something went wrong!