PHW_STARTIO 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_STARTIO PhwStartio;

BOOLEAN PhwStartio(
  [in] PVOID DeviceExtension,
  [in] PSCSI_REQUEST_BLOCK Srb
)
{...}

Parameters

[in] DeviceExtension

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

[in] Srb

Pointer to the SCSI request block to be started.

Return value

The start I/O routine returns TRUE to acknowledge receipt of the SCSI request block (SRB). If the start I/O routine does not receive a well-formed SRB, it returns FALSE.

Remarks

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

For more information about the SCSI miniport driver's start I/O routine see HwScsiStartIo.

For more information about the miniport driver's start I/O routine that is used with the StorPort driver see HwStorStartIo.

Requirements

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

See also

HwScsiStartIo

HwStorStartIo