PVOID ScsiPortGetLogicalUnit(HwDeviceExtension, PathId, TargetId, Lun)
IN PVOID HwDeviceExtension;
IN UCHAR PathId;
IN UCHAR TargetId;
IN UCHAR Lun;
Provides access to logical-unit-specific data for a device on the bus.
This storage can be used by the HBA miniport driver to store per-logical-unit data, such as saved data pointers. The storage is initialized to zero.
The OS-specific port driver can consider a logical unit to be unequipped if there is no active request for the logical unit and the device has never been successfully selected.