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.

ulFlags: A value from the <strong>VDS</strong>_SERVICE_FLAG enumeration. Only the<strong>VDS</strong>_SVF_AUTO_MOUNT_OFF flag is valid for this method.Return Values: The method MUST return zero or a nonerror 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 ulFlags does not contain any flags that the parameter specification disallows.The server MUST attempt to set the service flags that ulFlags specifies and return an HRESULTindicating failure or success.3.4.5.2.4.16 IVds<strong>Service</strong>::ClearFlags (Opnum 19)The ClearFlags method clears property flags from the service.HRESULT ClearFlags([in] unsigned long ulFlags);ulFlags: A value from the <strong>VDS</strong>_SERVICE_FLAG enumeration. Only the<strong>VDS</strong>_SVF_AUTO_MOUNT_OFF flag is valid for this method.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 ulFlags does not contain any flags that the parameter specification disallows.The server MUST attempt to clear the service flags that ulFlags specifies and return an HRESULTindicating failure or success.3.4.5.2.5 IVds<strong>Service</strong>Initialization Methods3.4.5.2.5.1 IVds<strong>Service</strong>Initialization::Initialize (Opnum 3)The Initialize method starts the initialization of the server.HRESULT Initialize([in, unique, string] WCHAR* pwszMachineName);pwszMachineName: Reserved; this parameter is not used.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, 2011180 / 360

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

Saved successfully!

Ooh no, something went wrong!