Parameters

a pointer to the maximum number of events that can be stored in the HBA_EVENTINFO buffer. The value will be changed to the actual number of events placed in the buffer on completion.

Description

The HBA_GetEventBuffer() function retrieves events from the HBA's event queue. The number
of events returned is the lesser of EventBufferCount and the number of
events on the queue. The returned events are removed from the queue.

Return Values

Upon successful completion, HBA_STATUS_OK is returned. Otherwise, an error value is returned
and the value of EventBufferCount is undefined.