The HBA_ADAPTER_CALLBACK routine prototype declares a user routine that notifies the user of adapter events.
typedef void (*HBA_ADAPTER_CALLBACK)( void *data, HBA_WWN PortWWN, HBA_UINT32 eventType );
Pointer to a buffer that contains data that the user provided when registering this callback routine and that is passed to the handler when the event occurs. This data can be used to correlate the event with the source of the event registration.
Contains a 64 bit world-wide name (WWN) that uniquely identifies the HBA from which adapter events are reported. The callback routine is called whenever an adapter event occurs for this HBA. For a discussion of worldwide names, see the T11 committee's Fibre Channel HBA API specification.
Indicates the event type. The values assigned to this member correspond to the values associated with the EVENT_TYPE_QUALIFIERS property qualifier.
|Hbaapi.h (include Hbaapi.h)|