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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

•IVds<strong>Service</strong>Uninstall<strong>Disk</strong>•IVds<strong>Service</strong>SAN3.4.5.2.4 IVds<strong>Service</strong> Methods3.4.5.2.4.1 IVds<strong>Service</strong>::Is<strong>Service</strong>Ready (Opnum 3)The Is<strong>Service</strong>Ready method determines whether a service is finished initializing. Until the serviceinitialization completes, an application SHOULD NOT call any method other thanGetProperties.HRESULT Is<strong>Service</strong>Ready();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.3.4.5.2.4.2 IVds<strong>Service</strong>::WaitFor<strong>Service</strong>Ready (Opnum 4)The WaitFor<strong>Service</strong>Ready method waits for <strong>VDS</strong> initialization to complete and returns the statusof the <strong>VDS</strong> initialization in the HRESULT.HRESULT WaitFor<strong>Service</strong>Ready();This method has no parameters.Return Values: The method MUST return zero to indicate success or the error code<strong>VDS</strong>_E_INITIALIZED_FAILED if the service-ready state is "failed".Upon receiving this message, if the service-ready state is or becomes "failed", the server MUSTreturn <strong>VDS</strong>_E_INITIALIZED_FAILED (HRESULT of 0x80042401). The server MUST block the call untilthe service-ready state is "ready", after which it MUST return success (HRESULT of 0x00000000).3.4.5.2.4.3 IVds<strong>Service</strong>::GetProperties (Opnum 5)The GetProperties method retrieves the properties of the service that is represented by the objectthat exposes this interface and method.HRESULT GetProperties([out] <strong>VDS</strong>_SERVICE_PROP* p<strong>Service</strong>Prop);p<strong>Service</strong>Prop: A pointer to a <strong>VDS</strong>_SERVICE_PROP structure that, if the operation issuccessfully completed, receives the properties of the service.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, 2011173 / 360

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

Saved successfully!

Ooh no, something went wrong!