StorPortSetDeviceQueueDepth function (storport.h)
The StorPortSetDeviceQueueDepth routine sets the maximum depth of the device queue for the indicated device.
STORPORT_API BOOLEAN StorPortSetDeviceQueueDepth( [in] PVOID HwDeviceExtension, [in] UCHAR PathId, [in] UCHAR TargetId, [in] UCHAR Lun, [in] ULONG Depth );
A pointer to the miniport driver's per-HBA storage area.
Contains the path ID of the target device.
Contains the device number of the target device.
Contains the logical unit number of the target device.
Supplies the depth to which the queue is to be set. This value is always > 0.
StorPortSetDeviceQueueDepth returns TRUE if the queue depth was successfully set, or FALSE if the operation failed.
Before the first call to StorPortSetDeviceQueueDepth, the device queue depth is set to the default value.
The StorPortSetDeviceQueueDepth routine should be called when the miniport driver receives the first SCSI Inquiry command for the specified LUN, or at any time thereafter (but not before), as long as the LUN is valid.
|Header||storport.h (include Storport.h)|
Submit and view feedback for