Condividi tramite


SCSI_SUPPORTED_CONTROL_TYPE_LIST struttura (storport.h)

SCSI_SUPPORTED_CONTROL_TYPE_LIST è la struttura a cui punta il parametro Parameters quando una routine HwStorUnitControl di un miniport viene chiamata con un controlloType di ScsiQuerySupportedUnitControlTypes o HwStorAdapterControl routine viene chiamato con un ControlloType di SCSIQuerySupportedControlTypes.

Sintassi

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

Members

MaxControlType

Numero di voci nella matrice SupportedTypeList . L'implementazione di un miniport deve gestire il caso in cui il valore di MaxControlType potrebbe essere maggiore del valore SCSIUnitControlMax (per il controllo unità) o SCSIAdapterControlMax (per il controllo della scheda) compilato dal driver.

SupportedTypeList[0]

Punta a una matrice allocata dal chiamante di valori BOOLEAN che indicano i tipi di controllo unità o adattatore implementati dal driver miniport. Il driver di porta inizializza ogni elemento su FALSE per dispositivi unità e adattatori. Il driver miniport non deve impostare alcun elemento oltre SupportedTypeList[MaxControlType - 1]. Per altri dettagli, vedere Osservazioni.

Commenti

Quando SCSI_SUPPORTED_CONTROL_TYPE_LIST viene usato per il controllo unità, il driver miniport imposta l'elemento corrispondente nella matrice SupportedTypeList su TRUE per ogni operazione supportata:

  • SupportedTypeList[SCSIQuerySupportedControlTypes]
  • SupportedTypeList[SCSIUnitUsage]
  • SupportedTypeList[SCSIUnitStart]
  • SupportedTypeList[SCSIUnitPower]
  • SupportedTypeList[SCSIUnitPoFxPowerInfo]
  • SupportedTypeList[SCSIUnitPoFxPowerRequired]
  • SupportedTypeList[SCSIUnitPoFxPowerActive]
  • SupportedTypeList[SCSIUnitPoFxPowerSetFState]
  • SupportedTypeList[SCSIUnitPoFxPowerControl]
  • SupportedTypeList[SCSIUnitRemove]
  • SupportedTypeList[SCSIUnitSurpriseRemoval]
  • SupportedTypeList[SCSIUnitRichDescription]
  • SupportedTypeList[SCSIUnitQueryBusType] (Windows 10 versione 20H1 e versioni successive)
  • SupportedTypeList[SCSIUnitQueryFruId] (Windows 10 versione 20H1 e versioni successive)

Se un miniport indica il supporto per SCSIUnitQueryBusType o SCSIUnitQueryFruId, deve anche chiamare StorPortSetFeatureList con StorportFeatureBusTypeUnitControl o StorportFeatureFruIdUnitControl impostato rispettivamente.

Quando SCSI_SUPPORTED_CONTROL_TYPE_LIST viene usato per il controllo adattatore, il driver miniport imposta l'elemento corrispondente nella matrice SupportedTypeList su TRUE per ogni operazione supportata:

  • SupportedTypeList[SCSIQuerySupportedControlTypes]
  • SupportedTypeList[SCSIStopAdapter]
  • SupportedTypeList[SCSIRestartAdapter]
  • SupportedTypeList[SCSISetBootConfig]
  • SupportedTypeList[SCSISetRunningConfig]
  • SupportedTypeList[SCSIPowerSettingNotification]
  • SupportedTypeList[SCSIAdapterPower]
  • SupportedTypeList[SCSIAdapterPoFxPowerRequired]
  • SupportedTypeList[SCSIAdapterPoFxPowerActive]
  • SupportedTypeList[SCSIAdapterPoFxPowerSetFState]
  • SupportedTypeList[SCSIAdapterPoFxPowerControl]
  • SupportedTypeList[SCSIAdapterPrepareForBusReScan]
  • SupportedTypeList[SCSIAdapterSystemPowerHints]
  • SupportedTypeList[SCSIAdapterFilterResourceRequirements]
  • SupportedTypeList[SCSIAdapterPoFxMaxOperationalPower]
  • SupportedTypeList[SCSIAdapterPoFxSetPerfState]
  • SupportedTypeList[SCSIAdapterSurpriseRemoval]
  • SupportedTypeList[SCSIAdapterSerialNumber]
  • SupportedTypeList[SCSIAdapterCryptoOperation]
  • SupportedTypeList[SCSIAdapterQueryFruId]
  • SupportedTypeList[SCSIAdapterSetEventLogging]

Se un miniport indica il supporto per SCSIAdapterQueryFruId o SCSIAdapterSetEventLogging, deve anche chiamare StorPortSetFeatureList con StorportFeatureFruIdAdapterControl o StorportFeatureSetEventLoggingAdapterControl impostato rispettivamente.

Requisiti

Requisito Valore
Client minimo supportato Windows 8
Intestazione Storport.h

Vedi anche

HwStorAdapterControl

HwStorUnitControl

StorPortSetFeatureList