Funzione StorPortIsDriverHotSwapEnabled (storport.h)
Un driver miniport chiama la funzione StorPortIsDriverHotSwapEnabled per determinare se lo scambio frequente del driver è abilitato nel kernel.
Sintassi
ULONG StorPortIsDriverHotSwapEnabled(
PVOID HwDeviceExtension,
PVOID DriverObject
);
Parametri
HwDeviceExtension
[in] Puntatore all'estensione del dispositivo hardware per la scheda bus host (HBA).
DriverObject
[in] Puntatore all'oggetto driver.
Valore restituito
StorPortIsDriverHotSwapEnabled restituisce un STOR_STATUS_SUCCESS se lo scambio frequente del driver è abilitato. In caso contrario, restituisce un valore, ad esempio:
Valore restituito | Descrizione |
---|---|
STOR_STATUS_INVALID_PARAMETER | L'oggetto driver è NULL. |
STOR_STATUS_NOT_IMPLEMENTED | Questa funzione non viene implementata nel sistema operativo attivo. |
Fabbisogno
Requisito | Valore |
---|---|
client minimo supportato | Windows 11, versione 24H2 |
intestazione | storport.h |