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.

HRESULT GetProperties([out] <strong>VDS</strong>_HBAPORT_PROP* pHbaPortProp);pHbaPortProp: A pointer to a <strong>VDS</strong>_HBAPORT_PROP structure that, if the operation issuccessfully completed, receives the properties of the HBA port.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 pHbaPortProp is not NULL.The server MUST populate the <strong>VDS</strong>_HBAPORT_PROP structure that pHbaPortProp references withthe properties of the HBA port, and return an HRESULT that indicates failure or success. For moreinformation on the <strong>VDS</strong>_HBAPORT_PROP structure, see section 2.2.2.4.2.2.3.4.5.2.10.2 IVdsHbaPort::SetAllPathStatuses (Opnum 4)The SetAllPathStatuses method sets the statuses of all paths that originate from the HBA port to aspecified status.HRESULT SetAllPathStatuses([in] <strong>VDS</strong>_PATH_STATUS status);status: The status, as defined by <strong>VDS</strong>_PATH_STATUS, to assign to the paths.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.11 IVdsIscsiInitiatorAdapter Methods3.4.5.2.11.1 IVdsIscsiInitiatorAdapter::GetProperties (Opnum 3)The GetProperties method retrieves the properties of the initiator adapter that is represented bythe object exposing this interface and method.HRESULT GetProperties([out] <strong>VDS</strong>_ISCSI_INITIATOR_ADAPTER_PROP* pInitiatorAdapterProp);pInitiatorAdapterProp: A pointer to a <strong>VDS</strong>_ISCSI_INITIATOR_ADAPTER_PROP structurethat, if the operation is successfully completed, receives the properties of the initiator adapter.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 to[<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, 2011186 / 360

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

Saved successfully!

Ooh no, something went wrong!