// iscsiop.h
typedef struct _MSiSCSI_AdapterEvent {
ULONGLONG UniqueAdapterId;
ULONG EventCode;
} MSiSCSI_AdapterEvent, *PMSiSCSI_AdapterEvent;
View the official Windows Driver Kit DDI referenceNo description available.
The MSiSCSI_AdapterEvent structure contains information that is reported whenever an adapter event occurs.
UniqueAdapterIdA 64-bit integer that uniquely identifies an HBA initiator and a loaded instance of a storage miniport driver that manages the HBA. The initiator should use the address of the adapter extension or another address that the device driver owns to construct this identifier (ID). The initiator reports this value in the UniqueAdapterId member of the MSiSCSI_HBAInformation structure.
EventCodeAn ISCSI_ADAPTER_EVENT_CODE enumeration value that indicates the type of adapter event that occurred.
The WMI tool suite automatically generates a declaration of the MSiSCSI_AdapterEvent structure when it compiles the MSiSCSI_AdapterEvent WMI Class in Operations.mof. You must implement this method if the adapter supports discovery.
MSiSCSI_AdapterEvent WMI Class