VOID
ScsiPortCompleteRequest(
IN PVOID HwDeviceExtension,
IN UCHAR PathId,
IN UCHAR TargetId,
IN UCHAR Lun,
IN UCHAR SrbStatus
);
ScsiPortCompleteRequest completes all of the active requests for the given SCSI bus, controller, or LU, including a request being processed by the calling miniport routine.
ScsiPortCompleteRequest can be called to complete outstanding requests after a bus reset, a device reset, or an abort, rather than calling ScsiPortNotification for each outstanding request individually. After calling ScsiPortCompleteRequest, do not doubly complete by also calling ScsiPortNotification individually for each request.