HBA_LoadLibrary routine
The HBA_LoadLibrary routine loads and initializes the system-supplied fibre channel HBA API library.
Syntax
HBA_STATUS HBA_API HBA_LoadLibrary(void);
Parameters
This routine has no parameters.
Return value
The HBA_LoadLibrary routine returns a value of type HBA_STATUS that indicates the status of the HBA. In particular, HBA_LoadLibrary returns one of the following qualifiers.
Return code | Description |
---|---|
HBA_STATUS_OK | Returned if the library loaded properly. |
HBA_STATUS_ERROR_ALREADY_LOADED | Returned if the library is already loaded. |
HBA_STATUS_ERROR_INCOMPATIBLE | Returned if HBA_LoadLibrary discovered incompatibilities between the library and the associated HBA drivers. |
HBA_STATUS_ERROR | Returned if an unspecified error occurred that prevented the library from loading. |
Requirements
Target platform |
Desktop |
Header |
Hbaapi.h (include Hbaapi.h) |
Library |
Hbaapi.lib |
DLL |
Hbaapi.dll |
See also