Skip to content

Latest commit

 

History

History
106 lines (88 loc) · 4.16 KB

nf-vds-ivdsservicehba-queryhbaports.md

File metadata and controls

106 lines (88 loc) · 4.16 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:vds.IVdsServiceHba.QueryHbaPorts
IVdsServiceHba::QueryHbaPorts (vds.h)
Returns an IEnumVdsObject enumeration object containing a list of the HBA ports known to VDS on the local system.
IVdsServiceHba interface [VDS]
QueryHbaPorts method
IVdsServiceHba.QueryHbaPorts
IVdsServiceHba::QueryHbaPorts
QueryHbaPorts
QueryHbaPorts method [VDS]
QueryHbaPorts method [VDS]
IVdsServiceHba interface
base.ivdsservicehba_queryhbaports
vds/IVdsServiceHba::QueryHbaPorts
base\ivdsservicehba_queryhbaports.htm
base
2f81e5e9-5563-4435-8ecb-82f2c385c3dc
12/05/2018
IVdsServiceHba interface [VDS],QueryHbaPorts method, IVdsServiceHba.QueryHbaPorts, IVdsServiceHba::QueryHbaPorts, QueryHbaPorts, QueryHbaPorts method [VDS], QueryHbaPorts method [VDS],IVdsServiceHba interface, base.ivdsservicehba_queryhbaports, vds/IVdsServiceHba::QueryHbaPorts
vds.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 R2 [desktop apps only]
Windows
19H1
IVdsServiceHba::QueryHbaPorts
vds/IVdsServiceHba::QueryHbaPorts
c++
APIRef
kbSyntax
COM
Vds.h
IVdsServiceHba.QueryHbaPorts

IVdsServiceHba::QueryHbaPorts

-description

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Returns an IEnumVdsObject enumeration object containing a list of the HBA ports known to VDS on the local system.

-parameters

-param ppEnum [out]

The address of an IEnumVdsObject interface pointer that can be used to enumerate the HBA ports as HBA port objects. For more information, see Working with Enumeration Objects. Callers must release the interface and each of the HBA port objects when they are no longer needed by calling the IUnknown::Release method.

-returns

This method can return standard HRESULT values, such as E_INVALIDARG or E_OUTOFMEMORY, and VDS-specific return values. It can also return converted system error codes using the HRESULT_FROM_WIN32 macro. Errors can originate from VDS itself or from the underlying VDS provider that is being used. Possible return values include the following.

Return code/value Description
S_OK
The enumeration of HBA ports was returned successfully. If the local system has no HBA ports, the enumeration is empty.
VDS_E_INITIALIZED_FAILED
0x80042401L
VDS failed to initialize. If an application calls this method before the VDS service finishes initializing, the method is blocked until the initialization is complete. If the initialization fails, this error is returned.

-see-also

IEnumVdsObject

IVdsServiceHba