HBA_GetWrapperLibraryAttributes routine
The HBA_GetWrapperLibraryAttributes routine retrieves the attributes of the fibre channel HBA API library that are operating system-specific.
Syntax
HBA_UINT32 HBA_API HBA_GetWrapperLibraryAttributes(
_Out_ HBA_LIBRARYATTRIBUTES *Attributes
);
Parameters
- Attributes [out]
Pointer, on return, to a structure of type HBA_LibraryAttributes that holds the attributes of the wrapper library.
Return value
The HBA_GetWrapperLibraryAttributes routine returns a value that indicates the version of the specification with which the library is compliant. A value of 1 indicates version 1 of the specification. A value of 2 indicates version 2 of the specification. All other values are reserved until the future versions of the specification are published.
Remarks
The HBA_GetWrapperLibraryAttributes routine, as defined by the T11 committee's Fibre Channel HBA API specification, retrieves information about a system-supplied HBA API library, and the related routine HBA_GetVendorLibraryAttributes reports the characteristics of a system-supplied wrapper library that works with the vendor library to provide the fibre channel HBA API.
In particular, the HBA_GetWrapperLibraryAttributes routine allows the caller to determine whether a compatible library is installed.
Microsoft supplies both libraries, so currently they return the same information.
Requirements
Target platform |
Desktop |
Header |
Hbaapi.h (include Hbaapi.h) |
Library |
Hbaapi.lib |
DLL |
Hbaapi.dll |
See also
HBA_GetVendorLibraryAttributes