PHW_INITIALIZE callback function (srb.h)

The PHW_INITIALIZE routine prototype declares a routine that initializes the miniport driver after a reboot or power failure occurs.

Syntax

PHW_INITIALIZE PhwInitialize;

BOOLEAN PhwInitialize(
  [in] PVOID DeviceExtension
)
{...}

Parameters

[in] DeviceExtension

Pointer to the miniport driver's per-HBA storage area.

Return value

If the operation succeeds, the initialization routine returns TRUE. Otherwise, the initialize routine returns FALSE.

Remarks

The initialization routine for both SCSI and StorPort miniport drivers are declared using this prototype.

For more information about the SCSI miniport driver initialization routine see HwScsiInitialize.

For more information about the miniport driver initialization routine that is used with the StorPort driver see HwStorInitialize.

Requirements

Requirement Value
Target Platform Desktop
Header srb.h (include Storport.h, Srb.h, Storport.h)

See also

HwScsiInitialize

HwStorInitialize