ScsiPortGetSrb
PSCSI_REQUEST_BLOCK ScsiPortGetSrb(DeviceExtension, PathId, TargetId, Lun, QueueTag)
IN PVOID DeviceExtension;
IN UCHAR PathId;
IN UCHAR TargetId;
IN UCHAR Lun;
IN LONG QueueTag;
Retrieves an active SCSI request for a particular logical unit.
- Returns a pointer to a request for the specified logical unit. If there is no outstanding request for the specified logical unit or if the QueueTag value is invalid, then NULL is returned.
- DeviceExtension
- Points to the miniport driver's storage for per-adapter data.
- PathId
- Identifies the SCSI bus.
- TargetId
- Identifies the target ID on the bus.
- Lun
- Identifies the logical unit number of the target device.
- QueueTag
- Specifies the queue tag if the request is tagged; SP_UNTAGGED indicates that the request is not tagged.