scsiwmi.h header

This header is used by storage. For more information, see:

scsiwmi.h contains the following programming interfaces:

Functions

 
ScsiPortWmiDispatchFunction

The ScsiPortWmiDispatchFunction routine is a dispatch routine for miniport drivers that support WMI.
ScsiPortWmiFireAdapterEvent

The ScsiPortWmiFireAdapterEvent routine sends an event associated with an adapter unit to the port driver for delivery to WMI data consumers that have requested notification of the event.Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
ScsiPortWmiFireLogicalUnitEvent

The ScsiPortWmiFireLogicalUnitEvent routine sends an event associated with a logical unit to the port driver for delivery to WMI data consumers that have requested notification of the event.Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
ScsiPortWmiGetInstanceName

The ScsiPortWmiGetInstanceName routine returns a pointer to the instance name associated with the indicated the Windows Management Instrumentation (WMI) SCSI Request Block (SRB).
ScsiPortWmiGetReturnSize

The ScsiPortWmiGetReturnSize routine indicates the number of bytes of data to be returned by a miniport driver for a WMI SRB.Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future.
ScsiPortWmiGetReturnStatus

The ScsiPortWmiGetReturnStatus routine returns the status of a WMI SRB.
ScsiPortWmiPostProcess

The ScsiPortWmiPostProcess routine updates a request context for a WMI SRB.Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future.
ScsiPortWmiSetData

The ScsiPortWmiSetData routine updates the WNODE_ALL_DATA structure within the request context to specify the position and length of the data for an instance.
ScsiPortWmiSetInstanceCount

The ScsiPortWmiSetInstanceCount specifies the number of instances for which data buffers must be set aside within the WNODE_ALL_DATA structure in the request context.
ScsiPortWmiSetInstanceName

The ScsiPortWmiSetInstanceName routine updates the WNODE_ALL_DATA structure within the request context to specify the position and length of an instance name.

Callback functions

 
PSCSIWMI_EXECUTE_METHOD

A miniport driver's HwScsiWmiExecuteMethod routine is called to execute a method associated with a data block.
PSCSIWMI_FUNCTION_CONTROL

A miniport driver's HwScsiWmiFunctionControl routine is called to enable or disable notification of events.
PSCSIWMI_QUERY_DATABLOCK

A miniport driver's HwScsiWmiQueryDataBlock routine is called to obtain either a single instance or all instances of a data block.
PSCSIWMI_QUERY_REGINFO

A miniport driver's HwScsiWmiQueryReginfo routine is called to obtain information about the data and event blocks to be registered on behalf of the miniport driver by the SCSI port driver.
PSCSIWMI_SET_DATABLOCK

A miniport driver's HwScsiWmiSetDataBlock routine is called to change all data items in a single instance of a data block.
PSCSIWMI_SET_DATAITEM

A miniport driver's HwScsiWmiSetDataItem routine is called to change a single data item in an instance of a data block.

Structures

 
SCSI_WMILIB_CONTEXT

A SCSI_WMILIB_CONTEXT structure provides registration information for a miniport driver's data and event blocks and defines entry points for the miniport driver's HwScsiWmiXxx callback routines.
SCSIWMI_REQUEST_CONTEXT

A SCSIWMI_REQUEST_CONTEXT structure contains context information for a WMI SRB.
SCSIWMIGUIDREGINFO

The SCSIWMIGUIDREGINFO structure contains information about a given data or event block supported by a SCSI miniport driver.

Enumerations

 
SCSIWMI_ENABLE_DISABLE_CONTROL

The SCSIWMI_ENABLE_DISABLE_CONTROL enumerator is used to specify what to enable or disable.