// hbapiwmi.h
void GetEventBuffer(
[out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus,
[out] uint32 EventCount,
[out, WmiSizeIs("EventCount")] MSFC_EventBuffer Events[]
);
View the official Windows hardware development documentationNo description available.
The GetEventBuffer WMI method retrieves the next events in the HBA's event queue.
HBAStatus On return, contains a WMI qualifier value that indicates the status of the operation. For a list of allowed values and their descriptions, see HBA_STATUS. The miniport driver returns this information in the HBAStatus member of a GetEventBuffer_OUT structure.
EventCount On return, indicates the number of events whose information was retrieved. The miniport driver returns this information in the EventCount member of a GetEventBuffer_OUT structure.
Events[] An array of structures of type MSFC_EventBuffer that contain information about the next events in the HBA event queue. The miniport driver returns this information in the Events member of a GetEventBuffer_OUT structure.
Not applicable to WMI methods.
The GetEventBuffer method removes events from the queue after retrieving their information.
This WMI method belongs to the MSFC_HBAAdapterMethods WMI Class.
| Target platform | Desktop |
| Header | Hbapiwmi.h (include Hbapiwmi.h, Hbaapi.h, or Hbaapi.h) |
| Library | Hbaapi.lib |