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.

•FileSystem member is a <strong>VDS</strong>_FILE_SYSTEM_NOTIFICATION with the followingattributes:•ulEvent is <strong>VDS</strong>_NF_FILE_SYSTEM_FORMAT_PROGRESS.•volumeId is set to GUID_NULL.•dwPercentCompleted is the percentage completed value.The server MUST then perform the following in sequence:•Format the partition following the parameters specified to the method.•If TRUE is specified for bEnableCompression and the file system being formatted supportscompression, compress the file system after formatting is complete.•Set the return code in the async object to an HRESULT indicating failure or success.•If the server tried to compress the file system after formatting it and failed, the return codeMUST be set to <strong>VDS</strong>_S_VOLUME_COMPRESS_FAILED--an HRESULT of 0x00042443.•If the task completed successfully, set the percentage completed value in the async object to100.•Set the signal state in the async object to TRUE.3.4.5.2.23.10 IVdsAdvanced<strong>Disk</strong>::Clean (Opnum 12)The Clean method cleans a disk.HRESULT Clean([in] long bForce,[in] long bForceOEM,[in] long bFullClean,[out] IVdsAsync** ppAsync);bForce: A Boolean value that indicates whether the cleaning operation will be forced. If set, themethod attempts to clean the disk, even if data volumes or ESP partitions are present.bForceOEM: A Boolean value that indicates whether the cleaning operation of an OEM partitionwill be forced. If the disk contains an OEM partition, but bForceOEM is not set, the operationSHOULD fail. If the value is set, the method attempts to clean the disk, even if OEM partitionsare present.bFullClean: A Boolean value specifying whether the cleaning operation removes all the datafrom the disk.ppAsync: A pointer to an IVdsAsync interface that, if the operation is successfully completed,receives the IVdsAsync interface to monitor and control this operation. Callers MUST releasethe interface when they are done with it.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.[<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, 2011221 / 360

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

Saved successfully!

Ooh no, something went wrong!