Funzione StorPortQueryConfiguration (storport.h)
Un miniport può chiamare StorPortQueryConfiguration per eseguire una query per la configurazione specifica della piattaforma.
Sintassi
ULONG StorPortQueryConfiguration(
PVOID HwDeviceExtension,
STORPORT_QUERY_CONFIGURATION_TYPE Type,
PBOOLEAN Enabled
);
Parametri
HwDeviceExtension
Puntatore all'estensione del dispositivo hardware per la scheda bus host (HBA).
Type
Valore di enumerazione STORPORT_QUERY_CONFIGURATION_TYPE che indica il tipo di configurazione da eseguire per la query.
Enabled
Puntatore a un valore BOOLEAN in cui il driver Storport restituirà uno dei valori seguenti.
Valore | Descrizione |
---|---|
TRUE | La configurazione specificata da Type è abilitata. |
FALSE | La configurazione specificata da Type non è abilitata. |
Valore restituito
StorPortQueryConfiguration restituisce uno dei codici di stato seguenti:
Codice restituito | Descrizione |
---|---|
STOR_STATUS_INVALID_PARAMETER | Enabled è NULL o il valore specificato in Type non è valido. |
STOR_STATUS_NOT_IMPLEMENTED | Questa funzione non viene implementata nel sistema operativo attivo. |
STOR_STATUS_SUCCESS | La query è stata completata correttamente. |
Requisiti
Requisito | Valore |
---|---|
Intestazione | storport.h |