HBA_GetNumberOfAdapters routine

The HBA_GetNumberOfAdapters routine returns the number of HBAs supported by the library.

Syntax

HBA_UINT32 HBA_API HBA_GetNumberOfAdapters(void);

Parameters

This routine has no parameters.

Return value

The HBA_GetNumberOfAdapters routine returns the number of adapters supported by this library. If no adapters are supported, HBA_GetNumberOfAdapters returns 0.

Remarks

The HBA_GetNumberOfAdapters routine allows the caller to dynamically determine the size of the HBA inventory without having to restart the system, the HBA drivers, or the library.

Requirements

Target platform

Desktop

Header

Hbaapi.h (include Hbaapi.h)

Library

Hbaapi.lib

DLL

Hbaapi.dll

 

 

Send comments about this topic to Microsoft