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.

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 pProviderProp is not NULL.The server MUST populate the <strong>VDS</strong>_PROVIDER_PROP structure that pProviderProp referenceswith the properties of the provider. It MUST then return an HRESULT indicating failure or success.For information on the <strong>VDS</strong>_PROVIDER_PROP structure, see section 2.2.2.7.2.1.3.4.5.2.14 IVdsSwProvider Methods3.4.5.2.14.1 IVdsSwProvider::QueryPacks (Opnum 3)The QueryPacks method retrieves the provider disk packs.HRESULT QueryPacks([out] IEnumVdsObject** ppEnum);ppEnum: A pointer to an IEnumVdsObject interface that, if the operation is successfullycompleted, receives the IEnumVdsObject interface of the object containing an enumerationof pack objects in the provider. Callers MUST release the 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.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 ofpack objects in the list of cached storage management objects that have their provider pointer setto this provider object. The server MUST then return an HRESULT indicating failure or success. Forinformation on enumeration objects, see section 3.4.1.3.3.4.5.2.14.2 IVdsSwProvider::CreatePack (Opnum 4)The CreatePack method creates a disk pack.HRESULT CreatePack([out] IVdsPack** ppPack);ppPack: A pointer to an IVdsPack interface that, if the operation is successfully completed,receives the IVdsPack interface of the newly created disk pack. Callers MUST release theinterface when they are done with it.[<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, 2011189 / 360

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

Saved successfully!

Ooh no, something went wrong!