Export (0) Print
Expand All
Expand Minimize

HBA_GetFcpPersistentBinding routine

The HBA_GetFcpPersistentBinding routine retrieves the persistent bindings that are associated with the logical units that the HBA can enumerate.


HBA_STATUS HBA_API HBA_GetFcpPersistentBinding(
  _In_     HBA_HANDLE Handle,
  _Inout_  PHBA_FCPBINDING Binding


Handle [in]

Contains a value returned by the routine HBA_OpenAdapter that identifies the HBA to query for the bindings. The HBA returns bindings for the targets that it can enumerate.

Binding [in, out]

Contains a structure of type HBA_FCPBinding that holds an array of elements of type HBA_FCPBindingEntry, each of which holds a persistent binding between operating system and fibre channel protocol (FCP) identifiers for a logical unit. On input, the NumberOfEntries member of HBA_FCPBinding should contain the number of bindings that fit in the output buffer. On output, NumberOfEntries holds the number of entries actually returned, which is equal to the number specified on input, or the full set of available bindings, whichever is smaller. The value in NumberOfEntries will contain the number of persistent bindings returned even when an error occurred because of insufficient buffer space.

Return value

The HBA_GetFcpPersistentBinding routine returns a value of type HBA_STATUS that indicates the status of the HBA. In particular, HBA_GetFcpPersistentBinding returns one of the following qualifiers.

Return codeDescription

Returned if the persistent bindings were successfully retrieved.


Returned if the adapter referenced by HbaHandle does not support persistent binding.


Returned if a larger buffer is required to contain binding information.


Returned if an unspecified error occurred that prevented the retrieval of the persistent bindings.



The HBA_GetFcpPersistentBinding routine retrieves a set of bindings between operating system and fibre channel protocol (FCP) identifiers for the logical units that it can enumerate. These bindings persist across reboots of the operating system.



Hbaapi.h (include Hbaapi.h)



See also




Send comments about this topic to Microsoft

© 2014 Microsoft