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.

•Verify that plNumberOfFileSystems is not NULL.The server MUST point ppFileSystemTypeProps to an array of <strong>VDS</strong>_FILE_SYSTEM_TYPE_PROPstructures containing information about each file system that <strong>VDS</strong> is aware of, pointplNumberOfFileSystems to the size of the array, and return an HRESULT indicating failure orsuccess.3.4.5.2.4.9 IVds<strong>Service</strong>::Reenumerate (Opnum 12)The Reenumerate method discovers newly added and newly removed disks and returns the statusof the operation in the HRESULT.HRESULT Reenumerate();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.When the server receives this message, it MUST issue a request to all buses on the machine. Therequest causes the buses to report any new devices, or devices no longer present, to the operatingsystem. The server MUST also return an HRESULT indicating failure or success.3.4.5.2.4.10 IVds<strong>Service</strong>::Refresh (Opnum 13)The Refresh method refreshes the ownership and layout of disks on the server.HRESULT Refresh();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.When the server receives this message, it MUST requery the list of storage devices from theoperating system, refresh its list of storage management objects based on the result of the requery,and return an HRESULT indicating failure or success.Result of requeryAction server MUST takeNew pack found Add pack to list; see section 3.4.5.1.1New disk found Add disk to list; see section 3.4.5.1.3New volume found Add volume to list; see section 3.4.5.1.5Pack currently in list not found Remove pack from list; see section 3.4.5.1.2<strong>Disk</strong> currently in list not found Remove disk from list; see section 3.4.5.1.4177 / 360[<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, 2011

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

Saved successfully!

Ooh no, something went wrong!