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.

When the server receives this message, it MUST validate the following parameter:•Verify that p<strong>Service</strong>Prop is not NULL.The server MUST populate the <strong>VDS</strong>_SERVICE_PROP structure that p<strong>Service</strong>Prop references withthe properties of the server and return an HRESULT that indicates failure or success.3.4.5.2.4.4 IVds<strong>Service</strong>::QueryProviders (Opnum 6)The QueryProviders method enumerates the providers of the server.HRESULT QueryProviders([in] DWORD masks,[out] IEnumVdsObject** ppEnum);masks: The combination of any values, by using a bitwise OR operator, that the<strong>VDS</strong>_QUERY_PROVIDER_FLAG enumeration defines. The values that are set in the maskspecify the types of providers to return.ppEnum: A pointer to an IEnumVdsObject interface that, if successfully completed, receivesthe IEnumVdsObject interface of the object that contains an enumeration of provider objectson the server. Callers MUST release the interface that is received 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.When the server receives this message, it MUST validate the following parameter:•Verify that ppEnum is not NULL.The server MUST point ppEnum to an IEnumVdsObject interface that contains the enumeration ofprovider objects in the list of cached storage management objects, as specified in section 3.4.1.3,and return an HRESULT that indicates failure or success.3.4.5.2.4.5 IVds<strong>Service</strong>::QueryUnallocated<strong>Disk</strong>s (Opnum 8)The QueryUnallocated<strong>Disk</strong>s method enumerates the unallocated disks on the server.HRESULT QueryUnallocated<strong>Disk</strong>s([out] IEnumVdsObject** ppEnum);ppEnum: A pointer to an IEnumVdsObject interface that, if the operation is successfullycompleted, receives the IEnumVdsObject interface of the object that contains anenumeration of disk objects that correspond to unallocated disks on the server. Callers MUSTrelease the interface that is received 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, 2011174 / 360

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

Saved successfully!

Ooh no, something went wrong!