StorPortGetDataInBufferScatterGatherList - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

ULONG StorPortGetDataInBufferScatterGatherList(
  [in]  PVOID                     HwDeviceExtension,
  [in]  PSCSI_REQUEST_BLOCK       Srb,
  [out] PSTOR_SCATTER_GATHER_LIST *SgList
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-storport-storportgetdatainbufferscattergatherlist)

StorPortGetDataInBufferScatterGatherList function

Description

Returns the scatter-gather list associated with the input data buffer of a SCSI request block (SRB).

Parameters

HwDeviceExtension [in]

A pointer to the hardware device extension for the host bus adapter (HBA).

Srb [in]

The request block to containing the input data buffer for the scatter-gather list.

SgList [out]

A pointer to a scatter-gather list structure address to receive the scatter-gather list for the input data buffer in Srb.

Return value

A status value indicating the result of the notification. This can be one of these values:

Return code Description
STOR_STATUS_SUCCESS The scatter-gather list for Srb was successfully returned.
STOR_STATUS_INVALID_PARAMETER The pointer value in SgList is NULL.

See also

StorPortGetDataInBufferMdl

StorPortGetDataInBufferSystemAddress