StorPortNotification for RequestComplete routine
A miniport uses the RequestComplete notification to indicate that the specified SRB request is complete.
VOID StorPortNotification( _In_ SCSI_NOTIFICATION_TYPE NotificationType, _In_ PVOID HwDeviceExtension, _In_ PSCSI_REQUEST_BLOCK Srb );
- NotificationType [in]
Specifies the RequestComplete notification type. The RequestComplete notification uses the additional parameter of Srb.
- HwDeviceExtension [in]
A pointer to the hardware device extension. This is a per HBA storage area that the port driver allocates and initializes on behalf of the miniport driver. Miniport drivers usually store HBA-specific information in this extension, such as the state of the HBA and the mapped access ranges for the HBA. This area is available to the miniport driver immediately after the miniport driver calls StorPortInitialize. The port driver frees this memory when it removes the device.
- Srb [in]
A pointer to the completed SCSI request block.
After this notification is sent, the Storport driver owns the request. The miniport driver must not attempt to access the request in Srb, and it must not pass Srb to another routine.
For information about the effects of other notification types, see StorPortNotification.
Build date: 5/17/2013