StorPortGetSystemAddress function (storport.h)
The StorPortGetSystemAddress routine returns a virtual address in system space for the data buffer of the specified SCSI request block (SRB).
ULONG StorPortGetSystemAddress( [in] PVOID HwDeviceExtension, [in] PSCSI_REQUEST_BLOCK Srb, [out] PVOID *SystemAddress );
A pointer to the hardware device extension for the host bus adapter (HBA).
A pointer to a SCSI_REQUEST_BLOCK structure.
A pointer to receive the virtual address of the data buffer.
StorPortGetSystemAddress returns one of the following status codes:
||This function is not implemented on the active operating system.|
||Indicates that the system address was obtained successfully.|
This status code is caused by one of the following conditions:
The SRB does not have an associated data buffer.
The pointer to receive the virtual address is NULL.
||The call was made at an invalid IRQL.|
||The attempt to map the data buffer to system space failed.|
Starting in Windows 8, the Srb parameter may point to either SCSI_REQUEST_BLOCK or STORAGE_REQUEST_BLOCK. If the function identifier in the Function field of Srb is SRB_FUNCTION_STORAGE_REQUEST_BLOCK, the SRB is a STORAGE_REQUEST_BLOCK request structure.
|Minimum supported client||This routine is available starting with Windows Server 2003 with SP2.|
|Header||storport.h (include Storport.h)|
|DDI compliance rules||StorPortIrql(storport)|
Submit and view feedback for