SCSI_SUPPORTED_CONTROL_TYPE_LIST - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

typedef struct _SCSI_SUPPORTED_CONTROL_TYPE_LIST {
  ULONG   MaxControlType;
  BOOLEAN SupportedTypeList[0];
} SCSI_SUPPORTED_CONTROL_TYPE_LIST, *PSCSI_SUPPORTED_CONTROL_TYPE_LIST;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-storport-scsi_supported_control_type_list)

Description

SCSI_SUPPORTED_CONTROL_TYPE_LIST is the structure pointed to by the Parameters parameter when a miniport's HwStorUnitControl routine is called with a ControlType of ScsiQuerySupportedUnitControlTypes or HwStorAdapterControl routine is called with a ControlType of ScsiQuerySupportedControlTypes.

Members

MaxControlType

The number of entries in the SupportedTypeList array. A miniport's implementation needs to handle the case where the value of MaxControlType might be larger than the ScsiUnitControlMax (for unit control) or ScsiAdapterControlMax (for adapter control) value that the driver is compiled with.

SupportedTypeList

Points to a caller-allocated array of BOOLEAN values that indicate the unit or adapter control types implemented by the miniport driver. The port driver initializes each element to FALSE for both unit devices and adapters. The miniport driver must not set any element beyond SupportedTypeList[MaxControlType - 1]. See Remarks for additional details.

Remarks

When SCSI_SUPPORTED_CONTROL_TYPE_LIST is being used for unit control, the miniport driver sets the corresponding element in the SupportedTypeList array to TRUE for each operation it supports:

If a miniport indicates support for ScsiUnitQueryBusType or ScsiUnitQueryFruId, it must also call StorPortSetFeatureList with StorportFeatureBusTypeUnitControl or StorportFeatureFruIdUnitControl set, respectively.

When SCSI_SUPPORTED_CONTROL_TYPE_LIST is being used for adapter control, the miniport driver sets the corresponding element in the SupportedTypeList array to TRUE for each operation it supports:

If a miniport indicates support for ScsiAdapterQueryFruId or ScsiAdapterSetEventLogging, it must also call StorPortSetFeatureList with StorportFeatureFruIdAdapterControl or StorportFeatureSetEventLoggingAdapterControl set, respectively.

See also

HwStorAdapterControl

HwStorUnitControl

StorPortSetFeatureList