Save/Restore State (Required)

The HW_ADAPTER_STATE function is called after FindAdapter with the SaveState parameter set equal to TRUE, indicating adapter state should be saved, and called before Windows 95 exit with SaveState set equal to FALSE, indicating the adapter state should be restored. This is necessary to support "Start Real Mode" feature of Windows 95 for adapters on which the real mode driver controlling the adapter is sensitive to transition from protected mode to real mode.


typedef BOOLEAN (*PHW_ADAPTER_STATE) (
    IN PVOID DeviceExtension,
    IN PVOID Context,
    IN BOOLEAN SaveState  );