Bewerken

Delen via


MSiSCSI_AdapterEvent structure (iscsiop.h)

The MSiSCSI_AdapterEvent structure contains information that is reported whenever an adapter event occurs.

Syntax

typedef struct _MSiSCSI_AdapterEvent {
  ULONGLONG UniqueAdapterId;
  ULONG     EventCode;
} MSiSCSI_AdapterEvent, *PMSiSCSI_AdapterEvent;

Members

UniqueAdapterId

A 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.

EventCode

An ISCSI_ADAPTER_EVENT_CODE enumeration value that indicates the type of adapter event that occurred.

Remarks

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.

Requirements

Requirement Value
Header iscsiop.h (include Iscsiop.h)

See also

ISCSI_ADAPTER_EVENT_CODE

MSiSCSI_AdapterEvent WMI Class

MSiSCSI_HBAInformation