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.

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 pInitiatorPortalProp is not NULL.The server MUST populate the <strong>VDS</strong>_ISCSI_INITIATOR_PORTAL_PROP structure thatpInitiatorPortalProp references with the properties of the iSCSI initiator portal and then return anHRESULT indicating failure or success. For information on the <strong>VDS</strong>_ISCSI_INITIATOR_PORTAL_PROPstructure, see section 2.2.2.6.2.2.3.4.5.2.12.2 IVdsIscsiInitiatorPortal::GetInitiatorAdapter (Opnum 4)The GetInitiatorAdapter method returns the initiator adapter to the initiator portal it belongs to.HRESULT GetInitiatorAdapter([out] IVdsIscsiInitiatorAdapter** ppInitiatorAdapter);ppInitiatorAdapter: A pointer to an IVdsIscsiInitiatorAdapter interface that, if the operationis successfully completed, receives the IVdsIscsiInitiatorAdapter interface of the initiatoradapter object that the initiator portal belongs to. Callers MUST release the interface whenthey 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 ppInitiatorAdapter is not NULL.The server MUST point ppInitiatorAdapter to an IVdsIscsiInitiatorAdapter interface of theinitiator adapter object that the initiator portal object's initiator adapter pointer refers to. The serverMUST then return an HRESULT indicating failure or success.3.4.5.2.13 IVdsProvider Methods3.4.5.2.13.1 IVdsProvider::GetProperties (Opnum 3)The GetProperties method retrieves the properties of the provider that the object exposing thisinterface and method represents.HRESULT GetProperties([out] <strong>VDS</strong>_PROVIDER_PROP* pProviderProp);pProviderProp: A pointer to a <strong>VDS</strong>_PROVIDER_PROP structure that, if the operation issuccessfully completed, receives the properties of the provider.[<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, 2011188 / 360

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

Saved successfully!

Ooh no, something went wrong!