// srb.h
PHW_ADAPTER_STATE PhwAdapterState;
BOOLEAN PhwAdapterState(
[in] PVOID DeviceExtension,
[in] PVOID Context,
[in] BOOLEAN SaveState
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
The PHW_INITIALIZE routine prototype declares a routine that saves or restores the state of the miniport driver's HBA.
DeviceExtension
[in]Pointer to the miniport driver's per-HBA storage area.
Context
[in]Reserved for system use.
SaveState
[in]Indicates, when TRUE, that the miniport driver should save the current state of the HBA until the HwScsiAdapterState routine is called again with SaveState set to FALSE to restore the saved state.
The routine declared by this prototype returns TRUE if it successfully saved or restored the HBA state, FALSE otherwise.
Only SCSI miniport drivers use this prototype. Miniport drivers that work with the StorPort driver do not use the routine that is declared by this prototype.
For more information about the routine declared by this prototype, see HwScsiAdapterState.